commit 6bc905c3488a93fa87776bcd0af7e362a90b082f
Author: Tony Breeds <email address hidden>
Date: Fri May 15 12:51:43 2015 +1000
Change the restart_rpc_backend loop to accomodate async rabbitmq
Some distros have converted to systemd for starting RabbitMQ. This has
resulted in:
---
[Call Trace]
./stack.sh:904:restart_rpc_backend
/home/stack/projects/openstack/openstack-dev/devstack/lib/rpc_backend:201:die
[ERROR] /home/stack/projects/openstack/openstack-dev/devstack/lib/rpc_backend:201 Failed to set rabbitmq password
Error on exit
World dumping... see /opt/stack/logs/worlddump-2015-05-29-031618.txt for details
---
Because 'restart_service rabbitmq-server' returns before the server is ready to
accept connections.
Alter the retry loop to only restart the rabbitmq-server every second time
through the loop. Allowing time for the slow rabbit to start.
Reviewed: https:/ /review. openstack. org/186641 /git.openstack. org/cgit/ openstack- dev/devstack/ commit/ ?id=6bc905c3488 a93fa87776bcd0a f7e362a90b082f
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6bc905c3488a93f a87776bcd0af7e3 62a90b082f
Author: Tony Breeds <email address hidden>
Date: Fri May 15 12:51:43 2015 +1000
Change the restart_rpc_backend loop to accomodate async rabbitmq
Some distros have converted to systemd for starting RabbitMQ. This has sh:904: restart_ rpc_backend stack/projects/ openstack/ openstack- dev/devstack/ lib/rpc_ backend: 201:die projects/ openstack/ openstack- dev/devstack/ lib/rpc_ backend: 201 Failed to set rabbitmq password logs/worlddump- 2015-05- 29-031618. txt for details
resulted in:
---
[Call Trace]
./stack.
/home/
[ERROR] /home/stack/
Error on exit
World dumping... see /opt/stack/
---
Because 'restart_service rabbitmq-server' returns before the server is ready to
accept connections.
Alter the retry loop to only restart the rabbitmq-server every second time
through the loop. Allowing time for the slow rabbit to start.
Closes-Bug: 1449056 f9ed10b5f194933 364985cc1ce
Change-Id: Ibb291c1ecfd109