Comment 18 for bug 1833623

Revision history for this message
Maher AlAsfar (malasfar) wrote :

Hi Ryan

Can you please check the logs for this.. this a rising issue that is happen quite often from customers i have dealt with.

Configuration
===============
VMs to be provisioned on vSphere 6.7 U2
template is Ubuntu 16.04.6 LTS with Cloud-init 19.1 and Open-vm-tools 10304 (10.2.0)

sudo dpkg-reconfigure cloud-init and selected OVF and NONE
/lib/systemd/system/Open-vm-tools.service Contain:

[Unit]
Description=Service for virtual machines hosted on VMware
Documentation=http://open-vm-tools.sourceforge.net/about.php
ConditionVirtualization=vmware
DefaultDependencies=no
Before=cloud-init-local.service
After=local-fs.target
After=dbus.socket

[Service]
ExecStart=/usr/bin/vmtoolsd
TimeoutStopSec=5

[Install]
WantedBy=multi-user.target

Cloud Config Code contain :
      cloudConfig: |
        #cloud-config

        repo_update: true
        repo_upgrade: all

        packages:
         - mysql-server

ran sudo cloud-init clean --log before converting to a template.

Result
=======

Tasks Invoked by vCenter when provisioning by the automation tool from the prepared template

- Clone Virtual Machine from Template
- Reconfigure Virutal Machine
- Customize Virutal Machine Guest OS
- Power on Virtual Machine
 During the boot time the network state is disconnected
 Waits 5 min on A start job is running for Raise network interfaces during post then continues to boot
- VMware Customization starts and successful, listed in the VM Events in vCenter
- VM reboots and the network shows as connected now
- IP provied from Static IP Range
- Hostname is Updated
- Cloud config fails to execute in the right order at it seems it ran when there was no network connectivity and before the vmware customization to finish.

Note: No vCenter Customization Specification used here.

Logs attached can you provide any recommendation on how to fix this or if you can confirm if its a bug today.

i m really trying here and i just need a little support

thank you