← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1702999] [NEW] Can't attach volume if instance boot from volume and virtio-scsi is enabled in the image

 

Public bug reported:

Can't attach volume to a running instance if the instance was booted
from a volume using virtio-scsi.

I can, however, attach volume if the instance booted from a image using
virtio-scsi.

This is the error: http://paste.openstack.org/show/614807/

2017-07-07 19:33:02.233 7 ERROR oslo_messaging.rpc.server     if ret == -1: raise libvirtError ('virDomainAttachDeviceFlags() failed', dom=self)
2017-07-07 19:33:02.233 7 ERROR oslo_messaging.rpc.server libvirtError: internal error: unable to execute QEMU command '__com.redhat_drive_add': Duplicate ID 'drive-scsi0-0-0-0' for drive

I'm using Kolla-Ansible from stable/ocata on binary-centos images.

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  Can't attach volume if instance boot from volume and virtio-scsi is
  enabled in the image

Status in OpenStack Compute (nova):
  New

Bug description:
  Can't attach volume to a running instance if the instance was booted
  from a volume using virtio-scsi.

  I can, however, attach volume if the instance booted from a image
  using virtio-scsi.

  This is the error: http://paste.openstack.org/show/614807/

  2017-07-07 19:33:02.233 7 ERROR oslo_messaging.rpc.server     if ret == -1: raise libvirtError ('virDomainAttachDeviceFlags() failed', dom=self)
  2017-07-07 19:33:02.233 7 ERROR oslo_messaging.rpc.server libvirtError: internal error: unable to execute QEMU command '__com.redhat_drive_add': Duplicate ID 'drive-scsi0-0-0-0' for drive

  I'm using Kolla-Ansible from stable/ocata on binary-centos images.

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


Follow ups