Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1527447

Summary: openstack-sensu-client-container image attempts to do gem install during docker build
Product: Red Hat OpenStack Reporter: Jon Schlueter <jschluet>
Component: openstack-containersAssignee: Martin Magr <mmagr>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: urgent Docs Contact: Andrew Burden <aburden>
Priority: urgent    
Version: 13.0 (Queens)CC: emacchi, jamsmith, m.andre, mmagr, pkilambi, rhallise, ssmolyak
Target Milestone: Upstream M3Keywords: Automation, AutomationBlocker, Triaged
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-sensu-client-docker-13.0-5 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-28 08:00:49 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:

Description Jon Schlueter 2017-12-19 12:14:30 UTC
Description of problem:
Sensu Client Dockerfile has a gem install call.

openstack-sensu-client-docker/Dockerfile

RUN /opt/sensu/embedded/bin/gem install vmstat --no-rdoc --no-ri \

How reproducible:

Always for RDO and RHOSP


Steps to Reproduce:
1. kolla build --template-only ....

Actual results:

$grep "gem install" ...sensu-client.../Dockerfile
26:RUN /opt/sensu/embedded/bin/gem install vmstat --no-rdoc --no-ri \


Expected results:

No attempts to do gem install during a kolla build for this container image

Additional info:

Comment 9 Jon Schlueter 2018-05-30 18:00:51 UTC
most recent container image only has

RUN yum -y install docker-client mariadb osops-tools-monitoring-oschecks mariadb-server mariadb-server-galera && yum clean all && rm -rf /var/cache/yum

offending variant had

+RUN yum -y install MariaDB-client ceph-common cyrus-sasl-devel docker-client gcc-c++ make ntp osops-tools-monitoring-oschecks python-pymongo ruby-devel && yum clean all && rm -rf /var/cache/yum

+RUN /opt/sensu/embedded/bin/gem install vmstat --no-rdoc --no-ri \
+    && sensu-install --plugins ceph,cpu-checks,disk-checks,dns,docker,elasticsearch,filesystem-checks,haproxy,http,io-checks,load-checks,memcached,memory-checks,mongodb,mysql,network-checks,ntp,openstack,process-checks,rabbitmq,redis,uptime-checks,vmstats
 

Verified by inspection of Dockerfile used to generate image for RC content

Comment 13 errata-xmlrpc 2018-06-28 08:00:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:2085