[rdo-list] Instack-virt-setup vs TripleO QuickStart in regards of managing HA PCS/Corosync cluster via pcs CLI

Wesley Hayutin whayutin at redhat.com
Thu Sep 1 21:42:15 UTC 2016


On Thu, Sep 1, 2016 at 7:11 AM, Boris Derzhavets <bderzhavets at hotmail.com>
wrote:

> I belive four options are available at the moment
>
>
> [boris at fedora24wks tripleo-quickstart]$ cd ./config/release/
> [boris at fedora24wks release]$ ls -l
> total 16
> -rw-rw-r--. 1 boris boris 363 Sep  1 13:13 liberty.yml
> -rw-rw-r--. 1 boris boris 248 Sep  1 13:13 master-tripleo.yml
> -rw-rw-r--. 1 boris boris 562 Sep  1 13:13 master.yml
> -rw-rw-r--. 1 boris boris 359 Sep  1 13:13 mitaka.yml
>
> [boris at fedora24wks release]$ cat mitaka.yml
> release: mitaka
> undercloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/
> mitaka/delorean/stable/undercloud.qcow2
> overcloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/
> mitaka/delorean/stable/overcloud-full.tar
> ipa_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/
> mitaka/delorean/stable/ironic-python-agent.tar
>
> [boris at fedora24wks release]$ cat master.yml
> release: master
> undercloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/
> master/delorean/stable/undercloud.qcow2
> overcloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/
> master/delorean/stable/overcloud-full.tar
> ipa_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/
> master/delorean/stable/ironic-python-agent.tar
>
> I have no any doubts any more that   by default   images are taken from
> mitaka.yml
>
> Testing "master" requires " --release master" in command line and would
> perform
>
> downloads via   master.yml's   URLs   which are different from default ones
>

Boris, you are correct. The default release is mitaka.
https://github.com/openstack/tripleo-quickstart/blob/master/quickstart.sh#L8

To get master/newton one must specify the release as you have w/ either
--release or -R
./quickstart.sh -R master

The delorean repo used is here [2], obtained by looking at [3]
Note that the RDO packaging folks are starting to branch master -> newton
and we'll end up w/ two distinct repos soon.  I'm not sure how far along
that is.

Is that the question or am I missing the issue here?
If I did miss the issue and if email is not helping I encourage you
to open a bug here [1].

Thanks


[1] https://bugs.launchpad.net/tripleo-quickstart
[2] https://trunk.rdoproject.org/centos7/report.html
[3]
https://ci.centos.org/artifacts/rdo/jenkins-tripleo-quickstart-periodic-master-delorean-full-deploy-ha-84/undercloud/etc/yum.repos.d/delorean.repo.gz






>
> Boris.
>
> ------------------------------
> *From:* rdo-list-bounces at redhat.com <rdo-list-bounces at redhat.com> on
> behalf of Boris Derzhavets <bderzhavets at hotmail.com>
> *Sent:* Thursday, September 1, 2016 11:07 AM
> *To:* Raoul Scarazzini; Wesley Hayutin; Attila Darazs
>
> *Cc:* rdo-list
> *Subject:* Re: [rdo-list] Instack-virt-setup vs TripleO QuickStart in
> regards of managing HA PCS/Corosync cluster via pcs CLI
>
>
> Looking at quickstart.sh I see :-
>
>
> : ${OPT_BOOTSTRAP:=0}
> : ${OPT_CLEAN:=0}
> : ${OPT_PLAYBOOK:=quickstart.yml}
> : ${OPT_RELEASE:=mitaka}
> : ${OPT_RETAIN_INVENTORY_FILE:=0}
> : ${OPT_SYSTEM_PACKAGES:=0}
> : ${OPT_TAGS:=$DEFAULT_OPT_TAGS}
> : ${OPT_TEARDOWN:=nodes}
> : ${OPT_WORKDIR:=$HOME/.quickstart}
> . . . . .
>
> echo " -R, --release OpenStack release to deploy (default=$OPT_RELEASE)"
>   <== line 147
>
>
> It clearly shows that default release is Mitaka
>
> Would you like to test Newton then command line should look like :-
>
>
> $ bash quickstart.sh --config ./ha.yml  --release newton $VIRTHOST
>
>
> Boris.
>
>
>
>
> ------------------------------
> *From:* Raoul Scarazzini <rasca at redhat.com>
> *Sent:* Wednesday, August 24, 2016 5:25 PM
> *To:* Boris Derzhavets; Wesley Hayutin; Attila Darazs
> *Cc:* rdo-list
> *Subject:* Re: [rdo-list] Instack-virt-setup vs TripleO QuickStart in
> regards of managing HA PCS/Corosync cluster via pcs CLI
>
> On 24/08/2016 14:21, Boris Derzhavets wrote:
> [...]
> > ========================================================================
> > Addressing your requests
> > ========================================================================
> > [boris at fedora24wks tripleo-quickstart]$ cat
> ./config/general_config/ha.yml
> [...]
> > $ bash quickstart.sh --config ./config/general_config/ha.yml   $VIRTHOST
> > EXIT ( undrecloud has been built )
>
> Not only. At this point everything should be built.
>
> [...]
> > [root at undercloud stack]# cd /etc/yum.repos.d
> > [root at undercloud yum.repos.d]# cat delorean-deps.repo
> > [delorean-mitaka-testing]
> > name=dlrn-mitaka-testing
> > baseurl=http://buildlogs.centos.org/centos/7/cloud/$
> basearch/openstack-mitaka/
> > enabled=1
> > gpgcheck=0
> > priority=2
> > [root at undercloud yum.repos.d]# cat delorean.repo
> > [delorean]
> > name=delorean-openstack-rally-3909299306233247d547bad265a1adb78adfb3d4
> > baseurl=http://trunk.rdoproject.org/centos7-mitaka/39/09/
> 3909299306233247d547bad265a1adb78adfb3d4_4e6dfa3c
> > enabled=1
> > gpgcheck=0
>
> This sounds really strange, since you should get master repo (so Newton,
> not Mitaka) while using quickstart without specifying --release.
>
> How long ago did you downloaded the quickstart git repo? Can you
> redeploy everything from scratch with the latest pull from quickstart's
> git repo?
>
> --
> Raoul Scarazzini
> rasca at redhat.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20160901/3d7f9dd4/attachment.html>


More information about the dev mailing list