+
+ try:
+ service = vsms.enumerate_instances(options.ip, options.virt)[0]
+ except Exception, details:
+ logger.error("Did not find VSMS instance")
+ logger.error(details)
+ return FAIL
You'll want to check to make sure None was not returned from the
enumerate call. It's possible the call returned CMPI_RC_OK and no
instances.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com