← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1489555] Re: nova rbd volume attach to running instance in Kilo is failing

 

HI josh Durgin,

thanks for your response, now the issue got resolved, this issue is with apparmor, apparmor is blocking adding rbd support to kvm instances.
it is resolved by adding below lines to  /etc/apparmor.d/abstractions/libvirt-qemu and restart apparmor, libvirt and nova-compute

# for rbd
/etc/ceph/ceph.conf r,
/usr/lib/x86_64-linux-gnu/qemu/* rmix,


** Changed in: nova
     Assignee: (unassigned) => venkat bokka (venkat-bnagu)

** Changed in: nova
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1489555

Title:
  nova rbd volume attach to running  instance in Kilo is failing

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  i am using openstack Kilo on debian, ceph firefly(0.80.7), libvirt
  1.2.9 and qemu-kvm 2.3

  i am able to create cinder volume with ceph as backend, but when i am trying to attach volume to running instance it failing with the error
  libvirtError: internal error: unable to execute QEMU command 'device_add': Property 'virtio-blk-device.drive' can't find value 'drive-virtio-disk2'

  Please find the attached nova compute log.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1489555/+subscriptions


References