Cause: Disk hot-plug was blocked for clusters with PPC CPU architecture (for disks attached with VirtIO interface).
Consequence: Disk hot-plug feature was disabled in PPC for disks attached with VirtIO interface.
Fix: Adding VirtIO as applicable disk hot-plug interface for 'ppc64' in osinfo-defaults.properties configuration file.
Result: Disks attached with VirtIO interface can be hot-plugged in PPC clusters.
Created attachment 949034[details]
logs
Description of problem:
Virtio images do not support hotplug, the operation is blocked with CDA.
a pop up error window appears on UI.
engine prompts a Warning on logs:
014-10-21 17:06:08,767 WARN [org.ovirt.engine.core.bll.AttachDiskToVmCommand] (ajp-/127.0.0.1:8702-6) [5d4cbd72] CanDoAction of action AttachDiskToVm failed. Reasons:VAR__ACTION__ATTACH_ACTION_TO,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_GUEST_OS_VERSION_IS_NOT_SUPPORTED
2014-10-21 17:06:08,767 INFO [org.ovirt.engine.core.bll.AttachDiskToVmCommand] (ajp-/127.0.0.1:8702-6) [5d4cbd72] Lock freed to object EngineLock [exclusiveLocks= key: a0c55126-3664-4e06-85b0-08137a903a7d value: DISK
, sharedLocks= ]
G2014-10-21 17:06:26,276 INFO [org.ovirt.engine.core.bll.AttachDiskToVmCommand] (ajp-/127.0.0.1:8702-1) [7f31f218] Lock Acquired to object EngineLock [exclusiveLocks= key: 2c21487c-2819-4f8f-9ac7-1541c1ff3a1e value: DISK
, sharedLocks= ]
2014-10-21 17:06:26,357 WARN [org.ovirt.engine.core.bll.AttachDiskToVmCommand] (ajp-/127.0.0.1:8702-1) [7f31f218] CanDoAction of action AttachDiskToVm failed. Reasons:VAR__ACTION__ATTACH_ACTION_TO,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_GUEST_OS_VERSION_IS_NOT_SUPPORTED
2014-10-21 17:06:26,358 INFO [org.ovirt.engine.core.bll.AttachDiskToVmCommand] (ajp-/127.0.0.1:8702-1) [7f31f218] Lock freed to object EngineLock [exclusiveLocks= key: 2c21487c-2819-4f8f-9ac7-1541c1ff3a1e value: DISK
, sharedLocks= ]
Version-Release number of selected component (if applicable):
ppc-rhev rhevm-3.4.3-1.2.el6ev.noarch
How reproducible:
100%
Steps to Reproduce:
1.add Vm
2.install OS
3.try to hotplug virtio disk(Block or File)
Actual results:
the operation is not supported
Expected results:
this operation should be supported or be disabled and documented
Additional info:
Created attachment 949034 [details] logs Description of problem: Virtio images do not support hotplug, the operation is blocked with CDA. a pop up error window appears on UI. engine prompts a Warning on logs: 014-10-21 17:06:08,767 WARN [org.ovirt.engine.core.bll.AttachDiskToVmCommand] (ajp-/127.0.0.1:8702-6) [5d4cbd72] CanDoAction of action AttachDiskToVm failed. Reasons:VAR__ACTION__ATTACH_ACTION_TO,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_GUEST_OS_VERSION_IS_NOT_SUPPORTED 2014-10-21 17:06:08,767 INFO [org.ovirt.engine.core.bll.AttachDiskToVmCommand] (ajp-/127.0.0.1:8702-6) [5d4cbd72] Lock freed to object EngineLock [exclusiveLocks= key: a0c55126-3664-4e06-85b0-08137a903a7d value: DISK , sharedLocks= ] G2014-10-21 17:06:26,276 INFO [org.ovirt.engine.core.bll.AttachDiskToVmCommand] (ajp-/127.0.0.1:8702-1) [7f31f218] Lock Acquired to object EngineLock [exclusiveLocks= key: 2c21487c-2819-4f8f-9ac7-1541c1ff3a1e value: DISK , sharedLocks= ] 2014-10-21 17:06:26,357 WARN [org.ovirt.engine.core.bll.AttachDiskToVmCommand] (ajp-/127.0.0.1:8702-1) [7f31f218] CanDoAction of action AttachDiskToVm failed. Reasons:VAR__ACTION__ATTACH_ACTION_TO,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_GUEST_OS_VERSION_IS_NOT_SUPPORTED 2014-10-21 17:06:26,358 INFO [org.ovirt.engine.core.bll.AttachDiskToVmCommand] (ajp-/127.0.0.1:8702-1) [7f31f218] Lock freed to object EngineLock [exclusiveLocks= key: 2c21487c-2819-4f8f-9ac7-1541c1ff3a1e value: DISK , sharedLocks= ] Version-Release number of selected component (if applicable): ppc-rhev rhevm-3.4.3-1.2.el6ev.noarch How reproducible: 100% Steps to Reproduce: 1.add Vm 2.install OS 3.try to hotplug virtio disk(Block or File) Actual results: the operation is not supported Expected results: this operation should be supported or be disabled and documented Additional info: