<?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 Nested ESXi guest customization fails intermittently in Nested Virtualization Discussions</title>
    <link>https://communities.vmware.com/t5/Nested-Virtualization/Nested-ESXi-guest-customization-fails-intermittently/m-p/2994957#M3255</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to get Guest customization working reliably between vCenter 7.0.3 and ESXi 8.0U2 guest OS.&lt;/P&gt;&lt;P&gt;I've followed all the advice from&amp;nbsp;&lt;A href="https://williamlam.com/2016/10/nested-esxi-enhancements-in-vsphere-6-5.html" target="_self"&gt;William Lam&lt;/A&gt;&amp;nbsp;and 7/10 times, identical attempts at cloning with guest customizations will work as expected with the new VM getting a new host name, IP and connecting to the network.&lt;/P&gt;&lt;P&gt;3/10 times the guest customization fails, I've attached the entire&amp;nbsp;&lt;SPAN&gt;/var/log/vmware-imc/toolsDeployPkg.txt from a failed attempt, but I believe the pertinent&amp;nbsp;part is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;DEBUG:imc.nested_esx_utils:['esxcli', 'network', 'ip', 'interface', 'list']&lt;BR /&gt;ERROR:root:(b'Connection failed: 503 Service Unavailable\n', 1)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So when the guest customization script tries to run the "esxi network ip interface list" command, the esxi service is responding with a 503.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I run the command manually afterwards it works fine, this leads me to believe that&amp;nbsp;the most likely scenario is that the ESX services haven't finished initializing by the time the guest customization is being started?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Has anyone else experienced this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to run commands on the guest os before the guest customization that I could leverage to fix this (sleep etc!)?&lt;/P&gt;</description>
    <pubDate>Thu, 09 Nov 2023 15:24:21 GMT</pubDate>
    <dc:creator>AndrewEa</dc:creator>
    <dc:date>2023-11-09T15:24:21Z</dc:date>
    <item>
      <title>Nested ESXi guest customization fails intermittently</title>
      <link>https://communities.vmware.com/t5/Nested-Virtualization/Nested-ESXi-guest-customization-fails-intermittently/m-p/2994957#M3255</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to get Guest customization working reliably between vCenter 7.0.3 and ESXi 8.0U2 guest OS.&lt;/P&gt;&lt;P&gt;I've followed all the advice from&amp;nbsp;&lt;A href="https://williamlam.com/2016/10/nested-esxi-enhancements-in-vsphere-6-5.html" target="_self"&gt;William Lam&lt;/A&gt;&amp;nbsp;and 7/10 times, identical attempts at cloning with guest customizations will work as expected with the new VM getting a new host name, IP and connecting to the network.&lt;/P&gt;&lt;P&gt;3/10 times the guest customization fails, I've attached the entire&amp;nbsp;&lt;SPAN&gt;/var/log/vmware-imc/toolsDeployPkg.txt from a failed attempt, but I believe the pertinent&amp;nbsp;part is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;DEBUG:imc.nested_esx_utils:['esxcli', 'network', 'ip', 'interface', 'list']&lt;BR /&gt;ERROR:root:(b'Connection failed: 503 Service Unavailable\n', 1)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So when the guest customization script tries to run the "esxi network ip interface list" command, the esxi service is responding with a 503.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I run the command manually afterwards it works fine, this leads me to believe that&amp;nbsp;the most likely scenario is that the ESX services haven't finished initializing by the time the guest customization is being started?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Has anyone else experienced this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to run commands on the guest os before the guest customization that I could leverage to fix this (sleep etc!)?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 15:24:21 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Nested-Virtualization/Nested-ESXi-guest-customization-fails-intermittently/m-p/2994957#M3255</guid>
      <dc:creator>AndrewEa</dc:creator>
      <dc:date>2023-11-09T15:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Nested ESXi guest customization fails intermittently</title>
      <link>https://communities.vmware.com/t5/Nested-Virtualization/Nested-ESXi-guest-customization-fails-intermittently/m-p/2995074#M3256</link>
      <description>&lt;P&gt;&lt;U&gt;Pls notice me when this is addressed&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 08:44:07 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Nested-Virtualization/Nested-ESXi-guest-customization-fails-intermittently/m-p/2995074#M3256</guid>
      <dc:creator>xuyenphungngoc</dc:creator>
      <dc:date>2023-11-10T08:44:07Z</dc:date>
    </item>
  </channel>
</rss>

