[Bug 1833623] [NEW] VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-06-20 Thread Maher AlAsfar
Public bug reported: Hello, I yet to find an answer and i know there has many bugs reported in the past and i really need to know what we need to do to get this to work. Situation An automation tool is used to provision Ubuntu 16 VMs to vSphere/ESXi 6.7 U2 Steps I Followed to setup my Ubuntu

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-06-20 Thread Maher AlAsfar
** Description changed: Hello, I yet to find an answer and i know there has many bugs reported in the past and i really need to know what we need to do to get this to work. Situation An automation tool is used to provision Ubuntu 16 VMs to vSphere/ESXi 6.7 U2 - Steps I

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-06-21 Thread Maher AlAsfar
Sure thing! Attached thank you for looking into this this is a two machine deployment of Wordpress from an ubuntu 16.04 templated. Web and DB VMs . the tar ball is from the DB machine using a static IP Range for connectivity and the setting mentioned in the https://kb.vmware.com/s/article/56409

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-06-21 Thread Maher AlAsfar
** Description changed: Hello, - I yet to find an answer and i know there has many bugs reported in the - past and i really need to know what we need to do to get this to work. + I yet to find an answer and i know there has been many bugs reported in + the past and i really need to know what

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-04 Thread Maher AlAsfar
Test 14 Using DHCP 1- Install a fresh Ubuntu 16.04 Server 2- run sudo apt update && sudo apt upgrade 3- install Cloud init 4- if any delete /var/log/cloud-ini* from the VM before shutting it down and converting it to a template 5- run dpkg-reconfigure cloud-init and only select OVF only. 6- run

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-04 Thread Maher AlAsfar
Anyone can take a look .. if there was a training class for cloud-init online i would take it. documentation also doesn't talk about the process flow or show end to end examples. just cloud config syntax example. its like here the code go figure it out!! very frustrating. -- You received this

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-04 Thread Maher AlAsfar
Any Luck on the 2nd log collection based on what i followed in Step #9 -- 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

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-04 Thread Maher AlAsfar
Another approach i followed. is https://kb.vmware.com/s/article/59557 where i m disabling guest customization with cloud-init - Ubuntu 16.04 provisioned - Network connected - Ip provided from DHCP - Hostname was updated this time - Cloud config code wasn't deployed <--- Problem logs attached.

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-05 Thread Maher AlAsfar
Anyone i can work with live via a WebEx / zoom session on this, dedicated a couple of hours please email me at maheralas...@gmail.com and i ll send you an invite .. i just think this way its much a faster way to troubleshoot this and get to a resolution -- You received this bug notification

[Bug 1793715] Re: VMWare Guest OS Customization will fail for Ubuntu 18.04 Server LiveCD

2019-07-05 Thread Maher AlAsfar
what's the update on this as this continue to be an issue for customers using Ubuntu and cloud-init on vmware ? have we like reached a solution in terms of outlining the steps needed to be done for this to work ? Thank you -- You received this bug notification because you are a member of

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-10 Thread Maher AlAsfar
Folks like so far until someone says otherwise there using a static IP when provisioning a VM on vSphere from a template that includes cloud- init just doesn't work.. is anyone open to have a WebEx/zoom session to look into maybe understanding why this is still an issue. i have tried

[Bug 1822204] Re: open-vm-tools 10.3.10 released

2019-07-11 Thread Maher AlAsfar
folks how can i update to open-vm-tools 10.3.10 ... when installing Ubuntu i only get version 10.2.0 and there is no online updates thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1822204

[Bug 1793715] Re: VMWare Guest OS Customization will fail for Ubuntu 18.04 Server LiveCD

2019-07-12 Thread Maher AlAsfar
Hi @Pengpeng Sun (pengpengs) This is where i am with Ubuntu 16.04 Behaviour for deploying Ubuntu 16.04 VMs using Static IP from Automation tool After installing cloud-init Template Tasks Taken Deploy Ubuntu 16.04 from ISO sudo apt-get update && sudo apt-get upgrade sudo

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-12 Thread Maher AlAsfar
Just tested Ubuntu 18.04 ( same issue ) logs attached Behaviour for deploying Ubuntu 18 VMs using Static IP from Automation tool Automation tool maps an image iso to pass cloud-init user data Template work done -- Deploy Ubuntu 18.04 from iso sudo apt-get udpate && sudo apt-get

[Bug 1793715] Re: VMWare Guest OS Customization will fail for Ubuntu 18.04 Server LiveCD

2019-07-12 Thread Maher AlAsfar
@Pengpeng Sun (pengpengs) Just tested Ubuntu 18.04 ( same issue ) logs attached Behaviour for deploying Ubuntu 18 VMs using Static IP from Automation tool Automation tool maps an image iso to pass cloud-init user data Template work done -- Deploy Ubuntu 18.04 from iso sudo

[Bug 1793715] Re: VMWare Guest OS Customization will fail for Ubuntu 18.04 Server LiveCD

2019-07-13 Thread Maher AlAsfar
anyone can look at the logs i provided.. here we have a successful customization where the VM gets IP-ed , hostname is updated after the customization reboot. the problem now is that Cloud-init execute i think before the reboot when there is no network .. please if you have the time . take a look

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-08 Thread Maher AlAsfar
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

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-08 Thread Maher AlAsfar
This isn't going anywhere, nor getting any help .. please close the bug -- 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

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-03 Thread Maher AlAsfar
Anyone else can help with this we are trying to make cloud-init work when provisioning a ubuntu 16 on a sphere. -- 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

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-03 Thread Maher AlAsfar
hi Ryan . thank you for taking the time. this is a VMware Ubuntu 16.04 VM that later used as a template where we installed cloud-init top . as we prepare the template we do reboot the VM after .. i normally delete the cloud-init* logs from /var/log and maybe i didn't here... unless there is a

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-03 Thread Maher AlAsfar
i guessing based on https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1793715 i can't really disable cloud-init cause i need to execute the cloud config code that I'm pushing when i m provisioning the VM.. this leaves me that i need to set cloud-init to do the customization here .

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-03 Thread Maher AlAsfar
Hi Ryan With the automation tool we are using we are passing the cloud config user data information via an attached ISO via the vm CD-ROM .. should using dpkg-reconfigure cloud-init command to select only OVF as a data source should be enough in this case since we are only provision to VMware

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-03 Thread Maher AlAsfar
Hi Ryan Based on the https://bugs.launchpad.net/ubuntu/+source/open-vm- tools/+bug/1793715 which is really was around Ubuntu 18.04 i did the following after installing a new ubuntu 16.04 and turning into a template 1- Install a fresh Ubuntu 16.04 Server 2- run sudo apt update && sudo apt

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-03 Thread Maher AlAsfar
Hi Ryan Based on the https://bugs.launchpad.net/ubuntu/+source/open-vm- tools/+bug/1793715 which is really was around Ubuntu 18.04 i did the following after installing a new ubuntu 16.04 and turning into a template 1- Install a fresh Ubuntu 16.04 Server 2- run sudo apt update && sudo apt

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-07 Thread Maher AlAsfar
I have been spending so many cycle on this, here are the Testing Tasks around Ubuntu 16.04 Customization with Cloud-init on vSphere and its expected behaviour - - Create an Ubuntu 16.04 Virtual Machine on vSphere 6.7 U2. - Apply the latest updates and upgrades -> sudo apt-get update && sudo

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-15 Thread Maher AlAsfar
Thanks Joshua .. thats pretty much it. so at all times if i need to use Cloud Config / User data i must use cloud-init as well to do the customize instead of Perl . the problem is when i do that i have no network, no IP, no updated hostname update and of course no connectivity for anything to

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-15 Thread Maher AlAsfar
Thanks Joshua .. thats pretty much it yes So if i need to use Cloud Config / User data to execute scripts i must use cloud-init as well to do the customizization instead of using Perl ( VMware Customization ) baed on the provided KB [1]. The problem is when i do that i have no network, no IP, no

[Bug 1833623] Re: VMware Guest OS Customization Fail for Ubuntu 16.04 with Cloud-init 19.1

2019-07-15 Thread Maher AlAsfar
I have Setup the cloud-init as the customization engine, based on this KB [2] instead which is similar to above mentioned KB [1] but it with two extra steps Item 3 and 4. i also made sure i have removed the After=Dbus.service [2] https://kb.vmware.com/s/article/54986 The result is i see

[Bug 1793715] Re: VMWare Guest OS Customization will fail for Ubuntu 18.04 Server LiveCD

2019-07-07 Thread Maher AlAsfar
I have been spending so many cycle on this, here are the Testing Tasks around Ubuntu 16.04 Customization with Cloud-init and its expected behaviour for vSphere Provisioning Using After=dbus.socket doesn't work so stick the KB i mentioned below if you want to do it yourself its Test 2 with DHCP