Update API version of monitored Cinder
When checking response of Cinder API, a pattern match is done. As of now, it is checked if "version 1" is installed. This version is not supported any longer since Cinder train release, as mentioned in release notes: https://docs.openstack.org/releasenotes/python-cinderclient/train.html Now, http_check of monasca-agent accepts all known API versions: 1-3 Change-Id: I22b32bcc49760a2da38310aed8e04e44f691a974 Story: 2008021 Task: 40673
This commit is contained in:
parent
caffc7fbcf
commit
e021416e60
@ -27,7 +27,7 @@ class Cinder(monasca_setup.detection.ServicePlugin):
|
|||||||
'process_names': ['cinder-scheduler',
|
'process_names': ['cinder-scheduler',
|
||||||
'cinder-api'],
|
'cinder-api'],
|
||||||
'service_api_url': 'http://localhost:8776/v2',
|
'service_api_url': 'http://localhost:8776/v2',
|
||||||
'search_pattern': '.*version=1.*'
|
'search_pattern': '.*version=[1-3].*'
|
||||||
}
|
}
|
||||||
# process_names: cinder-volume and cinder-backup can
|
# process_names: cinder-volume and cinder-backup can
|
||||||
# migrate legitimately so monitor those selectively
|
# migrate legitimately so monitor those selectively
|
||||||
|
Loading…
Reference in New Issue
Block a user