| Age | Commit message (Collapse) | Author | Files | Lines |
|
This makes things more consistent. I'm hoping to rely on this in kayobe
to make the --kolla-playbook work when we make multiple calls to
kolla-ansible in the same command invocation.
Change-Id: Ieac1f4c7cf1cba19d08ac872bba60794af029110
Signed-off-by: Will Szumski <will@stackhpc.com>
(cherry picked from commit f699a60283e5b1b4ac247b0759c862d59e1c3150)
|
|
Change-Id: I2babda3d1388f1ee825fa79a1d85d3113b5ecbd4
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
|
|
This commit addresses and corrects the inconsistency in naming
across multiple files within the project. Specifically, the terms
mariadb_recovery and mariadb_backup have been replaced with
mariadb-recovery and mariadb-backup respectively to adhere to the
project's naming conventions and improve clarity.
Change-Id: I47b80eaa0dc0487f506b47ca065951b5140e0d62
Signed-off-by: Piotr Milewski <vurmil@gmail.com>
|
|
This patch ensures that the system Python interpreter is always used
during the `bootstrap-servers` phase by setting
`ansible_python_interpreter=auto_silent` via `extra_vars`, while the
`octavia-certificates` command now explicitly uses the same Python
interpreter that was used to invoke the `kolla-ansible` CLI, ensuring
compatibility with the local environment.
Summary:
- The `ansible_python_interpreter` is now dynamically defined in
`group_vars/all.yml`, falling back to the system interpreter if
no virtualenv is configured.
- CLI commands now detect and respect user-specified
`ansible_python_interpreter` values via `-e`, and avoid overriding them.
- The `bootstrap-servers` command always uses the system Python interpreter
by setting `ansible_python_interpreter=auto_silent`, ensuring a clean
environment for virtualenv creation.
- The `octavia-certificates` command uses the Python interpreter
that invoked the `kolla-ansible` CLI, ensuring compatibility with
locally installed packages (e.g. cryptography).
This improves interpreter handling across commands, especially in environments
with custom Python setups or virtual environments.
Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/949767
Change-Id: I7dc6cf8eda3b1fd48d2000f18b4670a4ef4ce1b4
|
|
|
|
The kolla docker/podman workers already have support for ignoring when
containers are missing. This patch just exposes that to the CLI with the
flag ``--ignore-missing``.
Change-Id: Ie74ea3ea66380063cf67f2e0edb2a0e160d89cd7
|
|
Add "migrate-container-engine" action to kolla-ansible which
changes the container engine on which the Openstack is deployed on.
For example Docker to Podman and vice versa.
Depends-on: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/925083
Signed-off-by: Konstantin Yarovoy <konstantin.yarovoy@tietoevry.com>
Signed-off-by: Martin Hiner <m.hiner@partner.samsung.com>
Signed-off-by: Roman Krček <roman.krcek@tietoevry.com>
Change-Id: Icd709cb042d44e063c5da64ab0695b0b6ba6d48b
|
|
This allows operators quickly diagnose all containers across
all hosts by running kolla-ansible check. It returns a list
of containers that are missing, not running or in unhealthy
state for each OpenStack service.
Change-Id: I36119ccdeb264aa3de928ec2254d6ff4cc955bfb
Implements: blueprint check-containers
Co-Authored-By: Roman Krček <roman.krcek@tietoevry.com>
|
|
I have no clue how it worked previously in CI, but now
it's using default path to the inventory - which does
not exist.
In addition to that, type=int in cliff will default to
None, so the check had to be rewritten - because we
always did cert expiry check instead of generating them.
Change-Id: I84d71558c2666ba2cfa47054f782d25ff0c1f691
|
|
Moving the CLI to python allows for easier
maintenance and larger feature-set.
This patch introduces a few breaking changes!
The changes stem the nature of the cliff package.
- the order of parameters must be
kolla-ansible <action> <arguments>
- mariadb_backup and mariadb_recovery now are
mariadb-backup and mariadb-recovery
Closes-bug: #1589020
Signed-off-by: Roman Krček <roman.krcek@tietoevry.com>
Change-Id: I9749b320d4f5eeec601a055b597dfa7d8fb97ce2
|