yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83474
[Bug 1889938] [NEW] cmd: cloud-init query fails for juju units with UnicodeDecodeError
Public bug reported:
sudo cloud-init query --all fails on juju deployed units with the
following trace:
On some platforms (juju deployed instances and various openstack platforms), user-data is compressed when provided to the instance.
When deploying juju units in ec2 regions, user-data provided to the instance is gzip compressed.
The cloud-init query command attempts to load, decode and read raw
userdata content from /var/lib/cloud/instance/user-data.txt. In cases
where the user-data is gzip compressed, decoding fails.
Instead of reading raw user-data from /var/lib/cloud/instance/user-data.txt, cloud-init query command should read the already decompressed/decoded data /var/lib/cloud/instance/user-data.txt.i
if present.
** Affects: cloud-init
Importance: Medium
Status: Triaged
** Changed in: cloud-init
Status: New => Triaged
** Changed in: cloud-init
Importance: Undecided => Medium
--
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/1889938
Title:
cmd: cloud-init query fails for juju units with UnicodeDecodeError
Status in cloud-init:
Triaged
Bug description:
sudo cloud-init query --all fails on juju deployed units with the
following trace:
On some platforms (juju deployed instances and various openstack platforms), user-data is compressed when provided to the instance.
When deploying juju units in ec2 regions, user-data provided to the instance is gzip compressed.
The cloud-init query command attempts to load, decode and read raw
userdata content from /var/lib/cloud/instance/user-data.txt. In cases
where the user-data is gzip compressed, decoding fails.
Instead of reading raw user-data from /var/lib/cloud/instance/user-data.txt, cloud-init query command should read the already decompressed/decoded data /var/lib/cloud/instance/user-data.txt.i
if present.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1889938/+subscriptions
Follow ups