Merge lp:~heut2008/charms/trusty/nova-cloud-controller/fix-vip-issue into lp:~openstack-charmers-archive/charms/trusty/nova-cloud-controller/next

Proposed by Yaguang Tang
Status: Merged
Merged at revision: 91
Proposed branch: lp:~heut2008/charms/trusty/nova-cloud-controller/fix-vip-issue
Merge into: lp:~openstack-charmers-archive/charms/trusty/nova-cloud-controller/next
Diff against target: 17 lines (+7/-0)
1 file modified
hooks/nova_cc_hooks.py (+7/-0)
To merge this branch: bzr merge lp:~heut2008/charms/trusty/nova-cloud-controller/fix-vip-issue
Reviewer Review Type Date Requested Status
OpenStack Charmers Pending
Review via email: mp+228974@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hooks/nova_cc_hooks.py'
2--- hooks/nova_cc_hooks.py 2014-07-29 12:25:27 +0000
3+++ hooks/nova_cc_hooks.py 2014-07-31 02:08:35 +0000
4@@ -536,6 +536,13 @@
5 if not clustered or clustered in [None, 'None', '']:
6 log('ha_changed: hacluster subordinate not fully clustered.')
7 return
8+
9+ CONFIGS.write(NOVA_CONF)
10+ if network_manager() == 'quantum':
11+ CONFIGS.write(QUANTUM_CONF)
12+ if network_manager() == 'neutron':
13+ CONFIGS.write(NEUTRON_CONF)
14+
15 if not is_leader(CLUSTER_RES):
16 log('ha_changed: hacluster complete but we are not leader.')
17 return

Subscribers

People subscribed via source and target branches