-
Notifications
You must be signed in to change notification settings - Fork 239
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
Upgrade 1.7.2 to 1.8.0 at Ubuntu hanging due to missing allow-change-held-packages flag #3289
Comments
/label customer-request |
maybe related to #1578 |
@xmudrii the translation of this is:
the most relevant one is
Somehow the changed packages are the one of kubeone, I guess maybe some broken/stopped former
a maybe safe way could be also to only set this flag when you use |
I'm unable to reproduce the issue. Initialized kubernetes 1.27.15 with kubeone 1.7.2. Then upgraded to
|
i can reproduce the issue on ubuntu. |
@dgsponer Can you please briefly explain what steps did you take exactly to reproduce this issue? I'm wondering about:
|
Hi, sure Plain Ubuntu Server 24.04 LTS installed per LiveCD. cluster installed with kubeone 1.8.0 and kubernetes 1.29.6. today tested for upgrading to 1.30.3. hit the same issue. then the upgrade was fine |
As a side note, Ubuntu 24.04 is not yet supported by KubeOne, it'll be supported in the next minor release (1.9). We'll try to reproduce the issue again and see if we can find something. Did you by any chance do a system/packages upgrade between installing the cluster and upgrading it? |
we are in close contact with some guys from you for a project. we work on the bootstrap for ubuntu and have some machines ready to try reproduce there. i will inform you. |
I wonder if kubeone reset has been used in between? |
Hi kron4eg, nope, i didn't. After short research: in 24.04. apt mark few packages as hold.
as workaround for 24.04.:
DO THE UPGRADE
|
Yes, those packages are correctly held. This is how it's suppose to be. During the upgrade they will be unheld.
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
What happened?
During an upgrade of an customer environment the following error message appeared and blocked the upgrade:
Env:
Expected behavior
kubeone set the flag
--allow-change-held-packages
during the upgrade procedure call ofapt install ... kubelet kubeadm ...
How to reproduce the issue?
pot. setup kubeone 1.7 cluster single node, then try to upgrade with kubeone 1.8
What KubeOne version are you using?
Provide your KubeOneCluster manifest here (if applicable)
What cloud provider are you running on?
Bare Metal
What operating system are you running in your cluster?
Ubuntu 22.04.04
Additional information
The text was updated successfully, but these errors were encountered: