[
https://issues.apache.org/jira/browse/LIBCLOUD-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Mingus updated LIBCLOUD-370:
----------------------------------
Summary: create_node for vCloud provider should check that node being
cloned from is shut down first (was: create_node should check that node being
cloned from is shut down first)
> create_node for vCloud provider should check that node being cloned from is
> shut down first
> -------------------------------------------------------------------------------------------
>
> Key: LIBCLOUD-370
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-370
> Project: Libcloud
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.12.3
> Environment: OSX, Python 2.7.2, LibCloud 0.12.4, vCloud 5.1.1
> Reporter: Brian Mingus
> Labels: features
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> When using vCloud andcreating a new node from an existing Node (not
> NodeImage), the existing Node *must* be shut down first. Thus, LibCloud
> should first check that it is shut down, and inform the user that it's not.
> 11:09:38 08/13/13 MDT: Starting attempt to create vApp bldrbuilder-m64-2
> from bldrbuilder-m64 with 4 cpus and 8192 MB of RAM.
> 11:09:43 08/13/13 MDT: Running create_node. This may fail or take around
> ten minutes.
> 11:09:43 08/13/13 MDT: clone_node arguments:
> {'ex_clone_timeout': 5000,
> 'ex_vm_cpu': 4,
> 'ex_vm_memory': 8192,
> 'image': <Node: uuid=4916bdcaa157d775422daf29dab679aed53e9fb1,
> name=bldrbuilder-m64, state=0, public_ips=['10.132.19.203'], provider=vCloud
> ...>,
> 'name': 'bldrbuilder-m64-2'}
> None
> Traceback (most recent call last):
> File "./vclone", line 136, in <module>
> node = driver.create_node(**kwargs)
> File
> "/Library/Python/2.7/site-packages/libcloud/compute/drivers/vcloud.py", line
> 1327, in create_node
> vapp_name, vapp_href = self._clone_node(name, image, vdc)
> File
> "/Library/Python/2.7/site-packages/libcloud/compute/drivers/vcloud.py", line
> 1401, in _clone_node
> headers={'Content-Type':
> 'application/vnd.vmware.vcloud.cloneVAppParams+xml'}
> File
> "/Library/Python/2.7/site-packages/libcloud/compute/drivers/vcloud.py", line
> 317, in request
> return super(VCloudConnection, self).request(*args, **kwargs)
> File "/Library/Python/2.7/site-packages/libcloud/common/base.py", line 609,
> in request
> connection=self)
> File "/Library/Python/2.7/site-packages/libcloud/common/base.py", line 93,
> in __init__
> raise Exception(self.parse_error())
> Exception: <Element '{http://www.vmware.com/vcloud/v1.5}Error' at 0x108ccc350>
--
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