New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be nice if cloud-init provides full version in logs #3175
Comments
Launchpad user Scott Moser(smoser) wrote on 2018-05-12T01:18:08.185184+00:00 We can just add the same mechanism for packaging to patch in the version that we have in curtin. |
Launchpad user Scott Moser(smoser) wrote on 2018-05-22T20:12:58.078248+00:00 An upstream commit landed for this bug. To view that commit see the following URL: |
Launchpad user Launchpad Janitor(janitor) wrote on 2018-06-04T19:53:14.015840+00:00 This bug was fixed in the package cloud-init - 18.2-64-gbbcc5e82-0ubuntu1 cloud-init (18.2-64-gbbcc5e82-0ubuntu1) cosmic; urgency=medium
-- Chad Smith chad.smith@canonical.com Mon, 04 Jun 2018 12:18:16 -0600 |
Launchpad user Scott Moser(smoser) wrote on 2018-06-20T18:05:59.125460+00:00 This bug is believed to be fixed in cloud-init in version 18.3. If this is still a problem for you, please make a comment and set the state back to New Thank you. |
Launchpad user Brian Murray(brian-murray) wrote on 2018-06-28T17:06:30.396092+00:00 Hello Andres, or anyone else affected, Accepted cloud-init into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/18.3-0ubuntu1~18.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! |
Launchpad user Brian Murray(brian-murray) wrote on 2018-06-28T17:42:12.550383+00:00 Hello Andres, or anyone else affected, Accepted cloud-init into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/18.3-0ubuntu1~17.10.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-artful to verification-done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-artful. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! |
Launchpad user Brian Murray(brian-murray) wrote on 2018-06-28T17:46:39.483256+00:00 Hello Andres, or anyone else affected, Accepted cloud-init into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/18.3-0ubuntu1~16.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! |
Launchpad user Steve Langasek(vorlon) wrote on 2018-07-10T20:59:30.137743+00:00 Hello Andres, or anyone else affected, Accepted cloud-init into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/18.3-9-g2e62cb8a-0ubuntu1~18.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! |
Launchpad user Steve Langasek(vorlon) wrote on 2018-07-10T21:03:21.661134+00:00 Hello Andres, or anyone else affected, Accepted cloud-init into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/18.3-9-g2e62cb8a-0ubuntu1~17.10.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-artful to verification-done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-artful. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! |
Launchpad user Steve Langasek(vorlon) wrote on 2018-07-10T21:10:16.804505+00:00 Hello Andres, or anyone else affected, Accepted cloud-init into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/18.3-9-g2e62cb8a-0ubuntu1~16.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! |
Launchpad user Chris Halse Rogers(raof) wrote on 2018-08-01T01:33:34.305470+00:00 Hello Andres, or anyone else affected, Accepted cloud-init into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/18.3-9-g2e62cb8a-0ubuntu1~16.04.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! |
Launchpad user Chris Halse Rogers(raof) wrote on 2018-08-01T01:55:31.293939+00:00 Hello Andres, or anyone else affected, Accepted cloud-init into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/18.3-9-g2e62cb8a-0ubuntu1~18.04.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! |
Launchpad user Chad Smith(chad.smith) wrote on 2018-08-01T20:05:45.701541+00:00 won't fixed artful as it is EOL as of June 20th, |
Launchpad user Chad Smith(chad.smith) wrote on 2018-08-01T20:11:16.021631+00:00 Verification logs originally testing xenial artful and bionic (even though artful it EOL) Launchpad attachments: lp-1770712.txt |
Launchpad user Launchpad Janitor(janitor) wrote on 2018-08-08T01:56:21.499600+00:00 This bug was fixed in the package cloud-init - 18.3-9-g2e62cb8a-0ubuntu1~18.04.2 cloud-init (18.3-9-g2e62cb8a-0ubuntu1~18.04.2) bionic-proposed; urgency=medium
cloud-init (18.3-9-g2e62cb8a-0ubuntu1~18.04.1) bionic-proposed; urgency=medium
cloud-init (18.3-0ubuntu1~18.04.1) bionic-proposed; urgency=medium
-- Chad Smith chad.smith@canonical.com Tue, 31 Jul 2018 12:58:16 -0600 |
Launchpad user Chris Halse Rogers(raof) wrote on 2018-08-08T01:56:30.880646+00:00 The verification of the Stable Release Update for cloud-init has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions. |
Launchpad user Launchpad Janitor(janitor) wrote on 2018-08-08T01:57:22.720631+00:00 This bug was fixed in the package cloud-init - 18.3-9-g2e62cb8a-0ubuntu1~16.04.2 cloud-init (18.3-9-g2e62cb8a-0ubuntu1~16.04.2) xenial-proposed; urgency=medium
cloud-init (18.3-9-g2e62cb8a-0ubuntu1~16.04.1) xenial-proposed; urgency=medium
cloud-init (18.3-0ubuntu1~16.04.1) xenial-proposed; urgency=medium
-- Chad Smith chad.smith@canonical.com Tue, 31 Jul 2018 13:57:21 -0600 |
This bug was originally filed in Launchpad as LP: #1770712
Launchpad details
Launchpad user Andres Rodriguez(andreserl) wrote on 2018-05-11T17:50:19.009401+00:00
=== Begin SRU Template ===
[Impact]
Cloud-init logs should now contain full packaged version of cloud-init on xenial, artful and bionic.
[Test Case]
We should see specific version and patch information
for series in xenial artful bionic;
do
echo '=== BEGIN ' $series ' ==='
ref=$series-proposed;
lxc delete test-$series --force;
lxc-proposed-snapshot -p -P $series $ref | egrep 'Creating|cloud-init';
lxc init $ref test-$series;
lxc start test-$series;
packaged_version=
lxc exec test-$series -- dpkg-query --show -f '${version}' cloud-init
;lxc exec test-$series -- grep $packaged_version /var/log/cloud-init.log;
lxc exec test-$series -- cloud-init --version;
done
Also, cloud-init --version should show the packaged version
it should contain a -0ubuntu portion.
$ cloud-init --version
/usr/bin/cloud-init 18.3-9-g2e62cb8a-0ubuntu1
[Regression Potential]
This really should be low chance of regression. The chance would be
if something is running 'cloud-init --version' and parsing the output,
or parsing the output of /var/log/cloud-init.log (or the console log).
Such specific parsing of a log seems brittle anyway. Parsing output
of --version that expected to not have a -0ubuntuX in it would need to
be updated.
[Other Info]
Upstream commit at
https://git.launchpad.net/cloud-init/commit/?id=525a9e8f
=== End SRU Template ===
[Test Case]
We should see specific version and patch information
$ packaged_version=$(dpkg-query --show -f '${version}' cloud-init)
$ grep $packaged_version /var/log/cloud-init.log # Expect to stage header logs
...
2018-07-10 19:33:16,406 - util.py[DEBUG]: Cloud-init v. 18.3-9-g2e62cb8a-0ubuntu1 running 'init-local' at Tue, 10 Jul 2018 19:33:16 +0000. Up 1.00 seconds.
Also, cloud-init --version should show the packaged version
it should contain a -0ubuntu portion.
$ cloud-init --version
/usr/bin/cloud-init 18.3-9-g2e62cb8a-0ubuntu1
[Regression Potential]
This really should be low chance of regression. The chance would be
if something is running 'cloud-init --version' and parsing the output,
or parsing the output of /var/log/cloud-init.log (or the console log).
Such specific parsing of a log seems brittle anyway. Parsing output
of --version that expected to not have a -0ubuntuX in it would need to
be updated.
[Other Info]
Upstream commit at
https://git.launchpad.net/cloud-init/commit/?id=525a9e8f
=== End SRU Template ===
=== Original Description ===
Cloud-init rsyslog has the major version of cloud-init:
May 11 17:40:51 maas-enlisting-node cloud-init[550]: Cloud-init v. 18.2 running 'init-local' at Fri, 11 May 2018 17:40:47 +0000. Up 15.63 seconds.
However, it would be nice if it places the whole version, so that we can now exactly what version of cloud-init its running, e.g:
May 11 17:40:51 maas-enlisting-node cloud-init[550]: Cloud-init v. 18.2 (27-g6ef92c98-0ubuntu1~18.04.1) running 'init-local' at Fri, 11 May 2018 17:40:47 +0000. Up 15.63 seconds.
The text was updated successfully, but these errors were encountered: