Bug 1392750 - [OSP9] puppet-stack-config.pp pulls upstream package that doesn't exist any more
Summary: [OSP9] puppet-stack-config.pp pulls upstream package that doesn't exist any more
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud
Version: 9.0 (Mitaka)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: James Slagle
QA Contact: Arik Chernetsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-08 06:57 UTC by Dan Macpherson
Modified: 2017-07-17 16:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-17 16:00:20 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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