<?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 vSphere 7.0.1 Convert Template to VM fails with vim.fault.NotFound in VMware vSphere™ Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/vSphere-7-0-1-Convert-Template-to-VM-fails-with-vim-fault/m-p/2820654#M37391</link>
    <description>&lt;P&gt;Ultimately, I'm trying to write a PowerCLI script that will move my collection of templates between hosts by converting them to VMs, moving them, and then converting them back to templates.&amp;nbsp; I am unable to get past the first step, because none of my templates can be converted back to VMs.&amp;nbsp; Whether through the vCenter interface or through PowerCLI, i get a vim.fault.NotFound error with more detail of "The object or item referred to could not be found. vDS dvs port 51970 cannot be found."&amp;nbsp; I assume this is a DVS switch port that existed when the original VM was templatized, and may no longer exist.&amp;nbsp; See below for supporting logs.&amp;nbsp; Any thoughts?&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2021-01-04T22:26:52.232Z info vpxd[03619] [Originator@6876 sub=vpxLro opID=408cee58] [VpxLRO] -- BEGIN task-276953 -- vm-40781 -- vim.VirtualMachine.markAsVirtualMachine -- 526bc7cd-fc78-5692-bb77-2afba1bc5fa4(52fc23ca-26ad-514b-4657-2b7c1a0de405)
2021-01-04T22:26:52.238Z warning vpxd[03619] [Originator@6876 sub=vmmoVm opID=408cee58] New local path path for VM [vim.VirtualMachine:vm-40781,template-centos-6] is empty. Ignoring the change - vpxa will report the new path shortly
2021-01-04T22:26:52.246Z error vpxd[03619] [Originator@6876 sub=provisioning opID=408cee58] Unable to register template ds:///vmfs/volumes/5ab1058b-7d6e9626-ddb5-001018d6af90/template-centos-6/template-centos-6.vmtx as VM
2021-01-04T22:26:52.264Z error vpxd[03619] [Originator@6876 sub=SOAP-3 opID=408cee58] Method vim.VirtualMachine.markAsVirtualMachine threw undeclared fault of type vim.fault.NotFound
2021-01-04T22:26:52.264Z info vpxd[03619] [Originator@6876 sub=vpxLro opID=408cee58] [VpxLRO] -- FINISH task-276953
2021-01-04T22:26:52.264Z info vpxd[03619] [Originator@6876 sub=Default opID=408cee58] [VpxLRO] -- ERROR task-276953 -- vm-40781 -- vim.VirtualMachine.markAsVirtualMachine: vim.fault.NotFound:
--&amp;gt; Result:
--&amp;gt; (vim.fault.NotFound) {
--&amp;gt;    faultCause = (vmodl.MethodFault) null,
--&amp;gt;    faultMessage = (vmodl.LocalizableMessage) [
--&amp;gt;       (vmodl.LocalizableMessage) {
--&amp;gt;          key = "com.vmware.vim.vpxd.dvs.portNotFound.label",
--&amp;gt;          arg = (vmodl.KeyAnyValue) [
--&amp;gt;             (vmodl.KeyAnyValue) {
--&amp;gt;                key = "port",
--&amp;gt;                value = "51970"
--&amp;gt;             }
--&amp;gt;          ],
--&amp;gt;          message = &amp;lt;unset&amp;gt;
--&amp;gt;       }
--&amp;gt;    ]
--&amp;gt;    msg = ""
--&amp;gt; }
--&amp;gt; Args:
--&amp;gt;
--&amp;gt; Arg pool:
--&amp;gt; 'vim.ResourcePool:resgroup-33696'
--&amp;gt; Arg host:
--&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jan 2021 23:48:48 GMT</pubDate>
    <dc:creator>cfmorrell</dc:creator>
    <dc:date>2021-01-04T23:48:48Z</dc:date>
    <item>
      <title>vSphere 7.0.1 Convert Template to VM fails with vim.fault.NotFound</title>
      <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/vSphere-7-0-1-Convert-Template-to-VM-fails-with-vim-fault/m-p/2820654#M37391</link>
      <description>&lt;P&gt;Ultimately, I'm trying to write a PowerCLI script that will move my collection of templates between hosts by converting them to VMs, moving them, and then converting them back to templates.&amp;nbsp; I am unable to get past the first step, because none of my templates can be converted back to VMs.&amp;nbsp; Whether through the vCenter interface or through PowerCLI, i get a vim.fault.NotFound error with more detail of "The object or item referred to could not be found. vDS dvs port 51970 cannot be found."&amp;nbsp; I assume this is a DVS switch port that existed when the original VM was templatized, and may no longer exist.&amp;nbsp; See below for supporting logs.&amp;nbsp; Any thoughts?&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2021-01-04T22:26:52.232Z info vpxd[03619] [Originator@6876 sub=vpxLro opID=408cee58] [VpxLRO] -- BEGIN task-276953 -- vm-40781 -- vim.VirtualMachine.markAsVirtualMachine -- 526bc7cd-fc78-5692-bb77-2afba1bc5fa4(52fc23ca-26ad-514b-4657-2b7c1a0de405)
2021-01-04T22:26:52.238Z warning vpxd[03619] [Originator@6876 sub=vmmoVm opID=408cee58] New local path path for VM [vim.VirtualMachine:vm-40781,template-centos-6] is empty. Ignoring the change - vpxa will report the new path shortly
2021-01-04T22:26:52.246Z error vpxd[03619] [Originator@6876 sub=provisioning opID=408cee58] Unable to register template ds:///vmfs/volumes/5ab1058b-7d6e9626-ddb5-001018d6af90/template-centos-6/template-centos-6.vmtx as VM
2021-01-04T22:26:52.264Z error vpxd[03619] [Originator@6876 sub=SOAP-3 opID=408cee58] Method vim.VirtualMachine.markAsVirtualMachine threw undeclared fault of type vim.fault.NotFound
2021-01-04T22:26:52.264Z info vpxd[03619] [Originator@6876 sub=vpxLro opID=408cee58] [VpxLRO] -- FINISH task-276953
2021-01-04T22:26:52.264Z info vpxd[03619] [Originator@6876 sub=Default opID=408cee58] [VpxLRO] -- ERROR task-276953 -- vm-40781 -- vim.VirtualMachine.markAsVirtualMachine: vim.fault.NotFound:
--&amp;gt; Result:
--&amp;gt; (vim.fault.NotFound) {
--&amp;gt;    faultCause = (vmodl.MethodFault) null,
--&amp;gt;    faultMessage = (vmodl.LocalizableMessage) [
--&amp;gt;       (vmodl.LocalizableMessage) {
--&amp;gt;          key = "com.vmware.vim.vpxd.dvs.portNotFound.label",
--&amp;gt;          arg = (vmodl.KeyAnyValue) [
--&amp;gt;             (vmodl.KeyAnyValue) {
--&amp;gt;                key = "port",
--&amp;gt;                value = "51970"
--&amp;gt;             }
--&amp;gt;          ],
--&amp;gt;          message = &amp;lt;unset&amp;gt;
--&amp;gt;       }
--&amp;gt;    ]
--&amp;gt;    msg = ""
--&amp;gt; }
--&amp;gt; Args:
--&amp;gt;
--&amp;gt; Arg pool:
--&amp;gt; 'vim.ResourcePool:resgroup-33696'
--&amp;gt; Arg host:
--&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 23:48:48 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vSphere-Discussions/vSphere-7-0-1-Convert-Template-to-VM-fails-with-vim-fault/m-p/2820654#M37391</guid>
      <dc:creator>cfmorrell</dc:creator>
      <dc:date>2021-01-04T23:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: vSphere 7.0.1 Convert Template to VM fails with vim.fault.NotFound</title>
      <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/vSphere-7-0-1-Convert-Template-to-VM-fails-with-vim-fault/m-p/2820733#M37392</link>
      <description>&lt;P&gt;com.vmware.vim.vpxd.dvs.portNotFound.label&amp;nbsp; &amp;nbsp;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Seems the template has an old dvs port info . Update the template&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 07:52:17 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vSphere-Discussions/vSphere-7-0-1-Convert-Template-to-VM-fails-with-vim-fault/m-p/2820733#M37392</guid>
      <dc:creator>Ajay1988</dc:creator>
      <dc:date>2021-01-05T07:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: vSphere 7.0.1 Convert Template to VM fails with vim.fault.NotFound</title>
      <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/vSphere-7-0-1-Convert-Template-to-VM-fails-with-vim-fault/m-p/2820759#M37393</link>
      <description>&lt;P&gt;&lt;a href="https://communities.vmware.com/t5/user/viewprofilepage/user-id/5454590"&gt;@cfmorrell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Moderator: Moved to &lt;STRONG&gt;vSphere Discussions&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 09:03:20 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vSphere-Discussions/vSphere-7-0-1-Convert-Template-to-VM-fails-with-vim-fault/m-p/2820759#M37393</guid>
      <dc:creator>scott28tt</dc:creator>
      <dc:date>2021-01-05T09:03:20Z</dc:date>
    </item>
  </channel>
</rss>

