RETIRED, CLI supporting kolla-ansible deployment project
Go to file
Borne Mace 37877e6aa8 kolla is under openstack now rather than stackforge, fixed string 2015-09-11 21:14:09 -07:00
buildrpm Changed RPM build to only require pbr 1.3.0 2015-09-08 20:29:58 -07:00
kollacli kolla is under openstack now rather than stackforge, fixed string 2015-09-11 21:14:09 -07: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 changed ndbcluster to mysql in inventory to match openstack-kolla changes. 2015-09-10 17:27:01 -07:00
tools remove zones, move json gen to tools dir 2015-08-20 16:54:35 -04: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 updated README.rst with right project name 2015-09-01 16:11:03 -07:00
babel.cfg Initial commit 2015-07-15 13:34:36 -07:00
requirements.txt updated setup steps and version requirements 2015-08-26 15:03:47 -07:00
setup.cfg renamed host install to host setup 2015-09-01 16:04:51 -07: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 Initial commit 2015-07-15 13:34:36 -07:00
tox.ini Initial commit 2015-07-15 13:34:36 -07: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
  • cp openstack-kollacli/usr/share/kolla/kollacli/tools
  • 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.