[Bug 1476419] Re: LVM setup fails with cryptic error message if no devices are configured

James Page james.page at ubuntu.com
Wed Sep 27 16:13:07 UTC 2017


** Changed in: charm-cinder
       Status: New => Triaged

** Changed in: charm-cinder
   Importance: Undecided => Medium

-- 
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/1476419

Title:
  LVM setup fails with cryptic error message if no devices are
  configured

Status in OpenStack cinder charm:
  Triaged
Status in cinder package in Juju Charms Collection:
  Invalid

Bug description:
  This is hit if no existing cinder-volumes VG is present, and the
  devices configured for use in the deployment have existing partition
  tables and 'overwrite' is set to false.  The test for 'vg_found is
  False and len(new_devices) >' 0 will be false, no volume group will be
  created, and the vgreduce call will fail with this error:

  Volume group "cinder-volumes" not found

  Traceback: http://pastebin.ubuntu.com/11911587/

  Workaround: This issue can also be avoided by setting the cinder
  charm's 'overwrite' config field to 'True'.

  Suggested fix: the charm should check for the condition where no valid
  devices are available and no volume group will be created, and should
  raise an error indicating this before moving on with setup that
  depends on the volume group's existence.

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-cinder/+bug/1476419/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list