Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
340418d9
Commit
340418d9
authored
5 years ago
by
Zuul
Committed by
Gerrit Code Review
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Docs: Document EXTRA_OPTS"
parents
e2984754
9b484c25
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/source/user/operating-kolla.rst
+28
-14
28 additions, 14 deletions
doc/source/user/operating-kolla.rst
tools/kolla-ansible
+3
-0
3 additions, 0 deletions
tools/kolla-ansible
with
31 additions
and
14 deletions
doc/source/user/operating-kolla.rst
+
28
−
14
View file @
340418d9
...
@@ -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.
This diff is collapsed.
Click to expand it.
tools/kolla-ansible
+
3
−
0
View file @
340418d9
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment