<?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 Error when cloning a VM related to vCloud Director in vCloud Director PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/vCloud-Director-PowerCLI/Error-when-cloning-a-VM-related-to-vCloud-Director/m-p/382011#M52</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there!&lt;/P&gt;&lt;P&gt;I have the following cmdlet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_13908152607428817 jive_macro_code" jivemacro_uid="_13908152607428817"&gt;
&lt;P&gt;New-VM -Name ClonedVM -VM SourceVM -Datastore NewDS -VMHost ESXi&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; -Location Folder -Confirm:$false&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that I'm trying to clone a VM that is a part of a dead vCD system. Because the VM is registered as being managed by the dead vCD instance, I get the following error:&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;The operation for the entity ClonedVM failed with the following message: "A general system error occurred: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The virtual machine requires the vcloud/system.service.vmware.vsla.vcloud service, which is not available on the host."&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;So.. is there a way for me to clone that VM using PowerCLI without un-registering and registering the VM in the VC?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jan 2014 09:37:56 GMT</pubDate>
    <dc:creator>ArielGraner</dc:creator>
    <dc:date>2014-01-27T09:37:56Z</dc:date>
    <item>
      <title>Error when cloning a VM related to vCloud Director</title>
      <link>https://communities.vmware.com/t5/vCloud-Director-PowerCLI/Error-when-cloning-a-VM-related-to-vCloud-Director/m-p/382011#M52</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there!&lt;/P&gt;&lt;P&gt;I have the following cmdlet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_13908152607428817 jive_macro_code" jivemacro_uid="_13908152607428817"&gt;
&lt;P&gt;New-VM -Name ClonedVM -VM SourceVM -Datastore NewDS -VMHost ESXi&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; -Location Folder -Confirm:$false&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that I'm trying to clone a VM that is a part of a dead vCD system. Because the VM is registered as being managed by the dead vCD instance, I get the following error:&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;The operation for the entity ClonedVM failed with the following message: "A general system error occurred: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The virtual machine requires the vcloud/system.service.vmware.vsla.vcloud service, which is not available on the host."&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;So.. is there a way for me to clone that VM using PowerCLI without un-registering and registering the VM in the VC?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 09:37:56 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vCloud-Director-PowerCLI/Error-when-cloning-a-VM-related-to-vCloud-Director/m-p/382011#M52</guid>
      <dc:creator>ArielGraner</dc:creator>
      <dc:date>2014-01-27T09:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error when cloning a VM related to vCloud Director</title>
      <link>https://communities.vmware.com/t5/vCloud-Director-PowerCLI/Error-when-cloning-a-VM-related-to-vCloud-Director/m-p/382012#M53</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thread moved to the &lt;A _jive_internal="true" href="https://communities.vmware.com/community/vmtn/automationtools/powercli/vcdpowercli"&gt;vCloud Director PowerCLI&lt;/A&gt; community.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 11:58:50 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vCloud-Director-PowerCLI/Error-when-cloning-a-VM-related-to-vCloud-Director/m-p/382012#M53</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2014-01-27T11:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error when cloning a VM related to vCloud Director</title>
      <link>https://communities.vmware.com/t5/vCloud-Director-PowerCLI/Error-when-cloning-a-VM-related-to-vCloud-Director/m-p/382013#M54</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;try to clone to flat with vmkfstools -i&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="right" dir="rtl"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;A href="http://kb.vmware.com/kb/1028042"&gt;http://kb.vmware.com/kb/1028042&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;vmkfstools -i "/vmfs/volumes/path/example/example.vmdk" "/vmfs/volumes/path/example2.vmdk" -d thin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# the vm must be powered off&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;and then clone via vcd or vc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;New-CIVApp -Name vapp_name&amp;nbsp; -OrgVdc org_vdc_name -VAppTemplate Template_name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if the vcd has problem then you can do it via vc if vc has problem that you much clone the the disk (flat) shile the vm is powered off and create new vm and then attach the disk that you cloned with vmkfstools.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 14:56:46 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vCloud-Director-PowerCLI/Error-when-cloning-a-VM-related-to-vCloud-Director/m-p/382013#M54</guid>
      <dc:creator>yonish</dc:creator>
      <dc:date>2014-04-16T14:56:46Z</dc:date>
    </item>
  </channel>
</rss>

