Skip to content
Snippets Groups Projects
Commit 340418d9 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Docs: Document EXTRA_OPTS"

parents e2984754 9b484c25
No related branches found
No related tags found
No related merge requests found
...@@ -144,21 +144,11 @@ new images. ...@@ -144,21 +144,11 @@ new images.
Tips and Tricks Tips and Tricks
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
Kolla ships with several utilities intended to facilitate ease of operation. Kolla Ansible CLI
-----------------
``tools/cleanup-containers`` is used to remove deployed containers from the When running the ``kolla-ansible`` CLI, additional arguments may be passed to
system. This can be useful when you want to do a new clean deployment. It will ``ansible-playbook`` via the ``EXTRA_OPTS`` environment variable.
preserve the registry and the locally built images in the registry, but will
remove all running Kolla containers from the local Docker daemon. It also
removes the named volumes.
``tools/cleanup-host`` is used to remove remnants of network changes
triggered on the Docker host when the neutron-agents containers are launched.
This can be useful when you want to do a new clean deployment, particularly one
changing the network topology.
``tools/cleanup-images --all`` is used to remove all Docker images built by
Kolla from the local Docker cache.
``kolla-ansible -i INVENTORY deploy`` is used to deploy and start all Kolla ``kolla-ansible -i INVENTORY deploy`` is used to deploy and start all Kolla
containers. containers.
...@@ -198,6 +188,11 @@ images on hosts. ...@@ -198,6 +188,11 @@ images on hosts.
In order to do smoke tests, requires ``kolla_enable_sanity_checks=yes``. In order to do smoke tests, requires ``kolla_enable_sanity_checks=yes``.
Passwords
---------
The following commands manage the Kolla Ansible passwords file.
``kolla-mergepwd --old OLD_PASSWDS --new NEW_PASSWDS --final FINAL_PASSWDS`` ``kolla-mergepwd --old OLD_PASSWDS --new NEW_PASSWDS --final FINAL_PASSWDS``
is used to merge passwords from old installation with newly generated is used to merge passwords from old installation with newly generated
passwords during upgrade of Kolla release. The workflow is: passwords during upgrade of Kolla release. The workflow is:
...@@ -222,3 +217,22 @@ For example: ...@@ -222,3 +217,22 @@ For example:
``kolla-mergepwd``, by default, keeps old, unused passwords intact. ``kolla-mergepwd``, by default, keeps old, unused passwords intact.
To alter this behavior, and remove such entries, use the ``--clean`` To alter this behavior, and remove such entries, use the ``--clean``
argument when invoking ``kolla-mergepwd``. argument when invoking ``kolla-mergepwd``.
Tools
-----
Kolla ships with several utilities intended to facilitate ease of operation.
``tools/cleanup-containers`` is used to remove deployed containers from the
system. This can be useful when you want to do a new clean deployment. It will
preserve the registry and the locally built images in the registry, but will
remove all running Kolla containers from the local Docker daemon. It also
removes the named volumes.
``tools/cleanup-host`` is used to remove remnants of network changes
triggered on the Docker host when the neutron-agents containers are launched.
This can be useful when you want to do a new clean deployment, particularly one
changing the network topology.
``tools/cleanup-images --all`` is used to remove all Docker images built by
Kolla from the local Docker cache.
...@@ -65,6 +65,9 @@ Options: ...@@ -65,6 +65,9 @@ Options:
--vault-password-file <path> Specify password file for vault decrypt --vault-password-file <path> Specify password file for vault decrypt
--verbose, -v Increase verbosity of ansible-playbook --verbose, -v Increase verbosity of ansible-playbook
Environment variables:
EXTRA_OPTS Additional arguments to pass to ansible-playbook
Commands: Commands:
prechecks Do pre-deployment checks for hosts prechecks Do pre-deployment checks for hosts
check Do post-deployment smoke tests check Do post-deployment smoke tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment