RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1101665 - el7 Icehouse: Nagios installation fails
Summary: el7 Icehouse: Nagios installation fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Lukas Bezdicka
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On: 1096154
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-27 17:37 UTC by Lon Hohberger
Modified: 2016-05-18 06:43 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1096154
Environment:
Last Closed: 2016-05-18 06:43:40 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 97267 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.