Bug 1498934
Summary: | Need installer support for ClusterID on AWS : master controller service not starting: ClusterID not configured | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Mike Fiedler <mifiedle> | ||||
Component: | Installer | Assignee: | Scott Dodson <sdodson> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Johnny Liu <jialiu> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.7.0 | CC: | aos-bugs, jokerman, mifiedle, mmccomas | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-10-05 20:05:50 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: | |||||||
Attachments: |
|
Description
Mike Fiedler
2017-10-05 15:04:12 UTC
The "Could not find an allocated subnet for node" message indicates that the master is either not started, has not completed its initialization, or hasn't been able to create a HostSubnet for the node. Could we: 1) get master logs 2) get 'oc get hostsubnets' output comment 1 is correct. The atomic-openshift-master-controllers svc is not starting because of: F1005 18:51:43.450870 64966 controllermanager.go:179] error building controller context: no ClusterID Found. A ClusterID is required for the cloud provider to function properly https://github.com/openshift/origin/pull/16331 now enforces a ClusterID and from what I gather from https://github.com/openshift/openshift-ansible/pull/4726 it is being read from some label. From @rsquared: either "KubernetesCluster" or "kubernetes.io/cluster/<unique cluster string>". The former is the old way, the latter the new way. Is this something openshift-ansible can help with? I tried openshift_cloudprovider_aws_cluster_id from https://github.com/openshift/openshift-ansible/pull/4726 but that did not work. Unless you're using the new provisioning work we don't manage your instances and there's no reasonable manner in which to retroactively label things. You must label your instances ahead of running the installer. Labelling the instances with KubernetesCluster took care of it. Will open a separate bz for openshift-ansible to enforce it. *** This bug has been marked as a duplicate of bug 1491399 *** |