Subordinate charms unable to install nova-api-metadata with Neutron.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-compute (Juju Charms Collection) |
Fix Released
|
High
|
Liam Young |
Bug Description
I'm developing Juju charms for Calico, an SDN compatible with OpenStack. We've found a problem where a change to the upstream nova-compute charm has broke our metadata for Juno / Kilo.
We use the nova-api-metadata package to serve metadata to VMs (and our charm (a subordinate of nova-compute) installs it), but we use Neutron and don't run any neutron metadata proxies. This is because we don't encapsulate any VM traffic, so we don't need the proxy to unencapsulate. The proxy is responsible for setting up the X-Instance-ID etc. headers in the metadata request, which are required by nova-api-metadata if it's configured with 'service_
The neutron_
Essentially, we can't get nova-compute to install nova-api-metadata for us, because setting the shared-secret on the relation which makes it do so also causes the charm to configure it in a way that won't work (service_
Is it valid for the nova-compute charm to uninstall packages that another charm installed?
Related branches
- James Page: Approve
- Matt Dupre (community): Approve
-
Diff: 75 lines (+37/-4)2 files modifiedhooks/nova_compute_hooks.py (+10/-3)
unit_tests/test_nova_compute_hooks.py (+27/-1)
Changed in nova-compute (Juju Charms Collection): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Liam Young (gnuoy) |
milestone: | none → 16.01 |
Changed in nova-compute (Juju Charms Collection): | |
status: | Confirmed → In Progress |
Changed in nova-compute (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in nova-compute (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Hi Matt, /code.launchpad .net/~gnuoy/ charms/ trusty/ nova-compute/ 1515570/ +merge/ 277556 ) and let me know if it fixes this for you? If so I'll go ahead and get it landed.
I've created a branch which lets the subordinate pass 'enable-metadata: True' to the nova-compute charm which will stop it from purging the package. Could you take a look at the attached merge proposal ( https:/
Thanks
Liam