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

[BUG] Upgrade stuck due to Multi-Attach error #23

Open
mattmattox opened this issue Mar 23, 2024 · 0 comments
Open

[BUG] Upgrade stuck due to Multi-Attach error #23

mattmattox opened this issue Mar 23, 2024 · 0 comments

Comments

@mattmattox
Copy link
Contributor

The deployment vm-import-controller-harvester-vm-import-controller uses a RWO PVC from Longhorn. The issue comes when you try to upgrade it, the new pod ever gets out of ContainerCreating because it's waiting on the PVC to be attached but of course it's still attached to the old pod.

Error:

  Warning  FailedAttachVolume  54s   attachdetach-controller  Multi-Attach error for volume "pvc-bca43bf8-e4a9-4a4f-89ba-c95fdeda3b46" Volume is already used by pod(s) vm-import-controller-harvester-vm-import-controller-7f4bf5l9ln9

To resolve this, we simply need to update the upgrade strategy from rolling to recreate IE delete first then start new one.

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

1 participant