Nagios Service Checks Fail with Authentication Error (HTTP 401)

Bug #1200316 reported by Mark T. Voelker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cisco Openstack
Fix Released
Medium
Mark T. Voelker
Grizzly
Fix Released
Medium
Mark T. Voelker

Bug Description

In a fresh COI Grizzly g.0 install, we see two Nagios service checks fail. The checks are "Keystone" and "Nova-Api" on the control node, and both fail with the message:

The request you have made requires authentication. (HTTP 401)

Revision history for this message
Mark T. Voelker (mvoelker) wrote :

Thanks to Roman Krapf for the report. I'll take a look at this shortly.

Changed in openstack-cisco:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Mark T. Voelker (mvoelker)
Revision history for this message
Mark T. Voelker (mvoelker) wrote :

Just from a quick glance, I think issue here might be have to do with the check_keystone Nagios plugin being a bit outdated...it's either not passing credentials properly or isn't playing well with PKI tokens (which are a new feature in Grizzly).

Revision history for this message
Mark T. Voelker (mvoelker) wrote :

The issue appears to be that the plugin is being called with the wrong tenant. It's being called as:

./check_keystone --auth_url http://2.6.1.2:5000/v2.0/ --username admin --password somepassword --tenant openstack volume identity compute image network ec2

But the openstack tenant doesn't exist (this is expected in Grizzly). It should probably be getting called as:

./check_keystone --auth_url http://2.6.1.2:5000/v2.0/ --username admin --password somepassword --tenant admin volume identity compute image network ec2

Which would work fine.

Changed in openstack-cisco:
status: Triaged → In Progress
Revision history for this message
Mark T. Voelker (mvoelker) wrote :
Changed in openstack-cisco:
milestone: none → g.1
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.