Bug 1326958

Summary: [mitaka] Nagios plugin "glance-index" uses old syntax
Product: [Community] RDO Reporter: Jens Frank <jf>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED CURRENTRELEASE QA Contact: Shai Revivo <srevivo>
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, derekh, jpena, srevivo
Target Milestone: ---   
Target Release: Kilo   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-packstack-8.0.0-0.7.0rc2.el7.noarch Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-18 14:59:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jens Frank 2016-04-13 22:41:00 UTC
Description of problem:
/usr/lib64/nagios/plugins/glance-index returns the error message:
[...]
glance: error: unrecognized arguments: --all-tenants

Thus, nagios shows a critical alert for glance.


Version-Release number of selected component (if applicable):
openstack-packstack-puppet-8.0.0-0.20160303124552.0476b9b.el7.centos.noarch

How reproducible:
Install RDO following the instructions in https://www.rdoproject.org/testday/mitaka/ga/ and log in to Nagios

Steps to Reproduce:
1. Follow https://www.rdoproject.org/testday/mitaka/ga/
2. Log in to Nagios
3. Look for critical services

Actual results:
CRITICAL

Expected results:
OK

Additional info:
In the check script, the line
  data=$(glance image-list --all-tenants 2>&1)
needs to be replaced by
  data=$(glance image-list --member-status all 2>&1)

Comment 2 Javier Peña 2016-05-18 14:59:19 UTC
This was fixed by https://review.openstack.org/288912, and is now included in RDO Mitaka.