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 get credentials for ready ClusterClaim #17

Open
KevinFCormier opened this issue Feb 3, 2021 · 1 comment
Open

Failed to get credentials for ready ClusterClaim #17

KevinFCormier opened this issue Feb 3, 2021 · 1 comment

Comments

@KevinFCormier
Copy link
Collaborator

get_credentials.sh failed to fetch my credentials even though my cluster was ready.

% ./get_credentials.sh
* Testing connection
* Using cluster: https://api.collective.aws.red-chesterfield.com:6443
* 
* Using app
* Using: kevin
Cluster is not ready, current state: [Pending: :] [Hibernating: False:Running] [Unreachable: False:ClusterReachable]
Unable to extract credentials until cluster is claimed and ready.

The entire status property is missing on my ClusterClaim. Any idea if this could also occur when the ClusterClaim is not ready? I changed the condition to check for == "True" instead of != "False" in the attached PR and that fixed my issue. I changed it for both the conditions that come from ClusterClaim and those that come from ClusterDeployment, but perhaps its only ClusterClaim that has this issue. If the fix is OK, we should make the same change in apply.sh as well.

@dhaiducek
Copy link
Collaborator

This is actually a Hive bug. The Claim and Deployment never attach and the Deployment's status never propagates. We have a thread going at https://coreos.slack.com/archives/CE3ETN3J8/p1610374927110400 and have an open Jira https://issues.redhat.com/browse/HIVE-1343. We're waiting for a logging fix in the Collective cluster's Hive instance so we can get more information about it.

Your PR looks like it'd work around the bug, though! @gurnben

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