Bug 1101665

Summary: el7 Icehouse: Nagios installation fails
Product: [Community] RDO Reporter: Lon Hohberger <lhh>
Component: openstack-packstackAssignee: Lukas Bezdicka <lbezdick>
Status: CLOSED CURRENTRELEASE QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: afazekas, aortega, derekh, ichavero, lbezdick, srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1096154 Environment:
Last Closed: 2016-05-18 06:43:40 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:
Embargoed:
Bug Depends On: 1096154    
Bug Blocks:    

Description Lon Hohberger 2014-05-27 17:37:04 UTC
+++ This bug was initially created as a clone of Bug #1096154 +++

Description of problem:
Nagios nrpe plugin installation fails.

Version-Release number of selected component (if applicable):

nagios-3.5.1-4.el7.x86_64
nagios-common-3.5.1-4.el7.x86_64
openstack-packstack-puppet-2014.1.1-0.11.1.dev1055.el7ost.noarch
openstack-packstack-2014.1.1-0.11.1.dev1055.el7ost.noarch

How reproducible:
always

Steps to Reproduce:
1. Add CONFIG_NAGIOS_INSTALL=y to the packstack answer file
2. packstack --answer-file=my-answer-file

Actual results:
The puppet install step fails with:
ERROR : Error appeared during Puppet run: 172.16.0.15_nagios.pp
Package nagios-plugins-nrpe has not been found in enabled Yum repos.
You will find full trace in log /var/tmp/packstack/20140509-095743-Bzy1CO/manifests/172.16.0.15_nagios.pp.log
Please check log file /var/tmp/packstack/20140509-095743-Bzy1CO/openstack-setup.log for more information

Details:

Info: Class[Apache::Service]: Scheduling refresh of Service[httpd]
Debug: /Stage[main]/Apache/Apache::Vhost[default-ssl]/File[15-default-ssl.conf]: Nothing to manage: no ensure and the resource doesn't exist
Notice: /Stage[main]/Apache::Service/Service[httpd]: Dependency Package[nagios-plugins-nrpe] has failures: true
Notice: /Stage[main]/Apache::Service/Service[httpd]: Dependency Package[nagios-plugins-ping] has failures: true
Warning: /Stage[main]/Apache::Service/Service[httpd]: Skipping because of failed dependencies

Expected results:
It Installs the nagios packages from the openstack repository.

Additional info:
'nagios-plugins-nrpe' package is not in the openstack repo, but 'monitoring-plugins-nrpe' is.

Comment 1 Lon Hohberger 2014-05-27 17:40:28 UTC
This last line is incorrect; monitoring-plugins-nrpe has been dropped.

The only package name which changed is nagios-plugins-ping -> nagios-plugins-nrpe

Thus this will fix it:

http://paste.fedoraproject.org/105150/12078140

A simple patch which was tested with the package renames is here:

https://bugzilla.redhat.com/attachment.cgi?id=899582

Comment 2 Lon Hohberger 2014-05-27 17:40:59 UTC
(In reply to Lon Hohberger from comment #1)
> This last line is incorrect; monitoring-plugins-nrpe has been dropped.
> 
> The only package name which changed is nagios-plugins-ping ->
> nagios-plugins-nrpe
> 
> Thus this will fix it:
> 
> http://paste.fedoraproject.org/105150/12078140

Lukas Bezdicka ^ wrote that patch.

Comment 4 Mike McCune 2016-03-28 22:55:34 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions