[rdo-dev] Getting [WARNING]: Unable to parse /home/boris/.quickstart/hosts as an inventory source [WARNING]: No inventory was parsed, only implicit localhost is available

Boris Derzhavets bderzhavets at hotmail.com
Wed Aug 1 13:28:42 UTC 2018


Attempt of remote Tripleo Quickstart deployment seems to be disabled by default


Screen output

[boris at fedora27workstation tripleo-quickstart]$ bash quickstart.sh --no-clone \
  --tags all --nodes config/nodes/1ctlr_1comp.yml -p quickstart.yml $VIRTHOST

. . . . . .

. . . . . .


+++ basename /home/boris/.quickstart
++ PS1='(.quickstart) '
++ export PS1
++ alias pydoc
++ '[' -n /usr/bin/bash ']'
++ hash -r
+ export ANSIBLE_CONFIG=/home/boris/tripleo-quickstart/ansible.cfg
+ ANSIBLE_CONFIG=/home/boris/tripleo-quickstart/ansible.cfg
+ export ANSIBLE_INVENTORY=/home/boris/.quickstart/hosts
+ ANSIBLE_INVENTORY=/home/boris/.quickstart/hosts
+ export ARA_DATABASE=sqlite:////home/boris/.quickstart/ara.sqlite
+ ARA_DATABASE=sqlite:////home/boris/.quickstart/ara.sqlite
+ source /home/boris/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 -a -z '' ']'
+ rm -f /home/boris/.quickstart/hosts
+ '[' '' = 1 ']'
+ VERBOSITY=vv
+ '[' '!' -f /home/boris/.quickstart/playbooks/quickstart.yml ']'
+ ansible-playbook -vv /home/boris/.quickstart/playbooks/quickstart.yml -e @/home/boris/.quickstart/config/release/queens.yml -e @config/nodes/1ctlr_1comp.yml -e @/home/boris/.quickstart/config/general_config/minimal.yml -e @/home/boris/.quickstart/config/environments/default_libvirt.yml -e local_working_dir=/home/boris/.quickstart -e virthost=192.168.0.74 -t all,teardown-nodes
ansible-playbook 2.5.5
  config file = /home/boris/tripleo-quickstart/ansible.cfg
  configured module search path = [u'/usr/lib/python2.7/site-packages/tripleo-quickstart/library', u'/home/boris/.quickstart/usr/local/share/tripleo-quickstart/library', u'/home/boris/tripleo-quickstart/library']
  ansible python module location = /home/boris/.quickstart/lib/python2.7/site-packages/ansible
  executable location = /home/boris/.quickstart/bin/ansible-playbook
  python version = 2.7.15 (default, May 15 2018, 15:37:31) [GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
Using /home/boris/tripleo-quickstart/ansible.cfg as config file

 [WARNING]: Unable to parse /home/boris/.quickstart/hosts as an inventory source
 [WARNING]: No inventory was parsed, only implicit localhost is available
 [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit
localhost does not match 'all'

Deployment shortly crashes  with highlighted localhost line in the header
Do I have any chance to deploy to remote VIRTHOST versus recent
blog of Carlo Camacho suggesting VIRTHOST=127.0.0.2 ?
via tuning configs in tripleo-quickstart folder either quickstart.sh command line.


https://blogs.rdoproject.org/2018/01/rdo-community-blogposts/

Thanks.
Boris.


[https://s0.wp.com/i/blank.jpg]<https://blogs.rdoproject.org/2018/01/rdo-community-blogposts/>

RDO Community Blogposts - blogs.rdoproject.org<https://blogs.rdoproject.org/2018/01/rdo-community-blogposts/>
blogs.rdoproject.org
If you’ve missed out on some of the great RDO Community content over the past few weeks while you were on holiday, not to worry. I’ve gathered the recent blogposts right here for you.



________________________________

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


More information about the dev mailing list