[rdo-list] How to work with TripleO QS after commit 6c3cd87a6639b15ad84b798f76e8a1f65877855a ?
Boris Derzhavets
bderzhavets at hotmail.com
Thu Jan 5 22:42:52 UTC 2017
________________________________
From: Wesley Hayutin <whayutin at redhat.com>
Sent: Thursday, January 5, 2017 11:24 PM
To: Boris Derzhavets
Cc: rdo-list at redhat.com
Subject: Re: [rdo-list] How to work with TripleO QS after commit 6c3cd87a6639b15ad84b798f76e8a1f65877855a ?
On Sun, Jan 1, 2017 at 7:26 AM, Boris Derzhavets <bderzhavets at hotmail.com<mailto:bderzhavets at hotmail.com>> wrote:
Actually , command
[boris at fedora24wks tripleo-quickstart]$ bash quickstart.sh -p quickstart-extras.yml -r quickstart-extras-requirements.txt -R newton --config config/general_config/ha.yml $VIRTHOST
Seems to work nicely in case when correct ansible environment has been setup for quickstart.sh
prior to start command above. I have not seen for a while all scripts generated and undercloud been ready for immediate overcloud-deploy.sh run.
Bug filed to upstream
https://bugs.launchpad.net/tripleo-quickstart/+bug/1653344
<https://bugs.launchpad.net/tripleo-quickstart/+bug/1653344>
Hey Boris,
Sorry for the late reply, just getting settled in after the new year.
We moved the undercloud-install role into quickstart-extras as a unique role so it would be easier for other playbooks to execute the undercloud setup when they required it. [1]
This also meant when you don't specify a playbook it would just run quickstart.yml which would stop prior to the undercloud installing, this was changed in [2]
Another change to note is that we've made "requirements.txt *and* quickstart-extras-requirements.txt default requirements so you no longer have to specify requirements [3]
If you do specify requirements with -r you will have to specify *all* the requirements, this should allow a >user to use a different versions of the requirements e.g. ansible 2.1 vs 2.2
Hi Wesley,
Issue got fixed via last merge to master done on 01/04/17 around 11 a.m EST :-
Merge "Run extras playbook by default" Jenkins committed with openstack-gerrit<https://github.com/openstack-gerrit> a 01/04/17 11:00 a.m. e2e73b94bd88a3f9cc19925a59cbd12ff6172060
https://github.com/openstack/tripleo-quickstart/commit/e2e73b94bd88a3f9cc19925a59cbd12ff6172060
System was in affected state since 12/21/16 up to 01/04/17
I did notice :-
commit 6a05cf5c47f7b46eb1565c910ba9c90ea5f089e4
Author: Sagi Shnaidman
Date: Tue Dec 6 16:01:30 2016 +0100
Run extras playbook by default
For developer purposes we need scripts for overcloud are ready
in home dir after undercloud install. Now all the
undercloud-scripts and overcloud-scripts tagged tasks are in extras
roles, so we need to run extras playbook by default to get them
ready.
Change-Id: I3e216b21dac5a9086374fda9182a9be1cbe75a4f
and I was expecting Jenkins's merge to happen shortly . It just worked for me
been applied manually. But , addressing question at ask.openstack.org 15 min
prior the last merge had been done I suggested ( to be safe )
$ [boris at fedora24wks tripleo-quickstart]$ ./revert.sh
+ git revert -m 1 --no-commit b6dbf6a084ddc08086c7087af85b575bc7d43799
+ git revert -m 1 --no-commit e0493a24dff0a535a3be644eb565eacbe765c59d
+ git revert -m 1 --no-commit 9dd2eb77e0bacc8497aa91c2fc54b0e64a3745f1
+ git revert -m 1 --no-commit 6fea2c037e831738cd59eef61d4073b9771bf51b
+ git commit -m 'Reverting is done'
[master ffc105a] Reverting is done
Thanks
Boris.
BTW , See also
https://ask.openstack.org/en/question/101129/what-happened-to-tripleo-quickstart/
> Sorry for the confusion, hope this helps.
[1] https://review.openstack.org/#/c/410427/
[2] https://review.openstack.org/#/c/407555/
[3] https://review.openstack.org/#/c/410757/
Thanks
Boris.
________________________________
From: rdo-list-bounces at redhat.com<mailto:rdo-list-bounces at redhat.com> <rdo-list-bounces at redhat.com<mailto:rdo-list-bounces at redhat.com>> on behalf of Boris Derzhavets <bderzhavets at hotmail.com<mailto:bderzhavets at hotmail.com>>
Sent: Saturday, December 31, 2016 2:31 PM
To: rdo-list at redhat.com<mailto:rdo-list at redhat.com>
Subject: Re: [rdo-list] How to work with TripleO QS after commit 6c3cd87a6639b15ad84b798f76e8a1f65877855a ?
When I run with old syntax ( no matter it is already useless ) under $HOME/.quickstart I can find
[boris at fedora24wks ~]$ find . -name ansible-playbook -print
./.quickstart/bin/ansible-playbook
Than I clean everything up and run :-
[boris at fedora24wks ~]$ rm -fr .ansible .quickstart tripleo-quickstart
[boris at fedora24wks ~]$ git clone https://github.com/openstack/tripleo-quickstart
Cloning into 'tripleo-quickstart'...
remote: Counting objects: 5741, done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 5741 (delta 20), reused 0 (delta 0), pack-reused 5673
Receiving objects: 100% (5741/5741), 923.94 KiB | 726.00 KiB/s, done.
Resolving deltas: 100% (2962/2962), done.
Checking connectivity... done.
[boris at fedora25wks ~]$ cd tripleo*
[boris at fedora25wks tripleo-quickstart]$ ssh root@$VIRTHOST uname -aLinux Server73CentOS.localdomain 3.10.0-514.2.2.el7.x86_64 #1 SMP Tue Dec 6 23:06:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[boris at fedora25wks tripleo-quickstart]$ bash quickstart.sh -p quickstart-extras.yml -r quickstart-extras-requirements.txt --tags all $VIRTHOST
Command :-
[boris at fedora24wks ~]$ find . -name ansible-playbook -print
been run under /home/boris cannot find "ansible-playbook"
Looks as a bug for myself at least in meantime.
Thanks.
Boris.
________________________________
From: rdo-list-bounces at redhat.com<mailto:rdo-list-bounces at redhat.com> <rdo-list-bounces at redhat.com<mailto:rdo-list-bounces at redhat.com>> on behalf of Boris Derzhavets <bderzhavets at hotmail.com<mailto:bderzhavets at hotmail.com>>
Sent: Friday, December 30, 2016 12:58 PM
To: rdo-list at redhat.com<mailto:rdo-list at redhat.com>
Subject: [rdo-list] How to work with TripleO QS after commit 6c3cd87a6639b15ad84b798f76e8a1f65877855a ?
What commit does ?
Author: Wes Hayutin <weshayutin at gmail.com<mailto:weshayutin at gmail.com>>
Date: Tue Dec 13 17:07:54 2016 -0500
move the undercloud deploy role to quickstart-extras for composability
In an effort to make more of the tripleo deployment ci more composable
it has been discussed to break out the undercloud deployment into it's
own role. There are examples where additional configuration is needed
prior to the undercloud installation such as dpdk, and installing in
other ci environments.
This patch moves the undercloud deployment from the quickstart.yml
playbook to the quickstart-extras.yml playbook
-----
So command :-
$ bash quickstart.sh -R newton --config config/general_config/ha.yml $VIRTHOST
still works , but no longer deploys undercloud and create stackrc file
Follow https://github.com/openstack/tripleo-quickstart
and run as test :-
[boris at fedora25wks ~]$ rm -fr .ansible .quickstart tripleo-quickstart
[boris at fedora25wks ~]$ git clone https://github.com/openstack/tripleo-quickstart
Cloning into 'tripleo-quickstart'...
remote: Counting objects: 5741, done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 5741 (delta 20), reused 0 (delta 0), pack-reused 5673
Receiving objects: 100% (5741/5741), 923.94 KiB | 726.00 KiB/s, done.
Resolving deltas: 100% (2962/2962), done.
Checking connectivity... done.
[boris at fedora25wks ~]$ cd tripleo*
[boris at fedora25wks tripleo-quickstart]$ ssh root@$VIRTHOST uname -aLinux Server73CentOS.localdomain 3.10.0-514.2.2.el7.x86_64 #1 SMP Tue Dec 6 23:06:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[boris at fedora25wks tripleo-quickstart]$ bash quickstart.sh -p quickstart-extras.yml -r quickstart-extras-requirements.txt --tags all $VIRTHOST
. . . . . . . .
Installing OpenStack mitaka on host 192.168.0.74
Using directory /home/boris/.quickstart for a local working directory
+ export ANSIBLE_CONFIG=/home/boris/.quickstart/tripleo-quickstart/ansible.cfg
+ ANSIBLE_CONFIG=/home/boris/.quickstart/tripleo-quickstart/ansible.cfg
+ export ANSIBLE_INVENTORY=/home/boris/.quickstart/hosts
+ ANSIBLE_INVENTORY=/home/boris/.quickstart/hosts
+ source /home/boris/.quickstart/tripleo-quickstart/ansible_ssh_env.sh
++ export OPT_WORKDIR=/home/boris/.quickstart
++ OPT_WORKDIR=/home/boris/.quickstart
++ export SSH_CONFIG=/home/boris/.quickstart/ssh.config.ansible
++ SSH_CONFIG=/home/boris/.quickstart/ssh.config.ansible
++ touch /home/boris/.quickstart/ssh.config.ansible
++ export 'ANSIBLE_SSH_ARGS=-F /home/boris/.quickstart/ssh.config.ansible'
++ ANSIBLE_SSH_ARGS='-F /home/boris/.quickstart/ssh.config.ansible'
+ '[' 0 = 0 ']'
+ rm -f /home/boris/.quickstart/hosts
+ '[' 192.168.0.74 = localhost ']'
+ '[' '' = 1 ']'
+ VERBOSITY=vv
+ ansible-playbook -vv /home/boris/.quickstart/playbooks/quickstart-extras.yml -e @/home/boris/.quickstart/tripleo-quickstart/config/general_config/minimal.yml -e ansible_python_interpreter=/usr/bin/python -e @/home/boris/.quickstart/config/release/mitaka.yml -e local_working_dir=/home/boris/.quickstart -e virthost=192.168.0.74 -t all,teardown-nodes
quickstart.sh: line 433: ansible-playbook: command not found <=== Error
Please advise. All what I need is deploying undercloud via
$ bash quickstart.sh -R newton --config config/general_config/ha.yml $VIRTHOST
as it happened before 12/13/16 or how manually do it after log into undercloud
Thanks
Boris
[https://avatars0.githubusercontent.com/u/324574?v=3&s=400]<https://github.com/openstack/tripleo-quickstart>
GitHub - openstack/tripleo-quickstart: Ansible based ...<https://github.com/openstack/tripleo-quickstart>
github.com<http://github.com>
Now that tripleo-quickstart and tripleo-quickstart-extras are both upstream it makes sense for quickstart-extras to be a default requirement for the setup via pip.
_______________________________________________
rdo-list mailing list
rdo-list at redhat.com<mailto:rdo-list at redhat.com>
https://www.redhat.com/mailman/listinfo/rdo-list
To unsubscribe: rdo-list-unsubscribe at redhat.com<mailto:rdo-list-unsubscribe at redhat.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20170105/eb043081/attachment.html>
More information about the dev
mailing list