Merge "Fixes for Some oschecks"
This commit is contained in:
commit
2d4ee298a3
|
@ -45,9 +45,6 @@ def _check_ceilometer_api():
|
|||
|
||||
|
||||
elapsed, meters = utils.timeit(meters_list)
|
||||
if not meters:
|
||||
utils.critical("Unable to contact Ceilometer API.")
|
||||
|
||||
if elapsed > options.critical:
|
||||
utils.critical("Get meters took more than %d seconds, "
|
||||
"it's too long.|response_time=%d" %
|
||||
|
|
|
@ -50,9 +50,6 @@ def _check_cinder_api():
|
|||
utils.critical(str(ex))
|
||||
|
||||
elapsed, quotas = utils.timeit(quotas_list)
|
||||
if not quotas:
|
||||
utils.critical("Unable to contact cinder API.")
|
||||
|
||||
if elapsed > options.critical:
|
||||
utils.critical("Get quotas took more than %d seconds, "
|
||||
"it's too long.|response_time=%d" %
|
||||
|
|
|
@ -47,9 +47,6 @@ def _check_nova_api():
|
|||
utils.critical(str(ex))
|
||||
|
||||
elapsed, flavors = utils.timeit(flavors_list)
|
||||
if not flavors:
|
||||
utils.critical("Unable to contact nova API.")
|
||||
|
||||
if elapsed > options.critical:
|
||||
utils.critical("Get flavors took more than %d seconds, "
|
||||
"it's too long.|response_time=%d" %
|
||||
|
|
Loading…
Reference in New Issue