IDE bus not supported for PPC64 little endian

Bug #1523734 reported by jinweixiao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Wishlist
Unassigned

Bug Description

When I deploy openstack kilo on PPC64 little endian system, vm template xml generated by nova apply IDE bus for device type which is not supported in ppc64 little endian. I dig deep and find problems in function get_disk_bus_for_device_type in file nova/virt/libvirt/blockinfo.py.

When virt_type is in qemu or kvm and device_type is cdrom, virt_type is determine by guestarch, scsi for arch in (PPC, PPC64, S390, S390X) and IDE for other. So when guestarch is PPC64LE , then virt_type of IDE is returned which is not support.

I add PPC64LE in arch for scsi and it does works. The patch is attached.

Tags: libvirt
Revision history for this message
jinweixiao (xiaojinwei001) wrote :
information type: Public → Public Security
information type: Public Security → Private Security
information type: Private Security → Public
information type: Public → Private
information type: Private → Public
xiaojinwei (xjw87610)
Changed in nova:
assignee: nobody → xiaojinwei (xjw87610)
assignee: xiaojinwei (xjw87610) → nobody
tags: added: libvirt
Changed in nova:
assignee: nobody → Aysy Anne A. Duarte (aysyd)
Changed in nova:
status: New → In Progress
Changed in nova:
assignee: Aysy Anne A. Duarte (aysyd) → Ed Leafe (ed-leafe)
Sean Dague (sdague)
Changed in nova:
assignee: Ed Leafe (ed-leafe) → nobody
importance: Undecided → Wishlist
Changed in nova:
status: In Progress → Confirmed
Changed in nova:
assignee: nobody → Aysy Anne A. Duarte (aysyd)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/272603
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=83574aa27364e538dc4b96a9c90adae75b14ecf3
Submitter: Jenkins
Branch: master

commit 83574aa27364e538dc4b96a9c90adae75b14ecf3
Author: Aysy Anne Duarte <email address hidden>
Date: Tue Jan 26 15:43:36 2016 +0000

    Add ppc64le architecture to some libvirt unit tests

    Some unit tests are failing when running on ppc64le.
    It is necessary to add the option ppc64le inside the
    architecture check for some test_blockinfo and test_driver unit tests.

    Closes-Bug: #1523734

    Change-Id: I16eafee7bd24febf58201d984cdcbfdef8b97ef3

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/nova 14.0.0.0b1

This issue was fixed in the openstack/nova 14.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.