Bug 1497172 - Provide an easy way for deploying without containers
Summary: Provide an easy way for deploying without containers
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 12.0 (Pike)
Assignee: Dan Prince
QA Contact: Attila Fazekas
Depends On:
TreeView+ depends on / blocked
Reported: 2017-09-29 11:30 UTC by Attila Fazekas
Modified: 2018-02-05 19:15 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-12-13 22:11:53 UTC
Target Upstream Version:

Attachments (Terms of Use)
docker-to-baremetal.sh script (471 bytes, text/plain)
2017-10-03 15:02 UTC, Dan Prince
no flags Details
docker-to-baremetal.sh script (452 bytes, text/plain)
2017-10-03 21:51 UTC, Dan Prince
no flags Details

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Description Attila Fazekas 2017-09-29 11:30:51 UTC
Description of problem:

The downstream only strange patch applied for fixing https://bugzilla.redhat.com/show_bug.cgi?id=1466744 made very difficult and fragile to do non-containerized setups.

Please provide a `stable` easy way to create old fashioned setups for example by
adding on option (env var?) do skip the environment file adding done by triple-common, or provide an environment file in the THT which negates the effect of docker.yml

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

How reproducible:

Actual results:
Deployment fails becuse the images to use are not specified (it is normally an extra env file, which passed in case of docker deployments)

Additional info:
I am ok with reverting the changes made for rhbz#1466744 .

Comment 1 Omri Hochman 2017-10-02 19:39:56 UTC
If non-containerized deployments are *non-supported* by redhat in osp12, why would we want to invest time/resources in testing unsupported environments ?

Comment 3 Dan Prince 2017-10-03 15:02:42 UTC
Created attachment 1333778 [details]
docker-to-baremetal.sh script

Script to convert the tripleo-heat-template defaults back to baremetal.

Comment 4 Dan Prince 2017-10-03 15:04:37 UTC
See the attached script above which can be used to flip the OSP12 docker defaults back to baremetal. You would need to execute this script on a set of tripleo-heat-templates used for deployment before running the deployment commands.

Comment 5 Alex Schultz 2017-10-03 15:05:41 UTC
So I think Bug 1496782 is also related to this as you should be able to do a deployment with the mixed versions which is blocked by this. Ocata won't have the docker yaml file which causes it to fail.  We'll need a way to skip this for mix-version deployments

Comment 6 Dan Prince 2017-10-03 15:17:00 UTC
Alex: scope of this bug was OSP12 Pike only I think.

Comment 7 Alex Schultz 2017-10-03 15:43:46 UTC
Right but OSP12 undercloud should be able to deploy OSP11 templates. See Bug 1496782 for context

Comment 8 Dan Prince 2017-10-03 17:24:59 UTC
Alex: To clarify, knowing the implementation details here I would like to treat these as two separate bugs for now I think. The patch which satisfies this bug probably won't help with the other bug you've linked in.

Comment 9 Alex Schultz 2017-10-03 18:45:14 UTC
That's fine. I was just pointing out that the same thing is perhaps causing both issues and rather than treating them as separate, perhaps it makes sense to combine the fix(es) since the root cause is most likely the same for both.  I was mostly just commenting for awareness.

Comment 10 Dan Prince 2017-10-03 21:50:14 UTC
Comment on attachment 1333778 [details]
docker-to-baremetal.sh script

This version of the script got munged. New version will upload now.

Comment 11 Dan Prince 2017-10-03 21:51:58 UTC
Created attachment 1333944 [details]
docker-to-baremetal.sh script

Comment 12 Dan Prince 2017-10-03 21:52:43 UTC
Sasha: thanks for the feedback on the bad docker-to-baremetal.sh script I initially uploaded. The new one should be good.

Comment 19 Attila Fazekas 2017-11-09 07:08:56 UTC

Comment 22 errata-xmlrpc 2017-12-13 22:11:53 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.


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