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

current_os_release also consider OpenStack release set in configuration #400

Merged
merged 9 commits into from
May 7, 2024

Conversation

gabrielcocenza
Copy link
Member

Apps that are colocated with nova-compute will upgrade packages during nova-compute upgrade. To ensure to change the 'source' or 'openstack-origin' and run all the upgrade steps necessary, it's necessary to include the OpenStack release set in the application configuration.

This patch also fix the post-upgrade generation to ensure that the require-osd-release option matches the ceph-osd version by passing control-plane apps where ceph-mon is and not on data-plane apps

Closes: #399, #396 and #380

Apps that are colocated with nova-compute will upgrade packages
during nova-compute upgrade. To ensure to change the 'source' or
'openstack-origin' and run all the upgrade steps necessary, it's
necessary to include the OpenStack release set in the application
configuration.

This patch also fix the post-upgrade generation to ensure that the
require-osd-release option matches the ceph-osd version by passing
control-plane apps where ceph-mon is and not on data-plane apps

Closes: canonical#399, canonical#396 and canonical#380
@gabrielcocenza gabrielcocenza self-assigned this May 2, 2024
@gabrielcocenza gabrielcocenza requested a review from a team as a code owner May 2, 2024 19:54
cou/apps/base.py Show resolved Hide resolved
cou/apps/base.py Outdated Show resolved Hide resolved
cou/steps/plan.py Outdated Show resolved Hide resolved
cou/apps/base.py Outdated Show resolved Hide resolved
@gabrielcocenza gabrielcocenza requested a review from aieri May 7, 2024 13:30
aieri
aieri previously approved these changes May 7, 2024
rgildein
rgildein previously approved these changes May 7, 2024
or hacluster that supports more than one channel for an Openstack
release.
Copy link
Contributor

@rgildein rgildein left a comment

Choose a reason for hiding this comment

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

Do not like it, but so we can do release.

@aieri
Copy link
Contributor

aieri commented May 7, 2024

As in previous comments, we are piling more and more complexity in the base class... A refactor would be really useful here

@gabrielcocenza gabrielcocenza merged commit 287d01b into canonical:main May 7, 2024
5 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
4 participants