Bug 1392750

Summary: [OSP9] puppet-stack-config.pp pulls upstream package that doesn't exist any more
Product: Red Hat OpenStack Reporter: Dan Macpherson <dmacpher>
Component: instack-undercloudAssignee: James Slagle <jslagle>
Status: CLOSED WONTFIX QA Contact: Arik Chernetsky <achernet>
Severity: high Docs Contact:
Priority: unspecified    
Version: 9.0 (Mitaka)CC: aschultz, mburns, mmagr, rhel-osp-director-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-17 16:00:20 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 Dan Macpherson 2016-11-08 06:57:07 UTC
If you set "enable_monitoring = true" in undercloud.conf, Puppet will attempt to pull an upstream rpm but now fails because the rpm doesn exist anymore. The line in puppet-stack-config.pp is here:

https://code.engineering.redhat.com/gerrit/gitweb?p=instack-undercloud.git;a=blob;f=elements/puppet-stack-config/puppet-stack-config.pp;h=6f5fa77f4f112c667aa6ca3e61a3f70486778cb4;hb=refs/heads/rhos-9.0-patches#l531

The RPM it attempts to pull is:
https://apevec.fedorapeople.org/openstack/ggillies/osops-tools-monitoring-oschecks-0.1-1.gitdd7ca5c.el7.centos.noarch.rpm

It produces the following Puppet error during "openstack undercloud install":

Error: Execution of '/bin/rpm -i https://apevec.fedorapeople.org/openstack/ggillies/osops-tools-monitoring-oschecks-0.1-1.gitdd7ca5c.el7.centos.noarch.rpm' returned 1: curl: (22) The requested URL returned error: 404 Not Found
error: skipping https://apevec.fedorapeople.org/openstack/ggillies/osops-tools-monitoring-oschecks-0.1-1.gitdd7ca5c.el7.centos.noarch.rpm - transfer failed
Error: /Stage[main]/Main/Package[osops-tools-monitoring-oschecks]/ensure: change from absent to present failed: Execution of '/bin/rpm -i https://apevec.fedorapeople.org/openstack/ggillies/osops-tools-monitoring-oschecks-0.1-1.gitdd7ca5c.el7.centos.noarch.rpm' returned 1: curl: (22) The requested URL returned error: 404 Not Found
error: skipping https://apevec.fedorapeople.org/openstack/ggillies/osops-tools-monitoring-oschecks-0.1-1.gitdd7ca5c.el7.centos.noarch.rpm - transfer failed

This affects any customer trying to install new OpenShift environments. Not sure if this also affects customers trying to upgrade.

The workaround is to set "enable_monitoring = false" during install.

Comment 2 Martin Magr 2017-07-17 16:00:20 UTC
In OSP9 Sensu is tech preview.