OVMCLI List Disk Gets Error When Virtual Machine Has Shared Storage Devices Defined

(Doc ID 1277023.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle VM - Version: 2.2.1 and later   [Release: OVM221 and later ]
Linux x86
Linux x86-64


Ovmcli command "ovm vm disk ls" gets errors when the virtual machine has shared disks defined to it:

Traceback (most recent call last):
File "/usr/bin/ovm", line 43, in ?
File "/usr/lib/python2.4/site-packages/ovmcli/ovmmain.py", line 122, in main
return ovm.ovmcli.runcmd(args)
File "/usr/lib/python2.4/site-packages/ovmcli/ovmcli.py", line 147, in runcmd
return method(options)
File "/usr/lib/python2.4/site-packages/ovmcli/ovmcli.py", line 2618, in do_vm_disk_ls
disk_type = disk._hardDiskDriver._hardDriveType
AttributeError: 'NoneType' object has no attribute '_hardDriveType'


Define shared storage devices to a virtual machine


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms