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

failed to rollout restart or pod stop && restart #2771

Open
wwm5241 opened this issue Feb 14, 2025 · 2 comments
Open

failed to rollout restart or pod stop && restart #2771

wwm5241 opened this issue Feb 14, 2025 · 2 comments

Comments

@wwm5241
Copy link

wwm5241 commented Feb 14, 2025

Currently, when performing a rollout restart or stopping and restarting a pod, I frequently encounter the following error:

AttachVolume.Attach failed for volume "pvc-4479eb54-988f-4671-bd28-c1faadfaf0c1" rpc error: code = Internal desc = [ControllerPublishVolume] Attach Volume failed with error failed to attach 6f0df2f0-e937-47b2-a213-904991b0b942 volume to bcd20893-e429-4e97-a17f-8e7a947dc32 compute: Bad request with: [POST http:172.16.10.5:18774/v2.1/servers/bcd20893-e429-4e97-a17f-8e7a947dcd32/os-volume: volume 6f0df2f0-e937-47b2-a213-904991b0b942 is already attached to instances: bcd20893-e429-4e97-a17f-8e7a947dcd32"]}
This issue persists consistently.

The OpenStack version is Wallaby.
Kubernetes is running inside a VM.
When checking the attachment of the PV, it is correctly attached to the VM where the pod is running.
The PV and PVC status show as "Bound".
The reclaim policy is set to "Delete".
Could you suggest a possible resolution for this issue?

@kayrus
Copy link
Contributor

kayrus commented Feb 14, 2025

thank you for a report. could you please clarify which component/pod raises these logs?

@wwm5241
Copy link
Author

wwm5241 commented Feb 14, 2025

@kayrus
Hello kayrus. This issue has occurred in the GitLab, WAS, and Redis pods so far, and it continues to occur intermittently in most pods.

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