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 ** Attachment added: "Final Log" https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1833623/+attachment/5275746/+files/Final-cloud-init.tar.gz ** Attachment removed: "DB_VM Cloud-init Log" https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1833623/+attachment/5272129/+files/cloud-init.tar.gz ** Attachment removed: "cloud-init.tar.gz" https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1833623/+attachment/5274953/+files/cloud-init.tar.gz ** Attachment removed: "cloud-init.tar.gz" https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1833623/+attachment/5275077/+files/cloud-init.tar.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1833623 Title: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1833623/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
