devstack/lib
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
..
cinder_backends Remove the lvm.conf filter during cleanup 2015-04-23 22:12:15 +00:00
cinder_plugins add shebang lines to all lib files 2014-12-10 11:28:05 -05:00
databases introduce pip_install_gr 2015-04-08 10:28:17 -04:00
neutron_plugins add the port_sec as default neutron/ml2 extension driver 2015-05-18 14:10:29 +08:00
neutron_thirdparty Rename lib/neutron to lib/neutron-legacy 2015-03-25 22:22:11 -04:00
nova_plugins Disable firewalld always 2015-05-15 19:14:19 +10:00
apache add shebang lines to all lib files 2014-12-10 11:28:05 -05:00
ceilometer Infer rootwrap arguments from project 2015-05-15 14:01:20 +10:00
ceph Enable F22 without the FORCE flag 2015-05-28 15:43:06 +02:00
cinder Merge "Infer rootwrap arguments from project" 2015-05-19 20:24:33 +00:00
database Add global venv enable/disable knob 2015-03-20 09:48:43 -05:00
dstat Add a peak memory tracker to dstat 2015-04-20 12:27:32 -04:00
glance glance: remove deprecated store options 2015-05-12 16:49:49 +00:00
heat Merge "iptables rule for heat pip mirror" 2015-04-03 16:18:14 +00:00
horizon Honor the flag for Identity v3 API only jobs 2015-05-27 14:27:30 -03:00
infra Always install latest pbr 2014-12-23 17:20:30 -08:00
ironic Ironic: Remove deprecated parameters 2015-05-27 12:22:05 +01:00
keystone Merge "Honor the flag for Identity v3 API only jobs" 2015-05-28 00:04:47 +00:00
ldap introduce pip_install_gr 2015-04-08 10:28:17 -04:00
lvm Remove the lvm.conf filter during cleanup 2015-04-23 22:12:15 +00:00
neutron-legacy Merge "Add /usr/local/bin to exec_dirs in rootwrap.conf" 2015-05-04 03:28:38 +00:00
nova Infer rootwrap arguments from project 2015-05-15 14:01:20 +10:00
oslo Mostly docs cleanups 2015-03-28 14:35:12 -05:00
rpc_backend Change the restart_rpc_backend loop to accomodate async rabbitmq 2015-06-01 16:23:13 +10:00
sahara Use correct conf file variable name in sahara 2015-05-26 15:34:11 -04:00
stack Mostly docs cleanups 2015-03-28 14:35:12 -05:00
swift lib/swift: the s3_token middleware should be provided by keystonemiddleware 2015-05-06 17:34:35 +02:00
tempest Merge "Honor the flag for Identity v3 API only jobs" 2015-05-28 00:04:47 +00:00
template add shebang lines to all lib files 2014-12-10 11:28:05 -05:00
tls Mostly docs cleanups 2015-03-28 14:35:12 -05:00
zaqar introduce pip_install_gr 2015-04-08 10:28:17 -04:00