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

Add option to disable a pre upgrade check #478

Open
samuelallan72 opened this issue Jul 3, 2024 · 1 comment
Open

Add option to disable a pre upgrade check #478

samuelallan72 opened this issue Jul 3, 2024 · 1 comment

Comments

@samuelallan72
Copy link
Contributor

Sometimes there might be a minor issue on the cloud, one that won't affect upgrades. For example, I have a case where glance-simplestreams-sync has workload status blocked because it failed to sync images.

In these cases, COU will currently fail the pre-upgrade checks and refuse to continue the upgrade:

$ cou upgrade
...
Running cloud upgrade...
Verify that all OpenStack applications are in idle state ✖
2024-07-03 01:51:59 [ERROR] Unit in blocked: glance-simplestreams-sync/0
2024-07-03 01:51:59 [ERROR] See the known issues at https://canonical-charmed-openstack-upgrader.readthedocs-hosted.com/en/stable/reference/known-issues/

I'd like a way to ignore the check so I can continue the upgrade without being blocked.

It should be a fine grained ignore, to avoid over-ignoring issues. For example:

cou upgrade --ignore-check 'blocked.*glance-simplestreams-sync'
@gabrielcocenza
Copy link
Member

I understand how frustrating this can be, but at the same time being able to ignore is a good way to shoot in the foot

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

No branches or pull requests

2 participants