Skip to main content

Command Line Interface Supporting kolla-ansible

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kolla-cli-0.0.1.dev503.tar.gz (277.4 kB view details)

Uploaded Source

File details

Details for the file kolla-cli-0.0.1.dev503.tar.gz.

File metadata

File hashes

Hashes for kolla-cli-0.0.1.dev503.tar.gz
Algorithm Hash digest
SHA256 1c12bd8baf0951a39ede32b66d0342da3a2a8903147f51c62a6c049960a64655
MD5 ae04bd8a08809fcde35b4056246858ed
BLAKE2b-256 a4d9116ff35998f410d4808e37173edcdaa8d7b919cf7ef932e92bd5d9685807

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page