AWS cloud provider does not support multiple regions in OpenShift
Issue
- The node hosts on other region with master hosts are failed to join to cluster when OCP install with cloud provider on AWS.
- You can see the following messages from master controllers when you met not adding other region's node hosts.
node_lifecycle_controller.go:712] Deleting node (no longer present in cloud provider): ip-10-0-0-1.ap-northeast-1.compute.internal
controller_utils.go:212] Recording Deleting Node ip-10-0-0-1.ap-northeast-1.compute.internal because it's not present according to cloud provider event message for node ip-10-0-0-1.ap-northeast-1.compute.internal
- The worker/compute nodes can not be added to a OCP cluster which is based on the following topology on AWS.
[master/infra] - Region A
|
VPC peering
|
[worker] - Region B
- The installation is failed with the following messages, and node hosts in other regions list in
Could not find csr for nodes:
.
Failure summary:
1. Hosts: ip-10-1-1-1.us-east-1.compute.internal
Play: Approve any pending CSR requests from inventory nodes
Task: Approve node certificates when bootstrapping
Message: Could not find csr for nodes: ip-10-0-0-1.ap-northeast-1.compute.internal, ip-10-0-0-2.ap-northeast-1.compute.internal
Environment
- OpenShift Container Platform
- 3.11
- AWS
- Using multiple regions
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.