kolla-ansible/ansible
Mark Goddard 192dcd1e1b Fix booting instances after nova-compute upgrade
After upgrading from Rocky to Stein, nova-compute services fail to start
new instances with the following error message:

Failed to allocate the network(s), not rescheduling.

Looking in the nova-compute logs, we also see this:

Neutron Reported failure on event
network-vif-plugged-60c05a0d-8758-44c9-81e4-754551567be5 for instance
32c493c4-d88c-4f14-98db-c7af64bf3324: NovaException: In shutdown, no new
events can be scheduled

During the upgrade process, we send nova containers a SIGHUP to cause
them to reload their object version state. Speaking to the nova team in
IRC, there is a known issue with this, caused by oslo.service performing
a full shutdown in response to a SIGHUP, which breaks nova-compute.
There is a patch [1] in review to address this.

The workaround employed here is to restart the nova compute service.

[1] https://review.openstack.org/#/c/641907

Change-Id: Ia4fcc558a3f62ced2d629d7a22d0bc1eb6b879f1
Closes-Bug: #1821362
2019-03-22 16:26:36 +00:00
..
action_plugins Fix action_plugins python3 compatibility 2019-03-14 23:39:26 +01:00
group_vars Update openstack_previous_release_name to rocky 2019-03-22 15:05:19 +00:00
inventory Support the prometheus elasticsearch exporter 2019-03-11 17:25:51 +03:00
library Fix kolla-docker possible undefined variable 2019-03-10 19:13:00 +01:00
roles Fix booting instances after nova-compute upgrade 2019-03-22 16:26:36 +00:00
bifrost.yml Factor out OpenStack release detection playbook 2018-11-29 15:49:41 +00:00
certificates.yml Make the certificates role just run on deploy node 2018-03-20 19:57:30 +08:00
destroy.yml Give plays in the playbooks a name 2016-12-05 15:40:56 +00:00
detect-release.yml Factor out OpenStack release detection playbook 2018-11-29 15:49:41 +00:00
gather-facts.yml Fix fact gathering with --limit 2018-12-07 14:49:27 +00:00
kolla-host.yml Merge "Support Docker CE in bootstrap-servers" 2018-12-28 12:21:26 +00:00
mariadb_backup.yml Factor out OpenStack release detection playbook 2018-11-29 15:49:41 +00:00
mariadb_recovery.yml Factor out OpenStack release detection playbook 2018-11-29 15:49:41 +00:00
post-deploy.yml Use correct variable for default certificate paths 2018-11-19 16:25:28 +00:00
site.yml Split placement from nova 2019-03-15 15:19:54 +00:00