Daemons do not log output to serial console

Bug #1664949 reported by Dan Watkins
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gce-compute-image-packages (Ubuntu)
Fix Released
Undecided
Dan Watkins
Trusty
Fix Released
Undecided
Dan Watkins
Xenial
Fix Released
Undecided
Dan Watkins
Yakkety
Fix Released
Undecided
Dan Watkins
Zesty
Fix Released
Undecided
Dan Watkins

Bug Description

[Impact]

When attempting to debug startup issues, the serial console in the GCE web console is a useful tool. With gce-utils, the GCE daemons logged to the serial console, but that change has been dropped for gce-compute-image-packages.

[Test Case]

Launch an instance and observe Google daemon logging in the serial console. For example:

Feb 15 11:17:03 zesty-170215-1113 startup-script: INFO Starting startup scripts.

[Regression Potential]

Minimal; we are only adding a rsyslog rule to redirect the daemon output.

Related branches

Dan Watkins (oddbloke)
Changed in gce-compute-image-packages (Ubuntu Zesty):
assignee: nobody → Dan Watkins (daniel-thewatkins)
Changed in gce-compute-image-packages (Ubuntu Yakkety):
assignee: nobody → Dan Watkins (daniel-thewatkins)
Changed in gce-compute-image-packages (Ubuntu Xenial):
assignee: nobody → Dan Watkins (daniel-thewatkins)
Changed in gce-compute-image-packages (Ubuntu Zesty):
status: New → In Progress
Changed in gce-compute-image-packages (Ubuntu Yakkety):
status: New → In Progress
Changed in gce-compute-image-packages (Ubuntu Xenial):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gce-compute-image-packages - 20160930-0ubuntu5

---------------
gce-compute-image-packages (20160930-0ubuntu5) zesty; urgency=medium

  * Install upstream-provided rsyslog configuration so that daemons can log to
    the serial console. (LP: #1664949)

 -- Daniel Watkins <email address hidden> Wed, 15 Feb 2017 11:40:12 +0000

Changed in gce-compute-image-packages (Ubuntu Zesty):
status: In Progress → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Dan, or anyone else affected,

Accepted gce-compute-image-packages into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gce-compute-image-packages/20160930-0ubuntu5~16.10.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, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in gce-compute-image-packages (Ubuntu Yakkety):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Dan, or anyone else affected,

Accepted gce-compute-image-packages into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gce-compute-image-packages/20160930-0ubuntu5~16.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, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in gce-compute-image-packages (Ubuntu Xenial):
status: In Progress → Fix Committed
Revision history for this message
Dan Watkins (oddbloke) wrote :

I've built images from -proposed for both xenial and yakkety and confirmed that this is fixed. These images also passed our other automated testing.

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

This bug was fixed in the package gce-compute-image-packages - 20160930-0ubuntu5~16.10.0

---------------
gce-compute-image-packages (20160930-0ubuntu5~16.10.0) yakkety; urgency=medium

  * Backport to yakkety.

gce-compute-image-packages (20160930-0ubuntu5) zesty; urgency=medium

  * Install upstream-provided rsyslog configuration so that daemons can log to
    the serial console. (LP: #1664949)

gce-compute-image-packages (20160930-0ubuntu4) zesty; urgency=medium

  * Reintroduce udev rules that configure GCE-specific behaviour.
    (LP: #1662491)

 -- Daniel Watkins <email address hidden> Wed, 15 Feb 2017 12:59:02 +0000

Changed in gce-compute-image-packages (Ubuntu Yakkety):
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 gce-compute-image-packages 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.

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

This bug was fixed in the package gce-compute-image-packages - 20160930-0ubuntu5~16.04.0

---------------
gce-compute-image-packages (20160930-0ubuntu5~16.04.0) xenial; urgency=medium

  * Backport to xenial.

gce-compute-image-packages (20160930-0ubuntu5) zesty; urgency=medium

  * Install upstream-provided rsyslog configuration so that daemons can log to
    the serial console. (LP: #1664949)

gce-compute-image-packages (20160930-0ubuntu4) zesty; urgency=medium

  * Reintroduce udev rules that configure GCE-specific behaviour.
    (LP: #1662491)

gce-compute-image-packages (20160930-0ubuntu3~16.04.1) xenial; urgency=medium

  * Reintroduce udev rules that configure GCE-specific behaviour.
    (LP: #1662491)

 -- Daniel Watkins <email address hidden> Wed, 15 Feb 2017 13:07:36 +0000

Changed in gce-compute-image-packages (Ubuntu Xenial):
status: Fix Committed → Fix Released
Dan Watkins (oddbloke)
Changed in gce-compute-image-packages (Ubuntu Trusty):
assignee: nobody → Dan Watkins (daniel-thewatkins)
status: New → In Progress
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Dan, or anyone else affected,

Accepted gce-compute-image-packages into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gce-compute-image-packages/20160930-0ubuntu6~14.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, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in gce-compute-image-packages (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: removed: verification-done
tags: added: verification-needed
Revision history for this message
Dan Watkins (oddbloke) wrote :

As per https://wiki.ubuntu.com/gce-compute-image-packages-Updates, I have created a new image in ubuntu-os-cloud-devel (daily-ubuntu-console-1404-trusty-v20170424) and run all of our automated testing against it. The GCE team have confirmed that this image looks good to them.

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

This bug was fixed in the package gce-compute-image-packages - 20160930-0ubuntu6~14.04.0

---------------
gce-compute-image-packages (20160930-0ubuntu6~14.04.0) trusty; urgency=medium

  * Backport latest gce-compute-image-packages to trusty
    - Including the configuration to enable rsyslog logging to the serial
      console, as expected by Google's platform (LP: #1664949)
    - Removes the udev rule present in more recent versions that configures
      the noop scheduler as the udev package handles that in trusty

 -- Daniel Watkins <email address hidden> Thu, 27 Apr 2017 15:51:12 -0400

Changed in gce-compute-image-packages (Ubuntu Trusty):
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.