Brian Mingus created LIBCLOUD-376:
-------------------------------------

             Summary: vcloud.py:~1496 assumes IpAddress and MACAddress fields 
exist, but they don't necessarily
                 Key: LIBCLOUD-376
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-376
             Project: Libcloud
          Issue Type: Bug
          Components: Compute
    Affects Versions: 0.12.3
         Environment: LibCloud 0.13
            Reporter: Brian Mingus


Adding these try/except blocks fixed it.

            try:
                network_conn_xml.remove(
                    network_conn_xml.find(fixxpath(network_xml, 'IpAddress')))
            except:
                None
            try:
                network_conn_xml.remove(
                    network_conn_xml.find(fixxpath(network_xml, 'MACAddress')))
            except:
                None

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to