Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
Deltacloud API 0.4.1
OS- Fedora 15
API_PROVIDER=vsphere.virt.bos.redhat.com
VMware vSphere 4
commit 9ce0222c3b88ac83a676f948a99ee07aa0f24b3c
[root@cavenger ~]# rpm -qa | grep deltacloud
deltacloud-core-rhevm-0.4.1-8.fc15.noarch
deltacloud-core-vsphere-0.4.1-8.fc15.noarch
deltacloud-core-ec2-0.4.1-8.fc15.noarch
rubygem-deltacloud-client-0.4.0-3.fc15.noarch
deltacloud-core-0.4.1-8.fc15.noarch
Deltacloud API 0.4.1 OS- Fedora 15 API_PROVIDER=vsphere.virt.bos.redhat.com VMware vSphere 4 commit 9ce0222c3b88ac83a676f948a99ee07aa0f24b3c [ root@cavenger ~]# rpm -qa | grep deltacloud deltacloud-core-rhevm-0.4.1-8.fc15.noarch deltacloud-core-vsphere-0.4.1-8.fc15.noarch deltacloud-core-ec2-0.4.1-8.fc15.noarch rubygem-deltacloud-client-0.4.0-3.fc15.noarch deltacloud-core-0.4.1-8.fc15.noarch
Description
This issue is related to https://issues.apache.org/jira/browse/DTACLOUD-115
When an instance is started with the curl, gives the below mentioned output, nevertheless how many times this command is issues. Also, only one instance is displayed in the Instances page
[rananda@rananda server]$ curl X POST -F "image_id=lutter-template" -F "name=ramesh-test-cli-3" -F "instance_profile=default" -F "hwp_id=default" --user 'Administrator:100yard' "http://cavenger.lab.eng.pnq.redhat.com:3001/api/instances?format=xml"
<?xml version='1.0' encoding='utf-8' ?>
<instance href='http://cavenger.lab.eng.pnq.redhat.com:3001/api/instances/ramesh-test-cli-3' id='ramesh-test-cli-3'>
<name>ramesh-test-cli-3</name>
<owner_id>Administrator</owner_id>
<image href='http://cavenger.lab.eng.pnq.redhat.com:3001/api/images/lutter-template' id='lutter-template'></image>
<realm href='http://cavenger.lab.eng.pnq.redhat.com:3001/api/realms/datastore1' id='datastore1'></realm>
<state>PENDING</state>
<hardware_profile href='http://cavenger.lab.eng.pnq.redhat.com:3001/api/hardware_profiles/default' id='default'>
</hardware_profile>
<actions>
</actions>
<public_addresses></public_addresses>
<private_addresses></private_addresses>
</instance>
[rananda@rananda server]$
Expected Result:
============
Should start a new instance upon issuing this command or throw an error message stating that new instance cannot be created as there is another instance running with the same name
Attachments
Issue Links
- is related to
-
DTACLOUD-115 Duplication in starting an image on VSphere, neither creates a new instance nor displays any error message related to this
- Open