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

Boris Derzhavets bderzhavets at hotmail.com
Thu Sep 1 11:11:21 UTC 2016


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.

________________________________
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/9e27779a/attachment.html>


More information about the dev mailing list