TripleO Quickstart fails to create ansible-playbook under $OPT_WORKDIR/bin after move the undercloud deploy role to quickstart-extras

Bug #1653344 reported by Boris Derzhavets on 2016-12-31
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo-quickstart
Fix Released
Undecided
Unassigned

Bug Description

Brief description

Follow https://github.com/openstack/tripleo-quickstart
and run as test :-

[boris@fedora24wks ~]$ rm -fr .ansible .quickstart tripleo-quickstart
[boris@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@fedora24wks ~]$ cd tripleo*
[boris@fedora24wks 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@fedora24wks 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

Command `find . -name ansible-playbook -print` been run under /home/boris fails find
file.

Then I clean up everything and set up from scratch :-

[boris@fedora24wks ~]$ rm -fr .ansible .quickstart tripleo-quickstart
[boris@fedora24wks ~]$ git clone https://github.com/openstack/tripleo-quickstart
[boris@fedora24wks ~]$ cd tripleo*
[boris@fedora24wks tripleo-quickstart]$ bash quickstart.sh -R newton --config config/general_config/ha.yml $VIRTHOST

Run succeeds without deploying undercloud and I can find :-

[boris@fedora24wks ~]$ find . -name ansible-playbook -print
./.quickstart/bin/ansible-playbook

summary: - TripleO Quickstart fails to create ansible-palybook under
+ TripleO Quickstart fails to create ansible-playbook under
$OPT_WORKDIR/bin after move the undercloud deploy role to quickstart-
extras
Ronelle Landy (rlandy) wrote :

This should be fixed with latest playbooks.

Changed in tripleo-quickstart:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers