I'm creating API Call forVCDKE Config. But Cloud Director task is stuck .you can see the screenshot. Is there any idea for this issue?
Hi,
The VCD-KE config definedEntity does not automatically complete by itself actually. After successful POST request to /cloudapi/1.0.0/entityTypes/urn:vcloud:type:vmware:VCDKEConfig:0.5.0, the newly created definedEntity of VCD-KE config will remain at 1% until you resolve it manually.
In order to bring it to completion, you must resolve it. To perform resolve operation:
Similar to what vBahubali01 said and in their image,
1. You must grab the ID of your definedEntity, it is the long ID where vBahubali01 drew a red box around in the previous reply. From your screenshot, yours start with: urn:vcloud:entity:vmware:VCDKEConfig:0cf0ffc8-...
2. After you have the ID, you will need to make a POST request using administrator to: https://{{vcd-site}}/cloudapi/1.0.0/entities/<long id from step 1>/resolve
- Ensure urn:vcloud:entity:vmware:VCDKEConfig: is included as part of your ID.
- Example endpoint for POST using administrator credentials:
https://{{vcd-site}}/cloudapi/1.0.0/entities/urn:vcloud:entity:vmware:VCDKEConfig:0cf0ffc8-.../resolve
3. After successfully completing step 2, you should no longer see 1% but rather a success in VMware Cloud Director.
Let us know if this works out for you. Thanks!
hello
Retrieve the identifier from cloud director task urn:vcloud:entity:vmware:VCDKEConfig:<Long UID>. Use this ID in below API call. If API call is sucessful task will also complete in cloud director
POST https://<HostName>/cloudapi/1.0.0/entities/urn:vcloud:entity:vmware:VCDKEConfig:<Long UID>/resolve
hi
POST https://{{vcd}}/cloudapi/1.0.0/entityTypes/urn:vcloud:type:vmware:VCDKEConfig:0.5.0c API Call is sucessful. but task is not complete in cloud director. stuck at %1
hello,
Sorry if i was not clear.
Step 1: When below API call is triggered a task starts in cloud director with 1% progress like you have currently
POST https://{{vcd}}/cloudapi/1.0.0/entityTypes/urn:vcloud:type:vmware:VCDKEConfig:0.5.0
Step 2: In my setup i noted urn id from task in cloud director as shown below in the screenshot
After noting this id i executed below API call as provided in Provider Workflow section:
POST https://{{vcd}}/cloudapi/1.0.0/entities/<id>/resolve
I replaced id with urn id noted from cloud director task in above API call and executed POST. After this my task in cloud director which was at 1% got completed.
POST https://cloud.lab.infra/cloudapi/1.0.0/entities/urn:vcloud:entity:vmware:VCDKEConfig:e4ac2d9f-767b-4e0f-a350-4bd06bf19b2d/resolve
Hope this helps
Hi,
The VCD-KE config definedEntity does not automatically complete by itself actually. After successful POST request to /cloudapi/1.0.0/entityTypes/urn:vcloud:type:vmware:VCDKEConfig:0.5.0, the newly created definedEntity of VCD-KE config will remain at 1% until you resolve it manually.
In order to bring it to completion, you must resolve it. To perform resolve operation:
Similar to what vBahubali01 said and in their image,
1. You must grab the ID of your definedEntity, it is the long ID where vBahubali01 drew a red box around in the previous reply. From your screenshot, yours start with: urn:vcloud:entity:vmware:VCDKEConfig:0cf0ffc8-...
2. After you have the ID, you will need to make a POST request using administrator to: https://{{vcd-site}}/cloudapi/1.0.0/entities/<long id from step 1>/resolve
- Ensure urn:vcloud:entity:vmware:VCDKEConfig: is included as part of your ID.
- Example endpoint for POST using administrator credentials:
https://{{vcd-site}}/cloudapi/1.0.0/entities/urn:vcloud:entity:vmware:VCDKEConfig:0cf0ffc8-.../resolve
3. After successfully completing step 2, you should no longer see 1% but rather a success in VMware Cloud Director.
Let us know if this works out for you. Thanks!
thank you. you are right. I passed this step.