nova/nova
Flavio Percoco ecb058de33 User a more accurate max_delay for reconnects
In an HA deployment, a 60 seconds delay between reconnects can be quite
problematic. This patch changes the delay calculation by setting the max
delay to 5s and by changing the way it is increased.

Unfortunately, this is one of the places where both our main drivers are
not consistent. Rabbit's driver uses configuration parameters for this
whereas qpid's driver has never had one. However, I would prefer not
adding configuration paremeters to qpid's driver for the following
reasons:

    1. Most of OpenStack services depend on the messaging layer, hence
    they need it to be available. A 5s delay seems to be reasonable and
    I could argue the need of tune it further. Although so frequent
    reconnects can add load to the network, that wouldn't be the main
    issue if one of the brokers go down.
    2. We're trying to move away from configuration options towards using
    transport URL. This path is still not clear and I would
    prefer avoiding adding new options until we clear it out.

Closes-bug: #1281148

Change-Id: I537015f452eb770acba41fdedfe221628f52a920
(cherry picked from commit 8b628d1e024f787dbb93d508117d9148388c0590)
2014-03-28 09:39:43 +01:00
..
CA
api neutron_metadata_proxy_shared_secret should not be written to log file 2014-03-17 22:32:43 +00:00
cells Correct use of ConfigFilesNotFoundError 2013-10-10 10:25:01 -04:00
cert Port all rpcapi modules to oslo.messaging interface 2013-09-03 21:22:43 +01:00
cloudpipe Remove exceptions.Duplicate 2013-09-24 15:41:28 +10:00
cmd Fix all scripts to honor the enabled_ssl_apis flag 2013-10-30 22:22:07 +00:00
compute Merge "Take a vm out of SNAPSHOTTING after Glance error" into stable/havana 2014-03-19 15:05:23 +00:00
conductor Make Serializer able to backlevel objects 2013-12-16 10:51:05 -08:00
console Fix console db can't load attribute pool 2013-09-25 16:35:00 +08:00
consoleauth Port all rpcapi modules to oslo.messaging interface 2013-09-03 21:22:43 +01:00
db Grizzly to Havana Upgrade wipes out Nova quota_usages 2014-03-21 15:56:03 -07:00
hacking Remove "N309 Python 3.x incompatible construct" 2013-08-14 11:29:55 +02:00
image Don't wrap Glance exceptions in NovaExceptions 2013-09-26 02:59:23 +00:00
ipv6 Fix and Gate on H303 (no wildcard imports) 2013-07-30 14:34:31 -07:00
keymgr Wire in ConfKeyManager._generate_hex_key! 2013-09-13 07:08:51 -04:00
locale Imported Translations from Transifex 2013-10-02 06:06:26 +00:00
network Pass thru credentials to allow re-authentication 2014-03-27 10:23:01 -07:00
objects Make Serializer able to backlevel objects 2013-12-16 10:51:05 -08:00
objectstore Add HEAD api response for test s3 server BucketHandler 2014-02-08 23:16:54 -08:00
openstack User a more accurate max_delay for reconnects 2014-03-28 09:39:43 +01:00
pci Check for None when cleaning PCI dev usage 2013-10-30 11:04:24 -04:00
scheduler Remove _get_compute_info from filter_scheduler.py 2013-09-25 15:02:56 +08:00
servicegroup Make compute_api use Service and ComputeNode objects 2013-08-29 00:18:46 -07:00
spice
storage Remove the monkey patching of _ into the builtins 2013-07-26 07:31:17 -07:00
tests Merge "Pass thru credentials to allow re-authentication" into stable/havana 2014-03-28 04:39:13 +00:00
virt Merge "Use block_device_info at post_live_migration_at_destination" into stable/havana 2014-03-27 21:23:54 +00:00
vnc Remove the monkey patching of _ into the builtins 2013-07-26 07:31:17 -07:00
volume Pass volume_api to get_encryption_metadata 2013-10-30 13:55:07 +01:00
__init__.py
availability_zones.py Merge "Fix unicode key of azcache can't be stored to memcache" 2013-09-02 11:31:22 +00:00
baserpc.py Port all rpcapi modules to oslo.messaging interface 2013-09-03 21:22:43 +01:00
block_device.py Enable libvirt driver to use the new BDM format 2013-09-05 10:02:00 +02:00
config.py
context.py Pop extra keys from context in from_dict() 2013-08-22 08:30:12 +01:00
crypto.py Improve "keypair data is invalid" error message 2013-09-16 13:15:12 -07:00
exception.py Persist image format to a file, to prevent attacks based on changing it 2014-03-27 15:59:48 +01:00
filters.py Remove the monkey patching of _ into the builtins 2013-07-26 07:31:17 -07:00
hooks.py Remove the monkey patching of _ into the builtins 2013-07-26 07:31:17 -07:00
loadables.py
manager.py Port to oslo.messaging.Notifier API 2013-09-05 06:26:01 +01:00
netconf.py Better default for my_ip if 8.8.8.8 is unreachable 2013-06-26 15:10:39 -04:00
notifications.py Correct deleted_at value in notification messages 2013-09-20 13:30:24 +00:00
notifier.py Port to oslo.messaging.Notifier API 2013-09-05 06:26:01 +01:00
paths.py
policy.py Remove the monkey patching of _ into the builtins 2013-07-26 07:31:17 -07:00
quota.py Merge "Fix `NoopQuotaDriver.get_(project|user)_quotas` format" into stable/havana 2014-02-09 23:14:21 +00:00
rpcclient.py Port all rpcapi modules to oslo.messaging interface 2013-09-03 21:22:43 +01:00
safe_utils.py
service.py Fix setting backdoor port in service start 2013-10-30 14:54:49 -04:00
test.py Add support for API message localization 2013-09-03 03:12:10 +00:00
utils.py Persist image format to a file, to prevent attacks based on changing it 2014-03-27 15:59:48 +01:00
version.py Remove locals() from various places. 2013-07-17 09:30:48 +04:00
weights.py
wsgi.py maint: remove redundant default=None for config options 2013-08-09 02:05:04 +01:00