-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
4.19.0
-
Critical
-
Yes
-
Rejected
-
False
-
Description of problem:
In 4.19 HyperShift hosted cluster, kubeadmin login always fails. 4.18 HyperShift hosted cluster (MGTM cluster and hosted cluster both are 4.18) doesn't have the issue.
Version-Release number of selected component (if applicable):
MGMT cluster version and hosted cluster version both are 4.19.0-0.nightly-2025-02-11-161912
How reproducible:
Always
Steps to Reproduce:
1. Launch 4.19 HyperShift management cluster and a hosted cluster on it. 2. Run kubeadmin login against HCP: $ export KUBECONFIG=/path/to/mgmt/kubeconfig $ oc get secret kubeadmin-password -n clusters-hypershift-ci-334742 -o 'jsonpath={ .data.password }' | base64 -d WJt9r-xxxxx-xxxxx-fpAMT $ export KUBECONFIG=/path/to/hosted-cluster/kubeconfig $ oc login -u kubeadmin -p "WJt9r-xxxxx-xxxxx-fpAMT" Login failed (401 Unauthorized) Verify you have provided the correct credentials.
Actual results:
HyperShift hosted cluster kubeadmin login always fails.
Expected results:
Success.
Additional info:
If I then configured htpasswd IDP for the hosted cluster, htpasswd user can login successfully.