https://:8004/v1 is 361 characters
STATUS: HTTP/1.1 401 Unauthorized
HEADER
Date: Tue, 30 Jul 2019 12:36:06 GMT
Server: Apache/2.4.18 (Ubuntu)
Content-Type: application/json
Content-Length: 114
Www-Authenticate: Keystone uri='https://:5000'
Connection: close
CONTENT
{"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
Status line output matched "Unauthorized" -
HTTP CRITICAL: Status line output matched "Unauthorized" - header 'X-Openstack-Request-Id' not found on 'https://:8004/v1' - 361 bytes in 0.014 second response time |time=0.014371s;;;0.000000 size=361B;;;0
[FQDNs obscured]
Compare Ocata:
$ /usr/lib/nagios/plugins/check_http -H -p 8004 -u /v1 -e Unauthorized -d X-Openstack-Request-Id -S -v
GET /v1 HTTP/1.1
User-Agent: check_http/v2.1.2 (monitoring-plugins 2.1.2)
Connection: close
Host: :8004
https://:8004/v1 is 361 characters
STATUS: HTTP/1.1 401 Unauthorized
HEADER
Date: Tue, 30 Jul 2019 12:36:06 GMT
Server: Apache/2.4.18 (Ubuntu)
Content-Type: application/json
Content-Length: 114
Www-Authenticate: Keystone uri='https://:5000'
Connection: close
CONTENT
{"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
Status line output matched "Unauthorized" -
HTTP CRITICAL: Status line output matched "Unauthorized" - header 'X-Openstack-Request-Id' not found on 'https://:8004/v1' - 361 bytes in 0.014 second response time |time=0.014371s;;;0.000000 size=361B;;;0
With Queens:
$ /usr/lib/nagios/plugins/check_http -H -p 8004 -u /v1 -e Unauthorized -d X-Openstack-Request-Id -S -v
SSL initialized
GET /v1 HTTP/1.1
User-Agent: check_http/v2.2 (monitoring-plugins 2.2)
Connection: close
Host: :8004
https://:8004/v1 is 431 characters
STATUS: HTTP/1.1 401 Unauthorized
HEADER
Date: Tue, 30 Jul 2019 12:34:32 GMT
Server: Apache/2.4.29 (Ubuntu)
Content-Type: application/json
Content-Length: 114
Www-Authenticate: Keystone uri=':5000/v3'
X-Openstack-Request-Id: req-99bc10a7-6d36-4103-9b7b-9bf85b48e2d7
Connection: close
CONTENT
{"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
Status line output matched "Unauthorized" -
HTTP OK: Status line output matched "Unauthorized" - 431 bytes in 0.025 second response time |time=0.025235s;;;0.000000;10.000000 size=431B;;;0
The charm should request a match on header X-Openstack-Request-Id only if it's running in versions above Ocata.
Imported from Launchpad using lp2gh.
date created: 2019-07-30T12:40:46Z
owner: aieri
assignee: None
the launchpad url