[Bug 1667277] [NEW] Shutdown scripts do not run on 1404 images with gce-compute-image-packages installed
Launchpad Bug Tracker
1667277 at bugs.launchpad.net
Thu Feb 23 12:33:34 UTC 2017
You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):
[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.
** Affects: gce-compute-image-packages (Ubuntu)
Importance: Undecided
Assignee: Philip Roche (philroche)
Status: In Progress
** Tags: patch
--
Shutdown scripts do not run on 1404 images with gce-compute-image-packages installed
https://bugs.launchpad.net/bugs/1667277
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list