Reviewed: https://review.openstack.org/300657 Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=d6b083afb69eb7e2ee40069771b690bc7a6d40a4 Submitter: Jenkins Branch: stable/mitaka
commit d6b083afb69eb7e2ee40069771b690bc7a6d40a4 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 (cherry picked from commit 792e2c1f26de6782879eefdccfcce242c35dff80)
Reviewed: https:/ /review. openstack. org/300657 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=d6b083afb69 eb7e2ee40069771 b690bc7a6d40a4
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit d6b083afb69eb7e 2ee40069771b690 bc7a6d40a4 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 2879eefdccfcce2 42c35dff80)
Closes-Bug: #1563643
(cherry picked from commit 792e2c1f26de678