← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1686136] Re: Disk bus type 'sata' not allowed for qemu and kvm hypervisors

 

Reviewed:  https://review.openstack.org/459794
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=c1c611bcd7e8638f648537691c2136f34bccbe08
Submitter: Zuul
Branch:    master

commit c1c611bcd7e8638f648537691c2136f34bccbe08
Author: Sumedh Degaonkar <sdegaonkar@xxxxxxxxxxxxx>
Date:   Tue Apr 25 13:19:57 2017 -0400

    Adds 'sata' as a valid disk bus for qemu and kvm hypervisors
    
    Reasoning:
    - Setting custom properties on glance images allows us to select the
    type of disk bus e.g. VIRTIO/IDE/SCSI.
    Although SATA disk bus works perfectly for qemu/kvm, it is not allowed
    due to a check in virt/libvirt/blockinfo.py : is_disk_bus_valid_for_virt
    - some Linux (custom) images require use of SATA bus rather than any
    other that seems to be allowed.
    
    Change-Id: Ie32ff7acf31d80d4fc1adbeadaaf30a886d10e49
    Closes-Bug: #1686136


** Changed in: nova
       Status: In Progress => 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/1686136

Title:
  Disk bus type 'sata' not allowed for qemu and kvm hypervisors

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Description
  ===========
  Setting custom properties on glance images allows us to select the type of disk bus e.g. VIRTIO/IDE/SCSI.
  Although SATA disk bus works perfectly for qemu/kvm, it is not allowed due to a check in virt/libvirt/blockinfo.py : is_disk_bus_valid_for_virt

  - some Linux (custom) images require use of SATA bus rather than any
  other that seems to be allowed.

  - It seems to be an artificial restriction (to me), but do point out
  if this isn't a case.

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


References