Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1497172 - Provide an easy way for deploying without containers
Provide an easy way for deploying without containers
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
medium Severity medium
: rc
: 12.0 (Pike)
Assigned To: Dan Prince
Attila Fazekas
: TestOnly, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-29 07:30 EDT by Attila Fazekas
Modified: 2018-02-05 14:15 EST (History)
11 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-13 17:11:53 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)
docker-to-baremetal.sh script (471 bytes, text/plain)
2017-10-03 11:02 EDT, Dan Prince
no flags Details
docker-to-baremetal.sh script (452 bytes, text/plain)
2017-10-03 17:51 EDT, Dan Prince
no flags Details


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 Attila Fazekas 2017-09-29 07:30:51 EDT
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):
openstack-tripleo-heat-templates-7.0.0-0.20170913050524.0rc2.el7ost.noarch
openstack-puppet-modules-11.0.0-0.20170828113154.el7ost.noarch
instack-undercloud-7.4.1-0.20170912115418.el7ost.noarch

How reproducible:
always


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 15:39:56 EDT
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 11:02 EDT
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 11:04:37 EDT
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 11:05:41 EDT
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 11:17:00 EDT
Alex: scope of this bug was OSP12 Pike only I think.
Comment 7 Alex Schultz 2017-10-03 11:43:46 EDT
Right but OSP12 undercloud should be able to deploy OSP11 templates. See Bug 1496782 for context
Comment 8 Dan Prince 2017-10-03 13:24:59 EDT
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 14:45:14 EDT
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 17:50:14 EDT
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 17:51 EDT
Created attachment 1333944 [details]
docker-to-baremetal.sh script
Comment 12 Dan Prince 2017-10-03 17:52:43 EDT
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 02:08:56 EST
Worked.
Comment 22 errata-xmlrpc 2017-12-13 17:11:53 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.