From 71bd10e45197a405cd497c8923db7442bde14a95 Mon Sep 17 00:00:00 2001 From: Pavan Kesava Rao Date: Mon, 19 Jul 2021 13:33:42 -0400 Subject: [PATCH] Enable tempest tests for hostname sanitization Starting Wallaby release, nova sanitizes instance hostnames having freeform characters with dashes. It should be tested in Devstack. Depends-On: https://review.opendev.org/c/openstack/tempest/+/795699 Change-Id: I54794e58b67620c36e8f2966ec3b62dd24da745b --- lib/tempest | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/tempest b/lib/tempest index 4eacfa09ca..095361d4f4 100644 --- a/lib/tempest +++ b/lib/tempest @@ -419,6 +419,9 @@ function configure_tempest { iniset $TEMPEST_CONFIG compute-feature-enabled live_migrate_back_and_forth ${LIVE_MIGRATE_BACK_AND_FORTH:-False} iniset $TEMPEST_CONFIG compute-feature-enabled attach_encrypted_volume ${ATTACH_ENCRYPTED_VOLUME_AVAILABLE:-True} + # Starting Wallaby, nova sanitizes instance hostnames having freeform characters with dashes + iniset $TEMPEST_CONFIG compute-feature-enabled hostname_fqdn_sanitization True + if [[ -n "$NOVA_FILTERS" ]]; then iniset $TEMPEST_CONFIG compute-feature-enabled scheduler_enabled_filters ${NOVA_FILTERS} fi