Comment 3 for bug 1719369

Revision history for this message
chandan kumar (chkumar246) wrote :

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
                        ╡ https://blueprints.launchpad.net/tripleo/+spec/os-client-config-switch
0:03:16 +mwhahaha ╡ meh
0:03:39 ▬▬▶ ╡ rascasoft (~rascasoft@2.229.194.155) 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 https://opendev.org/openstack/tripleo-heat-templates/src/branch/master/extraconfig/post_deploy
                        ╡ current code and tht stuff resides here
0:04:51 ⤷ ╡ can we move the same
                        ╡ https://opendev.org/openstack/tripleo-heat-templates/src/branch/master/extraconfig/post_deploy/clouds_yaml.py 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 undercloud would be using the post_deploy method │
20:05:43 ⤷ ╡ the overcloud is different │
20:05:55 ⤷ ╡ there was a bug about the fact we generate this info in like 3 places │
20:06:46 chandankumar ╡ is it this one https://bugs.launchpad.net/tripleo/+bug/1801927
20:06:47 ⤷ ╡ ? │
20:06:48 @openstack ╡ Launchpad bug 1801927 in tripleo "[RFE] Set up clouds.yaml in undercloud stack user" [Medium,Fix released] - Assigned to │
                         ╡ Harald Jensås (harald-jensas) │
20:06:53 +mwhahaha ╡ https://opendev.org/openstack/tripleo-common/src/branch/master/workbooks/deployment.yaml#L720
20:07:15 ⤷ ╡ no different one │
20:07:58 ⤷ ╡ https://bugs.launchpad.net/tripleo/+bug/1719369
20:08:00 @openstack ╡ Launchpad bug 1719369 in tripleo "multiple methods for generating openrc files" [High,Triaged] │
20:08:57 ℹ ╡ amoralej` is now known as amoralej │
20:09:09 +mwhahaha ╡ anyway feel free to workon that │
20:09:33 ⤷ ╡ just do it with the existing openrc files in place and we can deprecate those │
20:09:34 chandankumar ╡ ok, then we need to make changes in the tripleo-common and trigeer clouds.yaml step just after rc file generation │
20:10:44 ⤷ ╡ mwhahaha: one more question, if it is a multinode deployment, do we used a single clouds.yaml file for storing │
                         ╡ undercloud and overcloud os_cloud name? │
20:11:01 +mwhahaha ╡ we would need to │
20:11:15 ⤷ ╡ which makes this all the trickier :D │
20:11:26 chandankumar ╡ ok, then I will work on that, thanks :-) │