** Description changed: + [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.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1667277 Title: Shutdown scripts do not run on 1404 images with gce-compute-image- packages installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gce-compute-image-packages/+bug/1667277/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs