cinder "forgets" about ceph following upgrade from ~15.04 to 17.11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Cinder Charm |
Fix Released
|
High
|
Craige McWhirter |
Bug Description
Following an upgrade of a ~15.04 environment to 17.11, cinder (originally r91, revision-id: <email address hidden>) stopped working. I could no longer create, delete, detach, or attach volumes. Although cinder is related to ceph and block-devices is set to "None", following the upgrade, the service was configured to use a non-existent "LVM" backend definition:
root@juju-
enabled_backends = LVM
root@juju-
[DEFAULT]
[keystone_
[database]
root@juju-
The Ceph configuration was still present in the "DEFAULT" section, and simply commenting out "enabled_backends = LVM" and restarting the cinder services made it work again, but of course Juju may revert this at any time.
At first I thought I was required to deploy cinder-ceph following the upgrade, and although this restored cinder to life, as far as I can tell from reading the charm release notes and consulting https:/
If attempting to reproduce, run the following (adjusted as needed to match the cinder config) before upgrading cinder to 17.11. The version of the charmhelpers code as used in 15.04 did not set request-id as expected and required by the later versions, and so the 17.11 version of the ceph charm will not process the request.
juju run --unit cinder/0 'relation-set -r $(relation-ids ceph) broker_
I also tried breaking and remaking the cinder<->ceph relation, to no effect.
tags: | added: canonical-is-ps45-1711-upgrade |
tags: | added: canonical-bootstack |
Changed in charm-cinder: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Craige McWhirter (craige) |
status: | Triaged → In Progress |
Changed in charm-cinder: | |
milestone: | none → 18.05 |
Changed in charm-cinder: | |
status: | Fix Committed → Fix Released |
This also affects a fresh icehouse deploy with the 17.11 charms.
Here's a fix (I forgot, yet again, that changes go through Gerrit. I'll look into that): https:/ /github. com/openstack/ charm-cinder/ pull/2