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

Package downgrade do not work properly #2523

Open
TeddyAndrieux opened this issue May 5, 2020 · 0 comments
Open

Package downgrade do not work properly #2523

TeddyAndrieux opened this issue May 5, 2020 · 0 comments
Labels
kind:bug Something isn't working state:question Further information is requested topic:lifecycle Issues related to upgrade or downgrade of MetalK8s

Comments

@TeddyAndrieux
Copy link
Collaborator

Component:

'salt'

What happened:

In our custom metalk8s_package_manager.list_pkg_dependents we do not handle properly dependencies for downgrade.
yum do not handle properly the packages dependencies when downgrading so you need to specify all packages that need to be downgraded.
Currently we only add package that requires the package we want to downgrade, it's not sufficient.

What was expected:

Having the real list of package that needs to be downgraded

For example, when you downgrade salt-minion you also need to downgrade salt and salt-ssh, salt-master, salt-<whatever> if they are installed, and this should be handle automatically for all packages

Steps to reproduce

Resolution proposal (optional):

I don't know :/

Maybe a yum plugin could help for this

@TeddyAndrieux TeddyAndrieux added kind:bug Something isn't working state:question Further information is requested topic:lifecycle Issues related to upgrade or downgrade of MetalK8s labels May 5, 2020
TeddyAndrieux added a commit that referenced this issue May 5, 2020
In our custom package manager salt module, add a special case to handle
Salt downgrade, as `yum` do not handle downgrade dependencies properly
you need to provide all dependencies explicitly.

Sees: #2523
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Something isn't working state:question Further information is requested topic:lifecycle Issues related to upgrade or downgrade of MetalK8s
Projects
None yet
Development

No branches or pull requests

1 participant