Reviewed: https://review.openstack.org/340832 Committed: https://git.openstack.org/cgit/openstack/charm-neutron-gateway/commit/?id=68ea83e60d4930b6c80a910c3ef5465c5f34416b Submitter: Jenkins Branch: master
commit 68ea83e60d4930b6c80a910c3ef5465c5f34416b Author: James Page <james.p...@ubuntu.com> Date: Tue Jul 12 10:57:28 2016 +0100 Avoid restart races for nova-api-metadata It's possible that the nova-api-metadata will startup during the time that the nova-conductor processes on the nova-cloud-controller units are still starting up, resulting in a messaging timeout which causes the daemon to exit 0. Upstart will restart a service in this scenario, however systemd is configured in packaging to only restart 'on-failure' so will not attempt to restart. This points to two other bugs - one that a messaging timeout results in a exit code of 0, and that the OpenStack services under systemd behave differently to under upstart. Install an override file for systemd based installs to mimic the behaviour of upstart, and deal with a code logic problem in the restart_trigger handling to ensure that the charm does at least try to restart the nova-api-metadata service at the right points in time. Change-Id: Ia08b7840efa33fd301d0e2c55bb30ae1a102cbfa Closes-Bug: 1547122 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1547122 Title: xenial: nova-api-metadata not running post deployment To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openstack-pkg-tools/+bug/1547122/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs