Github user olivierlemasle commented on the pull request: https://github.com/apache/cloudstack/pull/1503#issuecomment-219121751 In the three tracebacks, the error is located in https://github.com/apache/cloudstack/blob/821b2da1267c486bb1f5c9e90d3d1969b6fe947f/tools/marvin/marvin/lib/base.py#L1350 and occurs because `template.status` is equal to `None`. This comes from the `Template.list(...)` request just before, which has the following response (cf logs): [ { domain : u'ROOT', domainid : u'83f831cd-187e-11e6-92ee-5254001daa61', ostypename : u'Other PV (64-bit)', zoneid : u'fbbb2ed8-1929-42df-ad74-2a7a2639798c', displaytext : u'macchinina kvm', ostypeid : u'83e88c7d-187e-11e6-92ee-5254001daa61', passwordenabled : False, id : u'5c21909e-c641-42d8-b90f-f6795da7d9fb', isready : False, format : u'QCOW2', templatetype : u'USER', zonename : u'MCCT-SHARED-1', isdynamicallyscalable : False, tags : [], isfeatured : False, sshkeyenabled : False, isextractable : False, crossZones : False, account : u'test-TestRouterRules-test_10_destroy_cpvm-LXQSYL', name : u'tiny-kvm-D9K3XF', hypervisor : u'KVM', ispublic : False, checksum : u'f50acb3a4387019b473d0f25a42bf06e' } ] As you can see, there's no "status" in this response. So somehow, the issue is due to the fact that a `listTemplates` request returned a result without status during a template download. I cannot see how it can be related to this change. Moreover, I tested my pull request, and my tests included a template download and a VM deployment. @swill Is it possible that an error in the template download would cause the absence of the status field, and therefore this error?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---