Please update to upstream release 20210608.1

Bug #1938553 reported by Utkarsh Gupta
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
google-osconfig-agent (Ubuntu)
Fix Released
Undecided
Utkarsh Gupta
Bionic
Fix Released
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned
Hirsute
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

This package is provided by Google for installation within guests that run on Google Compute Engine. It is part of a collection of tools and daemons, that ensure that the Ubuntu images published to GCE run properly on their platform.

Cloud platforms evolve at a rate that can't be handled in six-month increments, and they will often develop features that they would like to be available to customers who don't want to upgrade from earlier Ubuntu releases. As such, updating this package to more recent upstream releases is required within all Ubuntu releases, so they continue to function properly in their environment.

[Test Case]

When a new version of this package is uploaded to -proposed, the following will be done:

 * an image based on -proposed will be built for GCE and published to the ubuntu-os-cloud-devel project
 * the CPC team will write new automated tests to cover new testable functionality (if any) in the new package
 * the automated testing that the CPC team normally runs against GCE images before they are published will be run against the -proposed image
 * the GCE team will be asked to validate that the new package addresses the issues it is expected to address, and that the image passes their internal image validation.

If all the testing indicates that the image containing the new package is acceptable, verification will be considered to be done.

[Other Information]

This bug is used for tracking of releasing the new upstream version for all supported series, as per the approved policy mentioned in the following MRE:

https://wiki.ubuntu.com/gce-compute-image-packages-Updates

The updated package is not built for armhf and riscv64 due to upstream regressions but the package is not used on those architectures thus please release the SRU without the armhf and risc64 binaries.

The package does not build for powerpc on Xenial, but this is OK since it is not used on powerpc either.

Utkarsh Gupta (utkarsh)
Changed in google-osconfig-agent (Ubuntu):
assignee: nobody → Utkarsh Gupta (utkarsh)
Revision history for this message
Andrew Jackura (ajackura) wrote :

If you are having build issues related to the e2e_test binary I bet it is because it uses a separate go.mod from the main binary. Both binaries do build fine at each tag though, but if you are not using e2e tests I would suggest just skipping building that binary.

On another note I am about to validate 20210723.00 (assumed all tests pass should be marked 'stable' next week) if you prefer to pull that.

Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Hi Andrew,

[commenting here as well for posterity]

> Both binaries do build fine at each tag though [...]

Thanks for letting me know. The currently marked "stable" release (+ e2e test fixes) indeed work fine. There were other problems with the build due to having vendored libraries which also needed an update. For instance, guest-logging-go/logger, agentendpoint/v1, and cos/tools.git/src/pkg/cos. After working through all of this, I've got the package to build and all the tests are passing, et al.

I'll do a quick smoke test today and plan to get this uploaded to Impish (the current devel release) and will start to backport all the packages from thereon. Should you have any questions or concerns, please let me know. Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package google-osconfig-agent - 20210608.1-0ubuntu1

---------------
google-osconfig-agent (20210608.1-0ubuntu1) impish; urgency=medium

  * New upstream version 20210608.1. (LP: #1938553)
  * d/extra/vendor:
    - Update vendored guest-logging-go/logger.
    - Update vendored agentendpoint/v1.
    - Update vendored cos/tools.git/src/pkg/cos.

 -- Utkarsh Gupta <email address hidden> Fri, 30 Jul 2021 18:35:05 +0530

Changed in google-osconfig-agent (Ubuntu):
status: New → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Utkarsh, or anyone else affected,

Accepted google-osconfig-agent into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/google-osconfig-agent/20210608.1-0ubuntu1~21.04.0 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, what testing has been performed on the package and change the tag from verification-needed-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. 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 for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in google-osconfig-agent (Ubuntu Hirsute):
status: New → Fix Committed
tags: added: verification-needed verification-needed-hirsute
Changed in google-osconfig-agent (Ubuntu Focal):
status: New → Fix Committed
tags: added: verification-needed-focal
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Utkarsh, or anyone else affected,

Accepted google-osconfig-agent into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/google-osconfig-agent/20210608.1-0ubuntu1~20.04.0 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, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. 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 for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Utkarsh, or anyone else affected,

Accepted google-osconfig-agent into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/google-osconfig-agent/20210608.1-0ubuntu1~18.04.0 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, what testing has been performed on the package 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 for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in google-osconfig-agent (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Utkarsh, or anyone else affected,

Accepted google-osconfig-agent into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/google-osconfig-agent/20210608.1-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, what testing has been performed on the package 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 for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (google-osconfig-agent/20210608.1-0ubuntu1~18.04.1)

All autopkgtests for the newly accepted google-osconfig-agent (20210608.1-0ubuntu1~18.04.1) for bionic have finished running.
The following regressions have been reported in tests triggered by the package:

google-osconfig-agent/20210608.1-0ubuntu1~18.04.1 (armhf)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/bionic/update_excuses.html#google-osconfig-agent

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

> The following regressions have been reported in tests triggered
> by the package:
>
> google-osconfig-agent/20210608.1-0ubuntu1~18.04.1 (armhf)

I simply re-triggered the autopkgtest and it's passing now. So all good here.

Revision history for this message
Pat Viafore (patviafore) wrote :

Canonical's public cloud team has verified that images built with the proposed packages pass the same testing that we do on regular GCE images.

tags: added: verification-done-hirsute
removed: verification-needed-hirsute
tags: added: verification-done-bionic verification-done-focal
removed: verification-needed-bionic verification-needed-focal
Pat Viafore (patviafore)
tags: added: verification-needed-bionic verification-needed-focal verification-needed-hirsute
removed: verification-done-bionic verification-done-focal verification-done-hirsute
Revision history for this message
Pat Viafore (patviafore) wrote :

## Conclusion

Due to the completion of Google's testing and my own verification, I am
marking verification-complete for all releases.

## Notes

Testing of the new Google guest agents was primarily performed by
Google themselves. They have given the +1. In addition, these images
have gone through testing from the Canonical Public Cloud team.

From my own testing images were produced with the guest agents
directly from proposed and uploaded to GCE. These are the same images
that Google used in their own testing.

I verified:

1) The versions of packages
2) that the services were running/completed successfully
3) that my account and other project accounts were created
4) correct SSH keys were imported
5) the new packages provided parity with the existing agents.

Bionic:

google-osconfig-agent 20210608.1-0ubuntu1~18.04.1

systemctl status google-osconfig-agent
● google-osconfig-agent.service - Google OSConfig Agent
   Loaded: loaded (/lib/systemd/system/google-osconfig-agent.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2021-09-22 20:06:20 UTC; 4 days ago
 Main PID: 1096 (google_osconfig)
    Tasks: 11 (limit: 4666)
   CGroup: /system.slice/google-osconfig-agent.service
           └─1096 /usr/bin/google_osconfig_agent

Focal:
 google-osconfig-agent 20210608.1-0ubuntu1~20.04.0

 systemctl status google-osconfig-agent

 ● google-osconfig-agent.service - Google OSConfig Agent
     Loaded: loaded (/lib/systemd/system/google-osconfig-agent.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2021-09-22 20:04:06 UTC; 4 days ago
   Main PID: 569 (google_osconfig)
      Tasks: 10 (limit: 4705)
     Memory: 22.8M
     CGroup: /system.slice/google-osconfig-agent.service
             └─569 /usr/bin/google_osconfig_agent

Hirsute:
google-osconfig-agent 20210608.1-0ubuntu1~21.04.0

systemctl status google-osconfig-agent
● google-osconfig-agent.service - Google OSConfig Agent
     Loaded: loaded (/lib/systemd/system/google-osconfig-agent.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2021-09-22 20:07:17 UTC; 4 days ago
   Main PID: 579 (google_osconfig)
      Tasks: 8 (limit: 4700)
     Memory: 22.4M
     CGroup: /system.slice/google-osconfig-agent.service
             └─579 /usr/bin/google_osconfig_agent

tags: added: verification-done-bionic verification-done-focal verification-done-hirsute
removed: verification-needed-bionic verification-needed-focal verification-needed-hirsute
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package google-osconfig-agent - 20210608.1-0ubuntu1~18.04.1

---------------
google-osconfig-agent (20210608.1-0ubuntu1~18.04.1) bionic; urgency=medium

  * d/rules: Set GO111MODULE to "off" to avoid
    using internet during build.

google-osconfig-agent (20210608.1-0ubuntu1~18.04.0) bionic; urgency=medium

  * Rebuild for Bionic. (LP: #1938553)
    - Lower dh-compat to 11.
    - Use golang-1.13-go instead of golang-any.

 -- Utkarsh Gupta <email address hidden> Wed, 08 Sep 2021 22:42:39 +0530

Changed in google-osconfig-agent (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for google-osconfig-agent has completed successfully and the package is now being 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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package google-osconfig-agent - 20210608.1-0ubuntu1~20.04.0

---------------
google-osconfig-agent (20210608.1-0ubuntu1~20.04.0) focal; urgency=medium

  * No-change rebuild for Focal. (LP: #1938553)

 -- Utkarsh Gupta <email address hidden> Fri, 03 Sep 2021 14:04:44 +0530

Changed in google-osconfig-agent (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package google-osconfig-agent - 20210608.1-0ubuntu1~21.04.0

---------------
google-osconfig-agent (20210608.1-0ubuntu1~21.04.0) hirsute; urgency=medium

  * No-change rebuild for Hirsute. (LP: #1938553)

 -- Utkarsh Gupta <email address hidden> Fri, 03 Sep 2021 13:57:39 +0530

Changed in google-osconfig-agent (Ubuntu Hirsute):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.