<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic API call for VCDKE Config -stuck task in VMware Cloud Director Container Service Extension Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-Cloud-Director-Container/API-call-for-VCDKE-Config-stuck-task/m-p/2921001#M9</link>
    <description>&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stuckprocess.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/96456i2FDA1505BEB4749B/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="stuckprocess.PNG" alt="stuckprocess.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2022 07:30:05 GMT</pubDate>
    <dc:creator>tolgaanit1979</dc:creator>
    <dc:date>2022-07-28T07:30:05Z</dc:date>
    <item>
      <title>API call for VCDKE Config -stuck task</title>
      <link>https://communities.vmware.com/t5/VMware-Cloud-Director-Container/API-call-for-VCDKE-Config-stuck-task/m-p/2921001#M9</link>
      <description>&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stuckprocess.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/96456i2FDA1505BEB4749B/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="stuckprocess.PNG" alt="stuckprocess.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 07:30:05 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Cloud-Director-Container/API-call-for-VCDKE-Config-stuck-task/m-p/2921001#M9</guid>
      <dc:creator>tolgaanit1979</dc:creator>
      <dc:date>2022-07-28T07:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: API call for VCDKE Config -stuck task</title>
      <link>https://communities.vmware.com/t5/VMware-Cloud-Director-Container/API-call-for-VCDKE-Config-stuck-task/m-p/2921252#M10</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;Retrieve the identifier from cloud director &lt;STRONG&gt;task&lt;/STRONG&gt;&amp;nbsp;&lt;A href="https://communities.vmware.com/" target="_blank"&gt;&lt;STRONG&gt;urn:vcloud:entity:vmware:VCDKEConfig:&amp;lt;Long&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt;&amp;nbsp;UID&amp;gt;. Use this ID in below API call. If API call is sucessful task will also complete in cloud director&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/" target="_blank"&gt;POST https://&amp;lt;HostName&amp;gt;/cloudapi/1.0.0/entities/&lt;STRONG&gt;urn:vcloud:entity:vmware:VCDKEConfig:&amp;lt;Long&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt;&amp;nbsp;UID&amp;gt;&lt;/STRONG&gt;/resolve&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 08:21:25 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Cloud-Director-Container/API-call-for-VCDKE-Config-stuck-task/m-p/2921252#M10</guid>
      <dc:creator>vBahubali01</dc:creator>
      <dc:date>2022-07-29T08:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: API call for VCDKE Config -stuck task</title>
      <link>https://communities.vmware.com/t5/VMware-Cloud-Director-Container/API-call-for-VCDKE-Config-stuck-task/m-p/2921266#M11</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;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&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 09:51:35 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Cloud-Director-Container/API-call-for-VCDKE-Config-stuck-task/m-p/2921266#M11</guid>
      <dc:creator>tolgaanit1979</dc:creator>
      <dc:date>2022-07-29T09:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: API call for VCDKE Config -stuck task</title>
      <link>https://communities.vmware.com/t5/VMware-Cloud-Director-Container/API-call-for-VCDKE-Config-stuck-task/m-p/2921274#M13</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;Sorry if i was not clear.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 1:&lt;/STRONG&gt; When below API call is triggered a task starts in cloud director with 1% progress like you have currently&lt;/P&gt;&lt;P&gt;POST https://{{vcd}}/cloudapi/1.0.0/entityTypes/urn:vcloud:type:vmware:VCDKEConfig:0.5.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 2:&lt;/STRONG&gt; In my setup i noted urn id from task in cloud director as shown below in the screenshot&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vBahubali01_0-1659091133000.png" style="width: 999px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/96482iFDD6CE214928A69D/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="vBahubali01_0-1659091133000.png" alt="vBahubali01_0-1659091133000.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After noting this id i executed below API call as provided in Provider Workflow section:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;POST https://{{vcd}}/cloudapi/1.0.0/entities/&lt;FONT color="#FF6600"&gt;&amp;lt;id&amp;gt;&lt;/FONT&gt;/resolve&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I replaced id with urn id noted from &lt;U&gt;cloud director task&lt;/U&gt; in above API call and executed POST. After this my task in cloud director which was at 1% got completed.&lt;/P&gt;&lt;P&gt;POST &lt;A href="https://cloud.lab.infra/cloudapi/1.0.0/entities/" target="_blank"&gt;https://cloud.lab.infra/cloudapi/1.0.0/entities/&lt;/A&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;urn:vcloud:entity:vmware:VCDKEConfig:e4ac2d9f-767b-4e0f-a350-4bd06bf19b2d&lt;/STRONG&gt;&lt;/FONT&gt;/resolve&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 10:43:31 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Cloud-Director-Container/API-call-for-VCDKE-Config-stuck-task/m-p/2921274#M13</guid>
      <dc:creator>vBahubali01</dc:creator>
      <dc:date>2022-07-29T10:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: API call for VCDKE Config -stuck task</title>
      <link>https://communities.vmware.com/t5/VMware-Cloud-Director-Container/API-call-for-VCDKE-Config-stuck-task/m-p/2921286#M14</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It's not creating in Step 2.&amp;nbsp; you can see status in screenshot.&amp;nbsp;&lt;SPAN class=""&gt;It has been waiting for 1 day to be completed&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 12:17:58 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Cloud-Director-Container/API-call-for-VCDKE-Config-stuck-task/m-p/2921286#M14</guid>
      <dc:creator>tolgaanit1979</dc:creator>
      <dc:date>2022-07-29T12:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: API call for VCDKE Config -stuck task</title>
      <link>https://communities.vmware.com/t5/VMware-Cloud-Director-Container/API-call-for-VCDKE-Config-stuck-task/m-p/2921762#M17</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;The VCD-KE config definedEntity does not automatically complete by itself actually. After successful POST request to &lt;STRONG&gt;/cloudapi/1.0.0/entityTypes/urn:vcloud:type:vmware:VCDKEConfig:0.5.0&lt;/STRONG&gt;, the newly created definedEntity of VCD-KE config will remain at 1% until you resolve it manually.&lt;/P&gt;&lt;P&gt;In order to bring it to completion, you must resolve it. To perform resolve operation:&lt;BR /&gt;Similar to what vBahubali01 said and in their image,&lt;/P&gt;&lt;P&gt;1. You must grab the ID of your definedEntity, it is the long ID where&amp;nbsp;vBahubali01 drew a red box around in the previous reply. From your screenshot, yours start with:&amp;nbsp;urn:vcloud:entity:vmware:VCDKEConfig:0cf0ffc8-...&lt;/P&gt;&lt;P&gt;2. After you have the ID, you will need to make a POST request using administrator to:&amp;nbsp;&lt;STRONG&gt;https://{{vcd-site}}/cloudapi/1.0.0/entities/&lt;FONT color="#FF6600"&gt;&amp;lt;long id from step 1&amp;gt;&lt;/FONT&gt;/resolve&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; - Ensure urn:vcloud:entity:vmware:VCDKEConfig: is included as part of your ID.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;STRONG&gt;&amp;nbsp; - Example endpoint for POST using administrator credentials: &lt;/STRONG&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; https://{{vcd-site}}/cloudapi/1.0.0/entities/&lt;FONT color="#FF6600"&gt;urn:vcloud:entity:vmware:VCDKEConfig:0cf0ffc8-...&lt;/FONT&gt;/resolve&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;STRONG&gt;3. After successfully completing step 2, you should no longer see 1% but rather a success in VMware Cloud Director.&lt;/STRONG&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;Let us know if this works out for you. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 22:11:23 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Cloud-Director-Container/API-call-for-VCDKE-Config-stuck-task/m-p/2921762#M17</guid>
      <dc:creator>lzichong</dc:creator>
      <dc:date>2022-08-01T22:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: API call for VCDKE Config -stuck task</title>
      <link>https://communities.vmware.com/t5/VMware-Cloud-Director-Container/API-call-for-VCDKE-Config-stuck-task/m-p/2922046#M37</link>
      <description>&lt;P&gt;thank you. you are right. I passed this step.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 10:10:48 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Cloud-Director-Container/API-call-for-VCDKE-Config-stuck-task/m-p/2922046#M37</guid>
      <dc:creator>tolgaanit1979</dc:creator>
      <dc:date>2022-08-03T10:10:48Z</dc:date>
    </item>
  </channel>
</rss>

