Fix hypervisor count for all-in-one devstack 36/54536/2
authorJamo Luhrsen <jluhrsen@redhat.com>
Fri, 7 Apr 2017 19:21:40 +0000 (12:21 -0700)
committerJamo Luhrsen <jluhrsen@redhat.com>
Mon, 10 Apr 2017 20:38:31 +0000 (13:38 -0700)
Change-Id: If1bf653c2a2981a5395e52660d83c19948781990
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
jjb/integration/include-raw-integration-deploy-openstack-run-test.sh
jjb/releng-defaults.yaml

index fd0d97e80be8f3605e40a30f6cd47c57b097a2f2..427bcbc996bb781fd1a700ce7b9db601d1abbeb0 100644 (file)
@@ -643,7 +643,7 @@ do
     # will be the same as the number of openstack systems. However, if we are doing multinode openstack then the
     # assumption is we have a single control node and the rest are compute nodes, so the number of expected hypervisors
     # is one less than the total number of openstack systems
-    if [ $((NUM_OPENSTACK_SYSTEM / NUM_OPENSTACK_SITES - 1)) -eq 1 ]; then
+    if [ $((NUM_OPENSTACK_SYSTEM / NUM_OPENSTACK_SITES)) -eq 1 ]; then
         expected_num_hypervisors=1
     else
         expected_num_hypervisors=${NUM_COMPUTES_PER_SITE}
index 456f8b959f690a2304b45c4c196502b1c4f913a2..a9cc262db39e4e16bbffe9461d407cfc060b7754 100644 (file)
@@ -9,7 +9,6 @@
     # Timeout in minutes
     build-timeout: 360
     build-node: centos7-java-builder-2c-8g
-    num-openstack-sites: 1
 
     email-recipients: 'jenkins@lists.opendaylight.org'
     odl-ml2-driver-repo: 'https://github.com/openstack/networking-odl'
     devstack-lbaas-plugin-repo: 'https://github.com/openstack/neutron-lbaas'
     server-name: 'OpenDaylight'
     git-url: 'ssh://jenkins-$SILO@git.opendaylight.org:29418'
-    ipsec-vxlan-tunnels-enabled: 'no'
 
-    public-bridge: 'br-physnet1'
-    public-physical-network: 'physnet1'
-    odl-enable-l3: 'yes'
-    odl-ml2-driver-version: 'v1'
-    odl-ml2-port-binding: 'network-topology'
-    enable-openstack-plugins: 'networking-odl'
-    enable-openstack-services: 'q-svc,q-dhcp,q-meta,n-cauth,tempest'
+    # defaults for parameters installing openstack for csit jobs
+    create-initial-networks: 'False'
+    disable-odl-l3-service-plugin: 'no'
     disable-openstack-services: 'swift,cinder,n-net,q-vpn,n-cpu'
     enable-networking-l2gw: 'no'
+    enable-openstack-plugins: 'networking-odl'
+    enable-openstack-services: 'q-svc,q-dhcp,q-meta,n-cauth,tempest'
+    ipsec-vxlan-tunnels-enabled: 'no'
     lbaas-service-provider: ''
-    create-initial-networks: 'False'
-    tenant-network-type: 'vxlan'
+    num-openstack-sites: 1
+    odl-enable-l3: 'yes'
+    odl-ml2-driver-version: 'v1'
+    odl-ml2-port-binding: 'network-topology'
+    public-bridge: 'br-physnet1'
+    public-physical-network: 'physnet1'
     security-group-mode: 'none'
+    tenant-network-type: 'vxlan'
 
     # openstack-infra-parameters defaults
     archive-artifacts: ''