[Bug 1665272] Re: cinder-volume fails to start in Ocata when no backend is connected

Liam Young liam.young at canonical.com
Thu Feb 16 14:53:54 UTC 2017


I've looked into this and it seems more involved than I had first
thought. The requirement to use enabled_backends causes volumes to be
created with a different os-vol-host-attr:host. If a cloud is upgraded
to Ocata any existing volumes will have an invalid os-vol-host-
attr:host. The existing volumes need to have that attribute updated via
cinder-manage *1


*1 https://docs.openstack.org/admin-guide/blockstorage-multi-backend.html#enable-multiple-storage-back-ends

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to cinder in Juju Charms Collection.
Matching subscriptions: charm-bugs
https://bugs.launchpad.net/bugs/1665272

Title:
  cinder-volume fails to start in Ocata when no backend is connected

Status in cinder package in Juju Charms Collection:
  Confirmed

Bug description:
  When deploying the cinder charm using Ocata and no backend charm
  connected, the cinder-volume service fails to start. Error from
  cinder-volume.log:

  Configuration for cinder-volume does not specify "enabled_backends". Using DEFAULT section to configure drivers is not supported since Ocata.
  No volume service(s) started successfully, terminating.

  The charm eventually reports the dead services via juju status:

  Services not running that should be: cinder-volume

  The easiest way to see this is to run the amulet test tests/gate-
  basic-xenial-ocata. It fails with

  2017-02-16 09:17:07,356 create_cinder_volume DEBUG: Creating cinder volume...
  2017-02-16 09:17:14,114 resource_reaches_status DEBUG: Volume status wait status check: 0 [creating:available] 0974c72f-e88d-40c2-a00a-effa49abee9f
  2017-02-16 09:17:18,304 resource_reaches_status DEBUG: Volume status wait status check: 1 [error:available] 0974c72f-e88d-40c2-a00a-effa49abee9f
  ....
  2017-02-16 09:19:19,590 resource_reaches_status DEBUG: Volume status wait:  expected, actual status = error, available
  2017-02-16 09:19:19,590 resource_reaches_status DEBUG: 0974c72f-e88d-40c2-a00a-effa49abee9f never reached expected status: available

To manage notifications about this bug go to:
https://bugs.launchpad.net/charms/+source/cinder/+bug/1665272/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list