kayobe/releasenotes/notes/check-mode-local-config-3f8a4ba231a32c1f.yaml
Mark Goddard 2c0f705e7a Generate local Kolla Ansible config in check mode
If running a command in check mode such as

    kayobe overcloud service deploy --check

Kayobe does not generate the local configuration for Kolla Ansible. This
can lead to an inaccurate result when comparing with the remote
configuration, if there are changes in kayobe-config.

For example:

* Run kayobe overcloud service deploy
* Change a file in etc/kayobe/kolla
* Run kayobe overcloud service deploy --check --diff

We would expect that the changed file results in a diff against the
remote config. However there is no diff displayed.

This change fixes the issue by always generating the local Kolla Ansible
config, even in check mode.

Change-Id: Ic1dd075076ea186b0928bba1a235605c0cd2ec71
Story: 2010526
Task: 47132
2023-04-19 17:01:09 +01:00

8 lines
285 B
YAML

---
fixes:
- |
Fixes an issue where local configuration generation would be skipped when
running in check mode. This would lead to Kolla Ansible checking with stale
configuration. See `story 2010526
<https://storyboard.openstack.org/#!/story/2010526>`__ for details.