
29 Jul
2008
29 Jul
'08
10:18 p.m.
+ + 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@linux.vnet.ibm.com