Delay between retries on ceilometer-upgrade
Ceilometer-upgrade is in a race with the keystone catalog for the metric entry. The function already has a retry on error loop. Bump up the delay between retries to mitigate the race with keystone. Change-Id: I7fdf36a1cf480607744dcfed9628f0bf9e6daac0
This commit is contained in:
parent
aa9443f85c
commit
bc64054066
|
@ -524,7 +524,7 @@ def disable_package_apache_site():
|
|||
subprocess.check_call(['a2dissite', 'ceilometer-api'])
|
||||
|
||||
|
||||
@retry_on_exception(5, exc_type=subprocess.CalledProcessError)
|
||||
@retry_on_exception(5, base_delay=60, exc_type=subprocess.CalledProcessError)
|
||||
def ceilometer_upgrade():
|
||||
"""Execute ceilometer-upgrade command, with retry on failure if gnocchi
|
||||
API is not ready for requests"""
|
||||
|
|
Loading…
Reference in New Issue