2018-04-26 17:28:44 |
Scott Moser |
bug |
|
|
added bug |
2018-04-26 17:28:51 |
Scott Moser |
cloud-init: status |
New |
Confirmed |
|
2018-04-26 17:28:55 |
Scott Moser |
cloud-init: importance |
Undecided |
Medium |
|
2018-04-26 17:29:01 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu) |
|
2018-04-26 17:29:08 |
Scott Moser |
cloud-init (Ubuntu): status |
New |
Confirmed |
|
2018-04-26 17:29:11 |
Scott Moser |
cloud-init (Ubuntu): importance |
Undecided |
Medium |
|
2018-04-26 20:28:47 |
Scott Moser |
merge proposal linked |
|
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/344546 |
|
2018-04-26 21:30:35 |
Ryan Harper |
cloud-init: status |
Confirmed |
Fix Committed |
|
2018-04-26 21:36:59 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/344560 |
|
2018-04-30 19:50:28 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/342334 |
|
2018-04-30 21:06:27 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/344866 |
|
2018-04-30 21:12:09 |
Launchpad Janitor |
merge proposal unlinked |
https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/344866 |
|
|
2018-05-01 14:37:18 |
Scott Moser |
nominated for series |
|
Ubuntu Xenial |
|
2018-05-01 14:37:18 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu Xenial) |
|
2018-05-01 14:37:18 |
Scott Moser |
nominated for series |
|
Ubuntu Cc-series |
|
2018-05-01 14:37:18 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu Cc-series) |
|
2018-05-01 14:37:18 |
Scott Moser |
nominated for series |
|
Ubuntu Bionic |
|
2018-05-01 14:37:18 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu Bionic) |
|
2018-05-01 14:37:42 |
Scott Moser |
nominated for series |
|
Ubuntu Artful |
|
2018-05-01 14:37:42 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu Artful) |
|
2018-05-01 14:38:02 |
Scott Moser |
cloud-init (Ubuntu Bionic): importance |
Medium |
Low |
|
2018-05-01 14:38:10 |
Scott Moser |
cloud-init (Ubuntu Bionic): status |
Confirmed |
Fix Committed |
|
2018-05-01 14:38:19 |
Scott Moser |
cloud-init (Ubuntu Cc-series): status |
New |
Fix Committed |
|
2018-05-01 14:38:25 |
Scott Moser |
cloud-init (Ubuntu Cc-series): importance |
Undecided |
Low |
|
2018-05-01 14:38:34 |
Scott Moser |
cloud-init (Ubuntu Xenial): status |
New |
In Progress |
|
2018-05-01 14:38:40 |
Scott Moser |
cloud-init (Ubuntu Xenial): importance |
Undecided |
Medium |
|
2018-05-01 14:38:43 |
Scott Moser |
cloud-init (Ubuntu Artful): status |
New |
Confirmed |
|
2018-05-01 14:38:47 |
Scott Moser |
cloud-init (Ubuntu Artful): importance |
Undecided |
Medium |
|
2018-05-01 15:58:27 |
Scott Moser |
description |
When IBMCloud deploys from a template, artifacts from the
provisioning stage are normally cleaned up. Cloud-init relied'
on that behavior to determine the provisioning boot from the subsequent
post-provisioning boot.
However, when testing, the provisioning stage will leave artifacts
in place (/root/provisioningConfiguration.cfg). This caused cloud-init
to permenantly believe that it was in the provisioning stage. |
=== Begin SRU Template ===
[Impact]
Cloud-init is disabled in the provisioning state. If provisioning
artifacts are left around after debug mode, cloud-init remains disabled
and doesn't properly configure the instance.
This issue only affects images that are being tested by IBM before official
publication. Once officially published, the images will have a 'production'
tag, and bug does not reproduce.
As such, it is believed that a regular end user is not really able to produce.
[Test Case]
cat > sethostname.yaml <<EOF
#cloud-config
runcmd:
- [sh, '-c', 'cat /proc/uptime > /run/runcmd-ran.txt']
EOF
VM_IP=`launch-softlayer --pubkey-file ~/.ssh/id_rsa.pub -u sethostname.yaml -i os:xenial | awk '/primary ip/{printf "root@%s", $3}'`
ssh root@$VM_IP -- dpkg-query --show cloud-init;
ssh root@$VM_IP -- cloud-init status --long;
ssh root@$VM_IP -- cloud-init analyze show;
ssh root@$VM_IP -- sh -c '
mirror=http://archive.ubuntu.com/ubuntu
echo deb $mirror $(lsb_release -sc)-proposed main | tee /etc/apt/sources.list.d/proposed.list
apt-get update -q
apt-get install -qy cloud-init';
ssh root@$VM_IP -- DEBUG_LEVEL=2 DI_LOG=stderr /usr/lib/cloud-init/ds-identify --force 2>&1 | grep provision
ssh root@$VM_IP -- cloud-init clean --logs --reboot;
ssh root@$VM_IP -- egrep 'provisioning|swinstall' /var/log/cloud-init.log
ssh root@$VM_IP -- grep provision /run/cloud-init/ds-identify.log
[Regression Potential]
Regression will still be limited to softlayer instances as code changes are
limited to softlayer datasource detection in ds-identify and
DataSourceIBMCloud.
[Other Info]
Upstream commit at
https://git.launchpad.net/cloud-init/commit/?id=44a44ae18
This bug is currently fixed in bionic-proposed version
(18.2-27-g6ef92c98-0ubuntu1~18.04.1) and
cloud-init trunk, so first upload to ubuntu 'cc' will have it fixed.
=== End SRU Template ===
When IBMCloud deploys from a template, artifacts from the
provisioning stage are normally cleaned up. Cloud-init relied'
on that behavior to determine the provisioning boot from the subsequent
post-provisioning boot.
However, when testing, the provisioning stage will leave artifacts
in place (/root/provisioningConfiguration.cfg). This caused cloud-init
to permenantly believe that it was in the provisioning stage. |
|
2018-05-01 16:01:38 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/344901 |
|
2018-05-02 01:18:11 |
Chris Halse Rogers |
cloud-init (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2018-05-02 01:18:18 |
Chris Halse Rogers |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-05-02 01:18:24 |
Chris Halse Rogers |
bug |
|
|
added subscriber SRU Verification |
2018-05-02 01:18:33 |
Chris Halse Rogers |
tags |
|
verification-needed verification-needed-xenial |
|
2018-05-02 01:21:13 |
Chris Halse Rogers |
cloud-init (Ubuntu Artful): status |
Confirmed |
Fix Committed |
|
2018-05-02 01:21:31 |
Chris Halse Rogers |
tags |
verification-needed verification-needed-xenial |
verification-needed verification-needed-artful verification-needed-xenial |
|
2018-05-04 02:12:11 |
Chad Smith |
tags |
verification-needed verification-needed-artful verification-needed-xenial |
verification-done verification-done-artful verification-done-xenial |
|
2018-05-08 17:28:39 |
Launchpad Janitor |
cloud-init (Ubuntu Artful): status |
Fix Committed |
Fix Released |
|
2018-05-08 17:28:51 |
Ćukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2018-05-08 17:29:16 |
Launchpad Janitor |
cloud-init (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2018-05-12 12:34:15 |
Francis Ginther |
tags |
verification-done verification-done-artful verification-done-xenial |
id-5af5b24a9d4d32fbfbbac8b0 verification-done verification-done-artful verification-done-xenial |
|
2018-05-25 20:04:50 |
Chad Smith |
cloud-init: status |
Fix Committed |
Fix Released |
|
2018-05-25 20:05:24 |
Chad Smith |
cloud-init (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-06-20 18:04:54 |
Scott Moser |
cloud-init: status |
Fix Released |
Fix Committed |
|
2018-06-20 18:06:27 |
Scott Moser |
cloud-init: status |
Fix Committed |
Fix Released |
|
2023-05-11 12:58:39 |
James Falcon |
bug watch added |
|
https://github.com/canonical/cloud-init/issues/3167 |
|
2023-08-30 14:04:05 |
Chad Smith |
cloud-init (Ubuntu): status |
Fix Committed |
Fix Released |
|