Comments (4)
In create-efs.sh script, we are filtering the VPC based on the CIDR address assigned to vpc while creating the cluster in the variables.tf file.
variable.tf
variable "vpc_cidr" {
description = "The CIDR block for the VPC, e.g: 10.0.0.0/16"
default = "10.0.0.0/16"
}
create-efs.sh
VPD_ID=aws ec2 describe-vpcs --filters "Name=cidr,Values=$2" --query 'Vpcs[*].VpcId' --output text | xargs
ocp-install.tf
"./create-efs.sh ${var.region} ${var.vpc_cidr}",
We are expecting a unique CIDR address for each VPC in a particular aws region.
In your efs log file, it looks like there is more than one vpc with the same cidr address.
from cp4d-deployment.
That's correct. Each of our VPCs use 10.0.0.0/16.
So this is a restriction in your design? Since it is perfectly valid to re-use the same CIDR in different VPCs as they are effectively seperate isolated networks. So when you say 'We are expecting a unique CIDR address for each VPC in a particular aws region.', why are you setting that restriction?
from cp4d-deployment.
I have fixed the issue, now create-efs.sh won't search for vpc based on cidr address.
regarding the use of same CIDR in different VPCs, as per aws best practices:
"while you can create multiple VPCs with overlapping IP address ranges, doing so will prohibit you from connecting these VPCs to a common home network via the hardware VPN connection. For this reason we recommend using non-overlapping IP address ranges." https://aws.amazon.com/vpc/faqs/
from cp4d-deployment.
I see that there are some technical use cases where non-overlapping ranges might be important. Whether these use cases are relevant to setting up CPD, I'm not sure, but I'm willing to give you the benefit of the doubt ;)
In that case, it would be good to state in the documentation that the CIDR should be non-overlapping, as that information was not stated previously.
from cp4d-deployment.
Related Issues (20)
- Error on portworx instance not found during install HOT 2
- Error on validating permissions on self-managed deployment mode. HOT 7
- Install fails with admission webhook "regular-user-validation.managed.openshift.io" denied the request HOT 1
- Update diagram with storage and infra node details HOT 1
- Running podman or docker fails HOT 1
- IBM Support HOT 1
- Login to rosa cluster as cluster-admin. error: A server URL must be specified HOT 3
- Deploying catalog Sources & subscription failed for cpfs,cpd_platform HOT 1
- Issues with AWS Marketplace Offerings HOT 14
- wkc-cr Installation Failed HOT 2
- node configuration HOT 5
- Unable to install Services HOT 1
- [managed-openshift/ibmcloud] Problems installing WKC HOT 4
- WKC installation run forever HOT 4
- caserviceinstances.ca.cpd.ibm.com CR failure HOT 1
- [selfmanaged-openshift/aws] Portworx Disk Sizes HOT 1
- Installation on IBM Roks not working with this error message related to HOT 1
- ROSA Deployment Issues HOT 1
- Error to get ROSA login HOT 1
- Unable to Load the Notebook and Runtime Environments HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cp4d-deployment.