Bug 1973258
| Summary: | The status of the successfully deployed SNO spoke, isn't updated in ACM UI - shows "creating". | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Alexander Chuzhoy <sasha> |
| Component: | assisted-installer | Assignee: | Michael Filanov <mfilanov> |
| assisted-installer sub component: | assisted-service | QA Contact: | Yuri Obshansky <yobshans> |
| Status: | CLOSED DUPLICATE | Docs Contact: | |
| Severity: | urgent | ||
| Priority: | unspecified | CC: | aos-bugs, bjacot, ccrum, jparrill, mcornea, odepaz |
| Version: | 4.8 | Keywords: | Regression |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-06-21 12:13:56 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Alexander Chuzhoy
2021-06-17 13:57:35 UTC
oc get managedcluster elvis -o yaml
apiVersion: cluster.open-cluster-management.io/v1
kind: ManagedCluster
metadata:
creationTimestamp: "2021-06-17T04:50:19Z"
finalizers:
- agent.open-cluster-management.io/klusterletaddonconfig-cleanup
- managedclusterinfo.finalizers.open-cluster-management.io
- open-cluster-management.io/managedclusterrole
- cluster.open-cluster-management.io/api-resource-cleanup
generation: 1
name: elvis
resourceVersion: "699671"
uid: bef34974-b1c6-4993-bd3f-4598a67ce181
spec:
hubAcceptsClient: true
leaseDurationSeconds: 60
status:
capacity:
core_worker: "0"
socket_worker: "0"
conditions:
- lastTransitionTime: "2021-06-17T04:50:20Z"
message: Accepted by hub cluster admin
reason: HubClusterAdminAccepted
status: "True"
type: HubAcceptedManagedCluster
- lastTransitionTime: "2021-06-17T05:00:20Z"
message: Registration agent stopped updating its lease.
reason: ManagedClusterLeaseUpdateStopped
status: Unknown
type: ManagedClusterConditionAvailable
version: {}
oc get KlusterletAddonConfig elvis -o yaml
apiVersion: agent.open-cluster-management.io/v1
kind: KlusterletAddonConfig
metadata:
creationTimestamp: "2021-06-17T04:50:19Z"
finalizers:
- agent.open-cluster-management.io/klusterletaddonconfig-cleanup
generation: 2
name: elvis
namespace: elvis
resourceVersion: "687405"
uid: 88a7a216-bd96-4b68-a190-ee742d48dee8
spec:
applicationManager:
argocdCluster: false
enabled: true
certPolicyController:
enabled: true
clusterLabels:
cloud: auto-detect
vendor: auto-detect
clusterName: elvis
clusterNamespace: elvis
iamPolicyController:
enabled: true
policyController:
enabled: true
searchCollector:
enabled: false
version: ""
oc get AgentClusterInstall -n elvis -o=custom-columns='STATUS:status.conditions[-3].message'
STATUS
The installation has completed: Cluster is installed
I checked things with older hub cluser: Version: hub cluster running 4.8.0-fc.7 spoke running 4.8.0-fc.9 quay.io/acm-d/acm-custom-registry:2.3.0-DOWNSTREAM-2021-06-17-01-26-58 Same steps repeated and the spoke cluster became ready automatically, so seems like we have some regression. Shouldn't it be assigned to ACM? I don't really know what they are looking at in cluster deployment. Can you please attach the output of cluster deployment? It's a duplicate of other bug in openshift-apiserver that already been handled TL;DR: openshift-apiserver proxies requests to the kube-apiserver, and there are impersonation headers that have not been escaped well. Hive installation uses those headers, and so the installation of Hive operator most probably started but didn't succeed. Make sure to check for a successful installation even on the HiveConfig object (in our automation we forgot it as well). *** This bug has been marked as a duplicate of bug 1972687 *** The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |