Ceph-relation-joined hook error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| nova-compute (Juju Charms Collection) |
High
|
David Ames |
Bug Description
Ceph-relation-
This error occurs when the ceph-relation-
*** To replicate this issue, add a relation from nova-compute to ceph, or make a call to get_os_
*** To remedy this issue I have corrected the package name being passed to get_os_
See below.
Related branches
- David Ames: Approve on 2015-10-26
- Antonio Rosales: Pending requested 2015-10-23
- Ryan Beisner: Pending requested 2015-10-23
- James Page: Pending requested 2015-10-23
-
Diff: 12 lines (+1/-1)1 file modifiedhooks/nova_compute_context.py (+1/-1)
- Liam Young: Approve on 2015-11-23
-
Diff: 12 lines (+1/-1)1 file modifiedhooks/nova_compute_context.py (+1/-1)
tags: | added: nova-compute openstack storage |
james beedy (jamesbeedy) wrote : | #1 |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
summary: |
- Assert_libvirt_imagebackend_allowed passes incorrect package to - get_os_codename_package + Ceph-relation-joined hook error |
description: | updated |
Changed in nova-compute (Juju Charms Collection): | |
assignee: | nobody → David Ames (thedac) |
status: | New → Confirmed |
Changed in nova-compute (Juju Charms Collection): | |
status: | Confirmed → Fix Committed |
David Ames (thedac) wrote : | #2 |
James,
Thanks for reporting this bug and going above and beyond to propose solutions to it!
I have merged your nova-compute MP as this is the correct solution to Bug #1509267. The bug is now set to Fix committed.
I am however going to reject the charm-helpers MP. We use PACKAGE_CODENAMES OPENSTACK_CODENAMES for different types of of versions strings. OPENSTACK_CODENAMES has versions like '2015.2' where PACKAGE_CODNAMES has versions like '12.0.0'. The code in charmhelpers.
james beedy (jamesbeedy) wrote : | #3 |
David,
Got it....on that note, what I'm wondering is a) how return OPENSTACK_
james beedy (jamesbeedy) wrote : | #4 |
Ooooh I see a better fix! Here it comes!
David Ames (thedac) wrote : | #5 |
"on that note, what I'm wondering is a) how return OPENSTACK_
This is the crux of the issue. With version 12.0.0 we will never get to line 260 and OPENSTACK_
This is why your nova-compute MP was the correct solution.
james beedy (jamesbeedy) wrote : | #6 |
Ok, I see this now. Thank you!
Changed in nova-compute (Juju Charms Collection): | |
importance: | Undecided → High |
milestone: | none → 16.01 |
tags: | added: backport-potential |
James Page (james-page) wrote : | #7 |
Fix cherry picked and pushed to stable charm - should hit the charm-store in the next hour or so.
Changed in nova-compute (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Apply these to resolve the issue:
https:/ /code.launchpad .net/~jamesbeed y/charm- helpers/ touch-up- indexing/ +merge/ 275510
https:/ /code.launchpad .net/~jamesbeed y/charms/ trusty/ nova-compute/ fix-ceph- relation- joined/ +merge/ 275511