Reviewed: https://review.openstack.org/299219 Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=792e2c1f26de6782879eefdccfcce242c35dff80 Submitter: Jenkins Branch: master
commit 792e2c1f26de6782879eefdccfcce242c35dff80 Author: Jeffrey Zhang <jeffrey.zhang@99cloud.net> Date: Wed Mar 30 16:57:42 2016 +0800
Fix the nova reconfigure in the multinode env
Checking the fix condition first in the when clause rather than the dynamic condition. Otherwise it will raise issue, especially in multinode env.
For example use
when: - nova_console == 'novnc' - inventory_hostname in groups['nova-novncproxy']
rather than
when: - inventory_hostname in groups['nova-novncproxy'] - nova_console == 'novnc'
Because the nova-novncproxy groups may do not exist.
Change-Id: I1e76ee239908a17a4c2ffd9a18c570fbc485172e Closes-Bug: #1563643
Reviewed: https:/ /review. openstack. org/299219 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=792e2c1f26d e6782879eefdccf cce242c35dff80
Committed: https:/
Submitter: Jenkins
Branch: master
commit 792e2c1f26de678 2879eefdccfcce2 42c35dff80 zhang@99cloud. net>
Author: Jeffrey Zhang <jeffrey.
Date: Wed Mar 30 16:57:42 2016 +0800
Fix the nova reconfigure in the multinode env
Checking the fix condition first in the when clause rather than the
dynamic condition. Otherwise it will raise issue, especially in
multinode env.
For example use
when: 'nova-novncprox y']
- nova_console == 'novnc'
- inventory_hostname in groups[
rather than
when: 'nova-novncprox y']
- inventory_hostname in groups[
- nova_console == 'novnc'
Because the nova-novncproxy groups may do not exist.
Change-Id: I1e76ee239908a1 7a4c2ffd9a18c57 0fbc485172e
Closes-Bug: #1563643