RETIRED, CLI supporting kolla-ansible deployment project
Go to file
Steve Noyes 5ac3e291ec specifically disallow pexpect version 3.3
sequential pexpect release versions are 3.2, 3.3, 4.0.1.
3.3 doesn't work with sudo commands. Since 4.0.1 has been
tested and works, we now can just disallow 3.3.

Jira-Issue: OPENSTACK-297
2016-02-15 09:41:14 -08:00
ansible Added clean up of /var/lib/kolla to the includedata cleanup. 2016-02-15 09:41:14 -08:00
buildrpm specifically disallow pexpect version 3.3 2016-02-15 09:41:14 -08:00
doc/source/api/reference add doc for hosts rest api 2015-11-06 11:07:01 -05:00
kollacli Added support to execute upgrade from cli. 2016-02-15 09:41:14 -08:00
openstack-kollacli/locale renamed all kollaclient references to kollacli other than the git repo path 2015-08-06 15:13:54 -07:00
tests put ceilometer in groups on upgrade 2016-02-15 09:41:14 -08:00
tools remove oslo utils dependency 2016-02-15 09:41:13 -08:00
.gitignore improved key generation behavior. partially implemented ssh_check_connection. 2015-07-22 17:29:42 -07:00
LICENSE Adding the Apache LICENSE file, required to be included in the RPM 2015-08-27 13:39:31 -07:00
README.rst added AnsiblePlaybook class and moved playbook calls out of common and host 2015-10-13 14:26:50 -07:00
babel.cfg Initial commit 2015-07-15 13:34:36 -07:00
requirements.txt specifically disallow pexpect version 3.3 2016-02-15 09:41:14 -08:00
setup.cfg Added support to execute upgrade from cli. 2016-02-15 09:41:14 -08:00
setup.py fixed the property code to work with mainstream kolla changes. ordered property output. 2015-08-20 13:05:04 -07:00
test-requirements.txt added support for doing bandit checks. 2015-11-09 12:51:32 -08:00
tox.ini reverting config changes (for kollacli v2.1 stream) 2015-11-23 11:22:51 -05:00

README.rst

KollaCLI

The following steps can be used to build / run the kollacli

  • install ansible and docker
  • virtualenv .venv
  • . .venv/bin/activate
  • pip install -r requirements.txt
  • python setup.py install
  • mkdir /usr/share/kolla
  • cp -r openstack-kolla/ansible to /usr/share/kolla
  • mkdir /etc/kolla
  • mkdir /etc/kolla/kollacli
  • mkdir /etc/kolla/kollacli/ansible
  • cp -r openstack-kolla/etc/kolla/* to /etc/kolla
  • mkdir /usr/share/kolla/kollacli
  • mkdir /usr/share/kolla/kollacli/tools
  • mkdir /usr/share/kolla/kollacli/ansible
  • cp openstack-kollacli/tools /usr/share/kolla/kollacli/tools
  • cp openstack-kollacli/ansible /usr/share/kolla/kollacli/ansible
  • kollacli

At that point you will be dropped into the kollacli shell where you can run commands like help or ? to see what commands are available and any of the sub commands can be executed directly.

Alternately you can not use the shell and just execute commands directly via >kollacli host add, etc.

If you make changes to the i18n strings (denoted by methods like _("message")) make sure to re-generate the i18n files with the >python setup.py extract_messages command and check in the files generated in openstack-kollacli.

Troubleshooting

If you get an error about missing python.h install the python-dev package via apt-get or yum or whatever mechanism is appropriate for your platform.