[Bug 1667277] Re: Shutdown scripts do not run on 1404 images with gce-compute-image-packages installed
Ubuntu Foundations Team Bug Bot
1667277 at bugs.launchpad.net
Thu Feb 23 12:33:35 UTC 2017
The attachment "lp1667277-fix-shutdown-script-ordering-upstart.debdiff"
seems to be a debdiff. The ubuntu-sponsors team has been subscribed to
the bug report so that they can review and hopefully sponsor the
debdiff. If the attachment isn't a patch, please remove the "patch"
flag from the attachment, remove the "patch" tag, and if you are member
of the ~ubuntu-sponsors, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1667277
Title:
Shutdown scripts do not run on 1404 images with gce-compute-image-
packages installed
Status in gce-compute-image-packages package in Ubuntu:
In Progress
Bug description:
[Impact]
* Trusty images with gce-compute-image-packages package installed do
not run shutdown scripts.
[Test Case]
We have a number of automated tests that run against all GCE builds
that include this package.
* There are numerous tests:
* ntp conf
* expected packages are installed
* expected services are running
* SSH access
* Kernel Config
* Hosts file is as expected
These run as part of Ubuntu cloud image for GCE creation.
All of these tests pass.
* The simplest way to test this patch manually is to launch a GCE
instance with this package installed specifying a shutdown script
`gcloud compute instances create daily-ubuntu-shutdown2-1404-trusty-v20170222-2 --image-project ubuntu-os-cloud-devel --image "daily-ubuntu-shutdown2-1404-trusty-v20170222" --metadata shutdown-script="#! /bin/bash
touch /home/ubuntu/shutdowntrusty.txt"`
reboot or shutdown this instance. Upon restarting the instance you
will notice that /home/ubuntu/shutdowntrusty.txt has been created.
[Regression Potential]
* Most harmful regression potential is GCE instance not shutting
down. This has been tested and is not the case.
[Other Info]
* This change has been requested by GCE and is a requirement for any
future Ubuntu cloud images for GCE. They are very eager to get this
fixed.
* Should you wish to test/observe previous behaviour, image daily-
ubuntu-philroche-1404-trusty-v20170216 in ubuntu-os-cloud-devel has
the previous version of the package installed and does not run the
shutdown scripts.
_Original Description_
Trusty images with gce-compute-image-packages package installed so not
run shutdown scripts.
Image daily-ubuntu-philroche-1404-trusty-v20170216 in ubuntu-os-cloud-
devel is one such image.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gce-compute-image-packages/+bug/1667277/+subscriptions
More information about the Ubuntu-sponsors
mailing list