Tony Breeds 6bc905c348 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.

Closes-Bug: 1449056
Change-Id: Ibb291c1ecfd109f9ed10b5f194933364985cc1ce
2015-06-01 16:23:13 +10:00
..
2015-04-08 10:28:17 -04:00
2015-05-15 19:14:19 +10:00
2014-12-10 11:28:05 -05:00
2015-05-28 15:43:06 +02:00
2015-03-20 09:48:43 -05:00
2015-04-20 12:27:32 -04:00
2015-05-12 16:49:49 +00:00
2015-04-03 16:18:14 +00:00
2014-12-23 17:20:30 -08:00
2015-05-27 12:22:05 +01:00
2015-04-08 10:28:17 -04:00
lvm
2015-04-23 22:12:15 +00:00
2015-05-15 14:01:20 +10:00
2015-03-28 14:35:12 -05:00
2015-03-28 14:35:12 -05:00
2014-12-10 11:28:05 -05:00
tls
2015-03-28 14:35:12 -05:00
2015-04-08 10:28:17 -04:00