My Oracle Support Banner

OVMCLI List Disk Gets Error When Virtual Machine Has Shared Storage Devices Defined (Doc ID 1277023.1)

Last updated on AUGUST 04, 2018

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/", line 122, in main
return ovm.ovmcli.runcmd(args)
File "/usr/lib/python2.4/site-packages/ovmcli/", line 147, in runcmd
return method(options)
File "/usr/lib/python2.4/site-packages/ovmcli/", 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


To view full details, 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 a vibrant support community of peers and Oracle experts.