Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[23.03] Make version pinning optional #87

Conversation

fnordahl
Copy link
Contributor

@fnordahl fnordahl commented Dec 4, 2023

Backport support for configuring version pinning. In order to not impose a change of behavior on existing deployments the default value for the option is set to 'true' on the stable branches.

Instrumented test run with these changes can be viewed in https://review.opendev.org/c/x/charm-ovn-chassis/+/902572 and https://review.opendev.org/c/x/charm-ovn-chassis/+/902571

The `enable_openstack` class variable was left behind when the
property of the same name was added.

Since then a check for this condition has been added and it
consequently leads to an error in the pep8 check.

Signed-off-by: Frode Nordahl <[email protected]>
(cherry picked from commit 0cacfc1)
@fnordahl fnordahl force-pushed the branch-23.03-add-version-pinnning-option branch from 2a61104 to 9c43523 Compare December 4, 2023 13:48
@fnordahl fnordahl changed the title Make version pinning optional [23.03] Make version pinning optional Dec 6, 2023
@fnordahl fnordahl marked this pull request as ready for review December 6, 2023 06:10
The OVN charms prepared for the upgrade from OVN 20.03 to newer
versions by unconditionally enabling version pinning.

Since then we have reached agreement with upstream that rolling
upgrades should work when upgrading within the previous upstream
LTS version and the next.

Having the pinning enabled may cause unnecessary grief for anyone
already upgraded to OVN 22.03.

Add a charm configuration option to allow controlling the version
pinning.

Closes-Bug: #2030944
Signed-off-by: Frode Nordahl <[email protected]>
(cherry picked from commit f68ecbd)

Conflicts:
	config.yaml
@fnordahl fnordahl force-pushed the branch-23.03-add-version-pinnning-option branch from 9c43523 to 0a35f73 Compare December 6, 2023 06:16
@fnordahl fnordahl requested a review from mkalcok December 6, 2023 06:19
Copy link
Contributor

@mkalcok mkalcok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fnordahl fnordahl merged commit b08c4e1 into openstack-charmers:stable/23.03 Dec 6, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants