Fix availability zone API tests
Currently, if you run the availability zone API tests when not using
the no-op drivers, the API tests will fail as they had hard-coded
availability zone names that do not exist.
Since creating availability zones requires reconfiguration of the nova
host deployments, it is not practical to create nova availability zones
for these tests.
This patch adds tempest configuration settings for the required
availability zones, and if not configured will skip the tests that
require the availability zones be present.
Change-Id: I53d5d33ae9a181b79e1d971d56452eeee5dd7759
diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml
index 38b2d04..392471a 100644
--- a/zuul.d/jobs.yaml
+++ b/zuul.d/jobs.yaml
@@ -365,6 +365,11 @@
"$TEMPEST_CONFIG":
load_balancer:
test_with_noop: True
+ # AZ API tests with no-op need AZs configured but they do not
+ # need to actually exist in Nova due to the no-op driver.
+ availability_zone: bogus-az-1
+ availability_zone2: bogus-az-2
+ availability_zone3: bogus-az-3
post-config:
$OCTAVIA_CONF:
controller_worker: