multiple methods for generating openrc files

Bug #1719369 reported by Alex Schultz on 2017-09-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

We currently have multiple methods[0][1][2] for generating openrc files for both the undercloud and overcloud. This leads to issues when we update api versions because we then need to fix 2 (or 3) different places. For example we recently moved to v3 on the undercloud but missed the stackrc[3] that gets generated using the containerized undercloud method.

We need to reduce the number of places that we do this for the undercloud and overcloud install so that we when we update the contents of the file that we do so in a consistent fashion. Ideally we should share the same method for overcloud and undercloud installs.


Changed in tripleo:
milestone: queens-3 → queens-rc1
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3

is this still an issue?

Alex Schultz (alex-schultz) wrote :

yea we do it several different places

Changed in tripleo:
milestone: stein-3 → stein-rc1
Changed in tripleo:
milestone: stein-rc1 → train-1
chandan kumar (chkumar246) wrote :
Download full text (6.0 KiB)

copying the discussion from irc tripleo meeting:
0:02:49 chandankumar ╡ If there is no any other topic in queue I want to discuss about this blueprint
0:03:16 +mwhahaha ╡ meh
0:03:39 ▬▬▶ ╡ rascasoft (~rascasoft@ has joined #tripleo
0:03:42 +mwhahaha ╡ so we already partially implemented that for standalone
0:03:47 ℹ ╡ marios_|ruck is now known as marios|ruck|call
0:03:48 chandankumar ╡ since we have added support for clouds.yaml for standalone and undercloud
0:03:54 +mwhahaha ╡ we'd need to create a workflow for generating that for the overcloud
0:03:59 chandankumar ╡ I am about to start working on overcloud
0:04:07 +mwhahaha ╡ I would just generate both for now
0:04:15 ⤷ ╡ and we can remove the *rc files in a later release
0:04:30 chandankumar ╡ but the question is
                        ╡ current code and tht stuff resides here
0:04:51 ⤷ ╡ can we move the same
                        ╡ script to
                        ╡ python-tripleoclient
0:05:02 +mwhahaha ╡ it wouldn't be tripleoclient
0:05:05 ⤷ ╡ it would be in tripleo-common
0:05:09 ⤷ ╡ and tripleoclient
20:05:22 chandankumar ╡ and generate the clouds.yaml for stdanlone overcloud and undercloud │
20:05:25 +mwhahaha ╡ you'll want to find the existing stackrc generation and either modify it or duplicate it │
20:05:41 ⤷ ╡ the underclo...


Changed in tripleo:
milestone: train-1 → train-2

Submitter: Zuul
Branch: master

commit 3c4cb58d8162fadded40076a2e3b40a510a6e9d7
Author: Chandan Kumar (raukadah) <email address hidden>
Date: Tue Jun 11 17:45:05 2019 +0530

    Added support of overcloud os_cloud

    It includes:
    * mistral action for generating clouds.yaml once
      overcloud deployment finishes.
    * library for generating clouds.yaml
    * Moved global vars to tripleo-common constants. adds the review in
    python-tripleoclient to create the clouds.yaml for
    overcloud by calling the above mistral actions.

    Related-Bug: #1719369

    Change-Id: Ie9004222ca5f77031795eaa4b4a757da8b409d05
    Signed-off-by: Chandan Kumar (raukadah) <email address hidden>

Submitter: Zuul
Branch: master

commit 41d9901ef282bda16f6784be53dd1287442f671c
Author: Chandan Kumar (raukadah) <email address hidden>
Date: Mon Jun 17 13:41:52 2019 +0530

    Reuse from tripleo-common in tht script is used to generate clouds.yaml
    for undercloud and standalone. It is now refactored and moved
    to tripleo-common module[1] and can be reused here.


    Related-Bug: #1719369

    Change-Id: I50b37df1a87472a16e2d5d2c588c728d2a7a5c76
    Signed-off-by: Chandan Kumar (raukadah) <email address hidden>

Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers