Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1500528 - The output from "openstack overcloud container image prepare" should exclude mongodb.
The output from "openstack overcloud container image prepare" should exclude ...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
urgent Severity urgent
: rc
: 12.0 (Pike)
Assigned To: Steve Baker
Alexander Chuzhoy
: AutomationBlocker, Triaged
Depends On: 1489801
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-10 16:41 EDT by Alexander Chuzhoy
Modified: 2018-02-05 14:15 EST (History)
12 users (show)

See Also:
Fixed In Version: openstack-tripleo-common-7.6.3-2.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-13 17:13:08 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Alexander Chuzhoy 2017-10-10 16:41:26 EDT
The output from "openstack overcloud container image prepare" should exclude mongodb.

Environment:
openstack-tripleo-common-7.6.1-0.20170926174320.el7ost.noarch
python-tripleoclient-7.3.1-0.20170925220840.f114a61.el7ost.noarch

Currently running "openstack overcloud container image prepare" also generate a line with mongodb. This line shouldn't be there.
Comment 1 Alexander Chuzhoy 2017-10-11 09:55:29 EDT
This affects deployments with local registry, as this step isn't needed for remote registry scenario.
Comment 2 Martin André 2017-10-11 10:23:25 EDT
The problem is that "openstack overcloud container image prepare" command with no arguments will create an entry for all the images that are defined in the /usr/share/openstack-tripleo-common/container-images/overcloud_containers.yaml.j2 template.

You can filter the output of the prepare command to only the images that you're going to be using in the deployment by passing it the roles_data.yaml and the heat environment files that you're going to use in your deployment, respectively with the -r and -e options, similar to what you're using in your deploy command. 

Two things we should do:

- remove the unused images from the default overcloud_containers.yaml file
- include the docker.yaml and docker-ha.yaml files by default in the prepare command.
Comment 3 Steve Baker 2017-10-11 21:45:37 EDT
Since we don't build and support the mongodb image, I think we should carry a downstream patch to remove it from overcloud_containers.yaml.j2
Comment 4 Jon Schlueter 2017-10-17 14:47:46 EDT
tripleo-common patch for mongodb in build  openstack-tripleo-common-7.6.3-0.20171010234827.el7ost
Comment 8 Jon Schlueter 2017-11-10 09:04:45 EST
openstack-tripleo-common-7.6.3-2.el7ost built including patch for this please check and update status if this resolves it.
Comment 10 Alexander Chuzhoy 2017-11-16 10:31:48 EST
Verified:

Environment:
openstack-tripleo-common-7.6.3-3.el7ost.noarch


The output from "openstack overcloud container image prepare" command doesn't include lines with mongodb now.
Comment 13 errata-xmlrpc 2017-12-13 17:13:08 EST
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

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