- The cli needs the public key in /etc/kolla/kolla-cli. If
the key has not yet been generated, generate it first.
- Have the script fail and not continue if it hits any
- Make the inventory touch happen all the time so the script
will fail if you do not have sufficient privs to run the script.
The cli_setup copy was creating an extra kolla directory on the copy-
/etc/kolla/kolla, instead of just /etc/kolla.
Also in utils, improved the error message when you don't have permissions
on getting a lock.
Created new cli-setup.py script that automates the previously
manual process to create the directories needed for the kolla-cli
and kolla-ansible. It also improves on the process by leaving the
globals.yml file in place in /etc/kolla and just creating a link
to the group_vars/__GLOBALS__ so that both the kolla-ansible and
kolla-cli commands will work correctly, rather than having their
functioning being mutually exclusive. Due to kolla-ansible still
expecting to be run as root for most actions the cli_setup.py
script should also be run via sudo.