Merge lp:~cbjchen/charms/trusty/nova-compute/my_ip_setting into lp:~openstack-charmers-archive/charms/trusty/nova-compute/next
Proposed by
Liang Chen
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Edward Hope-Morley | ||||
Approved revision: | 88 | ||||
Merged at revision: | 91 | ||||
Proposed branch: | lp:~cbjchen/charms/trusty/nova-compute/my_ip_setting | ||||
Merge into: | lp:~openstack-charmers-archive/charms/trusty/nova-compute/next | ||||
Diff against target: |
104 lines (+33/-2) 5 files modified
hooks/nova_compute_context.py (+18/-1) hooks/nova_compute_utils.py (+3/-1) templates/havana/nova.conf (+1/-0) templates/juno/nova.conf (+1/-0) unit_tests/test_nova_compute_contexts.py (+10/-0) |
||||
To merge this branch: | bzr merge lp:~cbjchen/charms/trusty/nova-compute/my_ip_setting | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Edward Hope-Morley | Approve | ||
Review via email: mp+241975@code.launchpad.net |
Description of the change
The default value for my_ip can be problematic. The ip address assocated with the NIC leading to the default gateway may not be the desired one for openstack service communication. Setting it to the unit private-address, so that all the inter service communications use the same network - we alreay use the unit private-address as service endpoint IPs. This patch creates a dedicate context for the host_ip, because it doesn't seem to naturally fit into any existing ones.
To post a comment you must log in.
UOSCI bot says:
charm_lint_check #1108 nova-compute-next for cbjchen mp241975
LINT OK: passed
LINT Results (max last 5 lines): neutron- security- groups has no default value
I: config.yaml: option os-data-network has no default value
I: config.yaml: option config-flags has no default value
I: config.yaml: option instances-path has no default value
W: config.yaml: option disable-
I: config.yaml: option migration-auth-type has no default value
Full lint test output: http:// paste.ubuntu. com/9057630/ 10.98.191. 181:8080/ job/charm_ lint_check/ 1108/
Build: http://