[nova] access to /nova vhost not allowed during limited rollout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Medium
|
Mohammed Naser | ||
Rocky |
Fix Committed
|
Undecided
|
Christian Zunker | ||
Stein |
Fix Released
|
Medium
|
Mohammed Naser | ||
Train |
Fix Released
|
Medium
|
Mohammed Naser |
Bug Description
OSA Version 18.1.0
We have a three controller setup with APIs running on each controller and a RabbitMQ cluster spanning all three controllers.
I wanted to roll out a config change to nova and limited it to only one of the three controllers to reduce downtime.
But the roll out affected all the controllers. In the nova-scheduler logs I got error messages like this one:
2019-04-17 17:03:13.080 159781 ERROR oslo.messaging.
2019-04-17 17:03:13.080 159781 ERROR oslo.messaging.
2019-04-17 17:03:13.081 159781 ERROR root [-] Unexpected exception occurred 2 time(s)... retrying.: MessageDelivery
2019-04-17 17:03:13.081 159781 ERROR root Traceback (most recent call last):
2019-04-17 17:03:13.081 159781 ERROR root File "/openstack/
2019-04-17 17:03:13.081 159781 ERROR root return infunc(*args, **kwargs)
2019-04-17 17:03:13.081 159781 ERROR root File "/openstack/
2019-04-17 17:03:13.081 159781 ERROR root batch_size=
2019-04-17 17:03:13.081 159781 ERROR root File "/openstack/
2019-04-17 17:03:13.081 159781 ERROR root message = func(in_self, timeout=
2019-04-17 17:03:13.081 159781 ERROR root File "/openstack/
2019-04-17 17:03:13.081 159781 ERROR root self.conn.
2019-04-17 17:03:13.081 159781 ERROR root File "/openstack/
2019-04-17 17:03:13.081 159781 ERROR root error_callback=
2019-04-17 17:03:13.081 159781 ERROR root File "/openstack/
2019-04-17 17:03:13.081 159781 ERROR root raise exceptions.
2019-04-17 17:03:13.081 159781 ERROR root MessageDelivery
2019-04-17 17:03:13.081 159781 ERROR root
2019-04-17 17:03:13.201 159778 ERROR oslo.messaging.
The above error message is from the logs where I changed nova. The other two controllers show the same error message or a shorter version:
2019-04-17 17:03:13.971 133396 ERROR oslo.messaging.
2019-04-17 17:03:14.006 133389 ERROR oslo.messaging.
2019-04-17 17:03:14.006 133395 ERROR oslo.messaging.
2019-04-17 17:03:14.283 133393 INFO oslo.messaging.
2019-04-17 17:03:14.307 133391 WARNING oslo.messaging.
This is reproducable. I started the playbook for each controller and had the same problem during each roll out:
sudo openstack-ansible os-nova-install.yml -l "ctr1*"
sudo openstack-ansible os-nova-install.yml -l "ctr2*"
sudo openstack-ansible os-nova-install.yml -l "ctr3*"
This is already fixed here:
https:/ /review. opendev. org/#/c/ 648887/