virsh is reporting ppc64le and not ppc64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Mike Rushton | ||
1.8 |
Fix Released
|
High
|
Mike Rushton | ||
1.9 |
Fix Released
|
High
|
Mike Rushton |
Bug Description
MAAS version 1.8.2+bzr4041-
IBM_PowerKVM release 3.1.0 gold build 41.0 (pkvm3_1_0)
Upon trying to enlist & commission a kvm VM on PowerKVM host, virsh is reporting ppc64le to MAAS as opposed to ppc64el.
This is tripping up probe-and-
leftyfb@
Last failed login: Mon Dec 7 20:00:08 EST 2015 from 10.1.10.1 on ssh:notty
There were 4 failed login attempts since the last successful login.
Last login: Mon Dec 7 19:52:40 2015 from 10.1.10.1
[root@gulpin ~]# virsh dumpxml powerkvm
<domain type='kvm'>
<name>
<uuid>
<memory unit='KiB'
<currentMemory unit='KiB'
<vcpu placement=
<os>
<type arch='ppc64le' machine=
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<clock offset='utc'/>
<on_poweroff>
<on_reboot>
<on_crash>
<devices>
<emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source file='/
<target dev='sda' bus='scsi'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<controller type='usb' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pci-root'/>
<controller type='scsi' index='0'>
<address type='spapr-vio' reg='0x2000'/>
</controller>
<interface type='bridge'>
<mac address=
<source bridge='bridge1'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</interface>
<serial type='pty'>
<target port='0'/>
<address type='spapr-vio' reg='0x30000000'/>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
<address type='spapr-vio' reg='0x30000000'/>
</console>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</memballoon>
</devices>
</domain>
Related branches
- Mike Pontillo (community): Approve
-
Diff: 10 lines (+1/-0)1 file modifiedsrc/provisioningserver/drivers/hardware/virsh.py (+1/-0)
- Blake Rouse (community): Approve
-
Diff: 10 lines (+1/-0)1 file modifiedsrc/provisioningserver/drivers/hardware/virsh.py (+1/-0)
- Blake Rouse (community): Approve
- Andres Rodriguez (community): Approve
-
Diff: 10 lines (+1/-0)1 file modifiedsrc/provisioningserver/drivers/hardware/virsh.py (+1/-0)
Changed in maas: | |
milestone: | none → next |
status: | New → In Progress |
importance: | Undecided → High |
Changed in maas: | |
status: | In Progress → Fix Committed |
assignee: | nobody → Mike Rushton (leftyfb) |
Changed in maas: | |
milestone: | next → none |
status: | Fix Committed → Fix Released |
The manual fix is to add the following line to /usr/lib/ python2. 7/dist- packages/ provisioningser ver/drivers/ hardware/ virsh.py under ARCH_FIX
'ppc64le': 'ppc64el',