Drop AVAILABILITY_ZONE 38/122638/1
authorMohammed Naser <mnaser@vexxhost.com>
Wed, 14 Jul 2021 16:31:58 +0000 (12:31 -0400)
committerMohammed Naser <mnaser@vexxhost.com>
Wed, 14 Jul 2021 16:39:23 +0000 (12:39 -0400)
By default, OpenStack will schedule you into the right availablity
zone that has capacity, hard coding this can potentially result in
not being able to provision new virtual machines.

This patch drops the hard-wired value and lets Nova on the
scheduling size pick the correct availability zone.

Issue-ID: CIMAN-407
Change-Id: I4524c3c48595f79c903f159a81e3bb138dd9e9d0
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
jenkins-config/clouds/openstack/cattle/cloud.cfg
packer/templates/helm.json
packer/templates/memcached.json
packer/templates/redis.json

index 5695a77..b82693f 100644 (file)
@@ -14,7 +14,6 @@ INSTANCE_CAP=75
 SANDBOX_CAP=4
 FLOATING_IP_POOL=
 SECURITY_GROUPS=default
-AVAILABILITY_ZONE=ca-ymq-2
 STARTUP_TIMEOUT=600000
 KEY_PAIR_NAME=jenkins
 NUM_EXECUTORS=1
index 93f9161..9568c01 100644 (file)
@@ -25,7 +25,6 @@
       "tenant_name": "{{user `cloud_tenant`}}",
       "domain_name": "Default",
       "region": "ca-ymq-1",
-      "availability_zone": "ca-ymq-2",
       "networks": [
         "{{user `cloud_network`}}"
       ],
index cd6daee..6cdab9d 100644 (file)
@@ -24,7 +24,6 @@
       "tenant_name": "{{user `cloud_tenant`}}",
       "domain_name": "Default",
       "region": "ca-ymq-1",
-      "availability_zone": "ca-ymq-2",
       "networks": [
         "{{user `cloud_network`}}"
       ],
index b52a8ac..6bf7b17 100644 (file)
@@ -24,7 +24,6 @@
       "tenant_name": "{{user `cloud_tenant`}}",
       "domain_name": "Default",
       "region": "ca-ymq-1",
-      "availability_zone": "ca-ymq-2",
       "networks": [
         "{{user `cloud_network`}}"
       ],