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

DBSync: Bump service versions #222

Merged

Conversation

Akrog
Copy link
Contributor

@Akrog Akrog commented Jun 30, 2023

When adopting the cinder services we end up with the services getting pinned to the old RPC and OVO versions, and to fix that we would need to restart the services. This is the standard rolling upgrades mechanism.

Since the adoption is more like an offline update/upgrade we need to bump these versions in the DB before we start them so they all start with the right versions.

The cinder-manage db sync command has a flag specifically designed for this purpose: --bump-versions

This patch adds this flag to the job that syncs the DB.

Once we start working on updates and upgrades we'll have to revisit this to see if we need to tweak it or not.

When adopting the cinder services we end up with the services getting
pinned to the old RPC and OVO versions, and to fix that we would need to
restart the services.  This is the standard rolling upgrades mechanism.

Since the adoption is more like an offline update/upgrade we need to
bump these versions in the DB before we start them so they all start
with the right versions.

The `cinder-manage db sync` command has a flag specifically designed for
this purpose: `--bump-versions`

This patch adds this flag to the job that syncs the DB.

Once we start working on updates and upgrades we'll have to revisit this
to see if we need to tweak it or not.
@Akrog
Copy link
Contributor Author

Akrog commented Jul 14, 2023

/retest-required

Copy link
Contributor

@abays abays left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 14, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abays, Akrog

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ASBishop
Copy link
Contributor

/retest-required

1 similar comment
@Akrog
Copy link
Contributor Author

Akrog commented Jul 24, 2023

/retest-required

@openshift-merge-robot openshift-merge-robot merged commit c972735 into openstack-k8s-operators:main Jul 24, 2023
2 checks passed
ASBishop pushed a commit to ASBishop/cinder-operator that referenced this pull request Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants