Shutdown scripts do not run on 1404 images with gce-compute-image-packages installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gce-compute-image-packages (Ubuntu) |
Fix Released
|
Undecided
|
Philip Roche | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* Trusty images with gce-compute-
[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-
touch /home/ubuntu/
reboot or shutdown this instance. Upon restarting the instance you will notice that /home/ubuntu/
[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-
_Original Description_
Trusty images with gce-compute-
Image daily-ubuntu-
Related branches
description: | updated |
Changed in gce-compute-image-packages (Ubuntu): | |
status: | Fix Committed → Fix Released |
Fix where GCE shutdown scripts are run during shutdown when using Upstart