2016-07-29 14:34:38 |
Roland Sommer |
bug |
|
|
added bug |
2016-07-29 14:34:38 |
Roland Sommer |
attachment added |
|
Fix typo in cc_phone_home.py https://bugs.launchpad.net/bugs/1607810/+attachment/4709517/+files/0001-Fix-typo-in-default-keys-for-phone_home.patch |
|
2016-07-29 14:35:07 |
Roland Sommer |
description |
The cloud-init phone_home default list of keys includes 'fdqn' but it should be 'fqdn'. This is loggen in the cloud-init logfiles, because the key 'fdqn' does not exist. |
The cloud-init phone_home default list of keys includes 'fdqn' but it should be 'fqdn'. This is logged in the cloud-init logfiles, because the key 'fdqn' does not exist. |
|
2016-07-29 14:35:24 |
Roland Sommer |
description |
The cloud-init phone_home default list of keys includes 'fdqn' but it should be 'fqdn'. This is logged in the cloud-init logfiles, because the key 'fdqn' does not exist. |
The cloud-init phone_home default list of keys to post back includes 'fdqn' but it should be 'fqdn'. This is logged in the cloud-init logfiles, because the key 'fdqn' does not exist. |
|
2016-09-02 13:27:36 |
Scott Moser |
cloud-init: status |
New |
Confirmed |
|
2016-09-02 13:27:40 |
Scott Moser |
cloud-init: importance |
Undecided |
Medium |
|
2016-09-02 13:40:08 |
Scott Moser |
cloud-init: status |
Confirmed |
Fix Committed |
|
2016-09-12 20:50:51 |
Scott Moser |
cloud-init: status |
Fix Committed |
Fix Released |
|
2016-09-12 21:04:47 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu) |
|
2016-09-12 21:06:44 |
Scott Moser |
cloud-init (Ubuntu): status |
New |
Fix Released |
|
2016-09-12 21:06:47 |
Scott Moser |
cloud-init (Ubuntu): importance |
Undecided |
Medium |
|
2016-09-12 21:06:53 |
Scott Moser |
nominated for series |
|
Ubuntu Xenial |
|
2016-09-12 21:06:53 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu Xenial) |
|
2016-09-12 21:07:14 |
Scott Moser |
cloud-init (Ubuntu Xenial): status |
New |
In Progress |
|
2016-09-12 21:07:17 |
Scott Moser |
cloud-init (Ubuntu Xenial): importance |
Undecided |
Medium |
|
2016-09-13 20:15:23 |
Chris J Arges |
cloud-init (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2016-09-13 20:15:26 |
Chris J Arges |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-09-13 20:15:29 |
Chris J Arges |
bug |
|
|
added subscriber SRU Verification |
2016-09-13 20:15:35 |
Chris J Arges |
tags |
|
verification-needed |
|
2016-09-13 20:59:44 |
Scott Moser |
description |
The cloud-init phone_home default list of keys to post back includes 'fdqn' but it should be 'fqdn'. This is logged in the cloud-init logfiles, because the key 'fdqn' does not exist. |
==== Begin SRU Template ====
[Impact]
A feature of cloud-init to post its fully qualified domain name
to a web service was broken.
[Test Case]
## Recreate failure
$ cat >user-data <<EOF
#cloud-config
phone_home:
url: http://requestb.in/1b51ma71
post: all
tries: 3
EOF
$ lxc launch ubuntu-daily:xenial x1 "--config=user.user-data=$(cat user-data)"
$ lxc exec x1 -- grep WARN /var/log/cloud-init.log
Sep 13 20:52:09 ubuntu [CLOUDINIT] cc_phone_home.py[WARNING]: Requested key fdqn from 'post' configuration list not available
## Now update container, clean and reboot to show first boot
$ lxc exec x1 -- sh -c '
p=/etc/apt/sources.list.d/proposed.list
echo deb http://archive.ubuntu.com/ubuntu xenial-proposed main > "$p" &&
apt-get update -q && apt-get -qy install cloud-init'
$ lxc exec x1 -- sh -c '
cd /var/lib/cloud && for d in *; do [ "$d" = "seed" ] || rm -Rf "$d"; done
rm -Rf /var/log/cloud-init*'
$ lxc exec x1 reboot
$ lxc exec x1 -- grep WARN /var/log/cloud-init.log || echo no warn
no warn
# at this point https://requestb.in/1b51ma71?inspect will show the POST
# and will have 'fqdn' of x1.localdomain.
[Regression Potential]
Low risk of regression. Fix of typo.
==== End SRU Template ====
The cloud-init phone_home default list of keys to post back includes 'fdqn' but it should be 'fqdn'. This is logged in the cloud-init logfiles, because the key 'fdqn' does not exist. |
|
2016-09-14 20:12:31 |
Scott Moser |
tags |
verification-needed |
verification-done |
|
2016-09-15 14:29:49 |
Martin Pitt |
tags |
verification-done |
|
|
2016-09-15 14:29:51 |
Martin Pitt |
tags |
|
verification-needed |
|
2016-09-16 06:41:39 |
Roland Sommer |
tags |
verification-needed |
verification-done |
|
2016-09-22 17:34:08 |
Launchpad Janitor |
cloud-init (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2016-09-22 17:35:00 |
Chris J Arges |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2023-05-10 15:22:21 |
James Falcon |
bug watch added |
|
https://github.com/canonical/cloud-init/issues/2702 |
|