-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
openstack cloud provider fails to reauthenticate #44461
Comments
@xrl just posted gophercloud/gophercloud#255 in slack that seems to be very much related. Testing locally to see if it addresses. |
looks like that patch addressed it |
/cc @kubernetes/sig-openstack-bugs @idvoretskyi can I get you to tag this with the sig/openstack label please. |
This is a significant regression in 1.6 for us. Can this be prioritised, and when fixed cherry-picked into a 1.6 patch release? |
I assume we just need to bump the release of gophercloud/gophercloud Master (as of today): gophercloud/gophercloud@b06120d...ce1e02c - 80 file changes Related fixes only: gophercloud/gophercloud@b06120d...0bf921d - 74 file changes |
I think this is also breaking the kubelet:
|
I incline to accept this for 1.7 because
@idvoretskyi WDYT? I marked this for 1.7, but it requires your approver. Thanks! cc/ @kubernetes/kubernetes-release-managers |
@mikebryant that error is from an unpatched kubelet, correct? That is the error which prompted me to fix the bug upstream. |
@xrl Yeh (well, it's the coreos hyperkube distribution, but I'm not aware of them patching anything) |
@dchen1107 on behalf of @kubernetes/sig-openstack-misc SIG, yes, let us please merge referenced PR #45545 |
…cloud-bump Automatic merge from submit-queue (batch tested with PRs 46678, 45545, 47375) update gophercloud/gophercloud dependency **What this PR does / why we need it**: **Which issue this PR fixes** fixes kubernetes#44461 **Special notes for your reviewer**: **Release note**: ```release-note update gophercloud/gophercloud dependency for reauthentication fixes ```
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.):
no
What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.):
cinder / openstack / reauth
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Bug Report
Kubernetes version (use
kubectl version
):Environment:
uname -a
):Kargo
Kubelet running in rkt via systemd service; docker still used for kubernetes workloads
What happened:
When kubelet initially starts up, it is able to successfully authenticate to openstack and openstack integration works great ( dynamic provisioning with cinder, pulling instance data, etc ). However, after 12h ( our token TTL ), kubelet ( and other kubernetes components ) attempt to reauthenticate and fail to do so --
After it fails to re-authenticate, cinder persistent volumes can no longer be created.
We did some packet captures and found that during kubelet startup, it sends in the correctly scoped request --
When doing the reauth, the scope is missing from the request,
Which results in openstack responding with
What you expected to happen:
Kubernetes components can reauthenticate with Openstack as necessary
How to reproduce it (as minimally and precisely as possible):
Provision an environment with openstack cloud provider, let it sit around for 12h ( or longer depending on the configuration for the session to expire ). You should be able to see log messages in kubelet and controller-manager about failing to connect with openstack. You can also attempt to provision a pv/pvc using cinder and see it get stuck in a pending state.
Anything else we need to know:
I believe this was working correctly in 1.5.x
It looks like between 1.5 -> 1.6, gophercloud was replaced/updated. I'm suspecting it has something to do with this, but not positive.
The text was updated successfully, but these errors were encountered: