Github user jburwell commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1529#discussion_r61967329
  
    --- Diff: tools/marvin/marvin/lib/base.py ---
    @@ -2459,13 +2460,31 @@ def create(cls, apiclient, cluster, services, 
zoneid=None, podid=None, hyperviso
                       GetDetailExceptionInfo(e)
                 return FAILED
     
    +    @staticmethod
    +    def _check_resource_state(apiclient, hostid, resourcestate):
    +        hosts = Host.list(apiclient, id=hostid, listall=True)
    +
    +        validationresult = validateList(hosts)
    --- End diff --
    
    What if ``hosts`` is ``None`` or empty?


---
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.
---

Reply via email to