[Yahoo-eng-team] [Bug 1752711] Re: cloud-init no longer processes user data on GCE in artful
This bug is believed to be fixed in cloud-init in 18.2. If this is still a problem for you, please make a comment and set the state back to New Thank you. ** Changed in: cloud-init Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1752711 Title: cloud-init no longer processes user data on GCE in artful Status in cloud-init: Fix Released Status in cloud-init package in Ubuntu: Fix Released Status in cloud-init source package in Xenial: Fix Released Status in cloud-init source package in Artful: Fix Released Status in cloud-init source package in Bionic: Fix Released Bug description: === Begin SRU Template === [Impact] Any user-data provided when creating google cloud instances is ignored so no instance customization is observed. This is a silent failure and no tracebacks in cloud-init represent that failure to the user. Providing a simple cloud-config to set a hostname will provide a quick validation of cloud-init observing user-data. [Test Case] # Create cloud-config which should change the hostname, and cli prompt $ cat > sethostname.yaml
[Yahoo-eng-team] [Bug 1752711] Re: cloud-init no longer processes user data on GCE in artful
This bug was fixed in the package cloud-init - 17.2-35-gf576b2a2-0ubuntu1~16.04.2 --- cloud-init (17.2-35-gf576b2a2-0ubuntu1~16.04.2) xenial-proposed; urgency=medium * cherry-pick 40e7738: GCE: fix reading of user-data that is not base64 encoded. (LP: #1752711) cloud-init (17.2-35-gf576b2a2-0ubuntu1~16.04.1) xenial-proposed; urgency=medium * New upstream snapshot. (LP: #1747059) - tests: add support for logs with lxd from snap and future lxd 3. - EC2: Fix get_instance_id called against cached datasource pickle. - cli: fix cloud-init status to report running when before result.json - net: accept network-config in netplan format for renaming interfaces - Fix ssh keys validation in ssh_util [Tatiana Kholkina] -- Chad Smith Thu, 01 Mar 2018 16:05:39 -0700 ** Changed in: cloud-init (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1752711 Title: cloud-init no longer processes user data on GCE in artful Status in cloud-init: Fix Committed Status in cloud-init package in Ubuntu: Fix Released Status in cloud-init source package in Xenial: Fix Released Status in cloud-init source package in Artful: Fix Released Status in cloud-init source package in Bionic: Fix Released Bug description: === Begin SRU Template === [Impact] Any user-data provided when creating google cloud instances is ignored so no instance customization is observed. This is a silent failure and no tracebacks in cloud-init represent that failure to the user. Providing a simple cloud-config to set a hostname will provide a quick validation of cloud-init observing user-data. [Test Case] # Create cloud-config which should change the hostname, and cli prompt $ cat > sethostname.yaml
[Yahoo-eng-team] [Bug 1752711] Re: cloud-init no longer processes user data on GCE in artful
This bug was fixed in the package cloud-init - 17.2-35-gf576b2a2-0ubuntu1~17.10.2 --- cloud-init (17.2-35-gf576b2a2-0ubuntu1~17.10.2) artful-proposed; urgency=medium * cherry-pick 40e7738: GCE: fix reading of user-data that is not base64 encoded. (LP: #1752711) -- Chad Smith Thu, 01 Mar 2018 16:03:46 -0700 ** Changed in: cloud-init (Ubuntu Artful) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1752711 Title: cloud-init no longer processes user data on GCE in artful Status in cloud-init: Fix Committed Status in cloud-init package in Ubuntu: Fix Released Status in cloud-init source package in Xenial: Fix Committed Status in cloud-init source package in Artful: Fix Released Status in cloud-init source package in Bionic: Fix Released Bug description: === Begin SRU Template === [Impact] Any user-data provided when creating google cloud instances is ignored so no instance customization is observed. This is a silent failure and no tracebacks in cloud-init represent that failure to the user. Providing a simple cloud-config to set a hostname will provide a quick validation of cloud-init observing user-data. [Test Case] # Create cloud-config which should change the hostname, and cli prompt $ cat > sethostname.yaml
[Yahoo-eng-team] [Bug 1752711] Re: cloud-init no longer processes user data on GCE in artful
This bug was fixed in the package cloud-init - 18.1-5-g40e77380-0ubuntu1 --- cloud-init (18.1-5-g40e77380-0ubuntu1) bionic; urgency=medium * New upstream snapshot. - GCE: fix reading of user-data that is not base64 encoded. (LP: #1752711) - doc: fix chef install from apt packages example in RTD. - Implement puppet 4 support [Romanos Skiadas] (LP: #1446804) - subp: Fix subp usage with non-ascii characters when no system locale. (LP: #1751051) - salt: configure grains in grains file rather than in minion config. [Daniel Wallace] -- Chad Smith Thu, 01 Mar 2018 15:47:04 -0700 ** Changed in: cloud-init (Ubuntu Bionic) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1752711 Title: cloud-init no longer processes user data on GCE in artful Status in cloud-init: Fix Committed Status in cloud-init package in Ubuntu: Fix Released Status in cloud-init source package in Xenial: Confirmed Status in cloud-init source package in Artful: Confirmed Status in cloud-init source package in Bionic: Fix Released Bug description: If I pass in user data like so: $ cat cfg #!/bin/sh touch /tmp/foobar $ gcloud compute instances create aa-$(date +%y%m%d-%H%M) --image-family ubuntu-1710 --image-project ubuntu-os-cloud-devel --metadata-from-file user-data=cfg ... Then in the instance: $ ls /tmp/foobar $ sudo cat /var/lib/cloud/instance/user-data.txt $ curl "http://metadata.google.internal/computeMetadata/v1/instance/attributes/user-data"; -H "Metadata-Flavor: Google" #/bin/sh touch /tmp/foobar To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1752711/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1752711] Re: cloud-init no longer processes user data on GCE in artful
** Changed in: cloud-init Status: New => Confirmed ** Changed in: cloud-init Importance: Undecided => High ** Also affects: cloud-init (Ubuntu) Importance: Undecided Status: New ** Changed in: cloud-init (Ubuntu) Status: New => Confirmed ** Changed in: cloud-init (Ubuntu) Importance: Undecided => High ** Also affects: cloud-init (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: cloud-init (Ubuntu Bionic) Importance: High Status: Confirmed ** Also affects: cloud-init (Ubuntu Artful) Importance: Undecided Status: New ** Changed in: cloud-init (Ubuntu Xenial) Status: New => Confirmed ** Changed in: cloud-init (Ubuntu Artful) Status: New => Confirmed ** Changed in: cloud-init (Ubuntu Xenial) Importance: Undecided => Critical ** Changed in: cloud-init (Ubuntu Artful) Importance: Undecided => Critical -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1752711 Title: cloud-init no longer processes user data on GCE in artful Status in cloud-init: Confirmed Status in cloud-init package in Ubuntu: Confirmed Status in cloud-init source package in Xenial: Confirmed Status in cloud-init source package in Artful: Confirmed Status in cloud-init source package in Bionic: Confirmed Bug description: If I pass in user data like so: $ cat cfg #!/bin/sh touch /tmp/foobar $ gcloud compute instances create aa-$(date +%y%m%d-%H%M) --image-family ubuntu-1710 --image-project ubuntu-os-cloud-devel --metadata-from-file user-data=cfg ... Then in the instance: $ ls /tmp/foobar $ sudo cat /var/lib/cloud/instance/user-data.txt $ curl "http://metadata.google.internal/computeMetadata/v1/instance/attributes/user-data"; -H "Metadata-Flavor: Google" #/bin/sh touch /tmp/foobar To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1752711/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp