Bug 1491787

Summary: Packstack still using puppet-mongodb and installing mongodb
Product: Red Hat OpenStack Reporter: Jon Schlueter <jschluet>
Component: openstack-packstackAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: high Docs Contact:
Priority: high    
Version: 12.0 (Pike)CC: aortega, mburns, pkilambi, psedlak, srevivo
Target Milestone: betaKeywords: Triaged
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-packstack-11.0.0-0.20170907135315.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-13 22:08:57 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:    
Bug Blocks: 1489801    

Description Jon Schlueter 2017-09-14 16:30:03 UTC
Description of problem:
For Osp 12 mongodb is being dropped

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


How reproducible:

Always

Steps to Reproduce:
1. Packstack --allinone
2. rpm -qa | grep mongo
3.

Actual results:

puppet-mongodb and mongodb are installed

Expected results:

Mongodb is not installed


Additional info:

Comment 1 Pavel Sedlák 2017-09-14 18:11:59 UTC
*** Bug 1491783 has been marked as a duplicate of this bug. ***

Comment 3 Jon Schlueter 2017-09-14 21:56:13 UTC
When just mongodb packages are missing packstack fails like (compared to missing puppet classes)

22:15:04 Preparing Gnocchi entries                            [ DONE ]
22:15:04 Preparing MongoDB entries                            [ DONE ]
22:15:04 Preparing Redis entries                              [ DONE ]
22:15:04 Preparing Ceilometer entries                         [ DONE ]
22:15:04 Preparing Aodh entries                               [ DONE ]
22:15:04 Preparing Puppet manifests                           [ DONE ]
22:15:04 Copying Puppet modules and manifests                 [ DONE ]
22:15:04 Applying 172.16.1.13_controller.pp
22:15:04 
172.16.1.13_controller.pp:                        [ ERROR ]
22:15:04 Applying Puppet manifests                         [ ERROR ]
22:15:04 
22:15:04 ERROR : Error appeared during Puppet run: 172.16.1.13_controller.pp
22:15:04 Package mongodb-server has not been found in enabled Yum repos.
22:15:04 You will find full trace in log /var/tmp/packstack/20170908-175724-h3jxBR/manifests/172.16.1.13_controller.pp.log

(from a comment on blocked bug)

Also packstack fails if puppet-mongodb is not required and installed in a similar way.

Comment 6 Jon Schlueter 2017-09-22 17:17:41 UTC
upstream master patch landed
proposed stable/pike patch to get input
updated downstream patch to match patch on master so we diverge less.

Comment 11 errata-xmlrpc 2017-12-13 22:08:57 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-2017:3462