[rdo-list] How to work with TripleO QS after commit 6c3cd87a6639b15ad84b798f76e8a1f65877855a ?

Boris Derzhavets bderzhavets at hotmail.com
Fri Dec 30 09:58:33 UTC 2016

What commit does ?

Author: Wes Hayutin <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
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
+ '[' = localhost ']'
+ '[' '' = 1 ']'
+ 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= -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



GitHub - openstack/tripleo-quickstart: Ansible based ...<https://github.com/openstack/tripleo-quickstart>
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20161230/149bfece/attachment.html>

More information about the dev mailing list