How to categorize this issue?
/area quality
/kind bug regression
/platform aws
What happened:
The lately introduced VPC network subset check in #1662 causes validation errors for valid shoot configurations.
A VPC can have multiple CIDR blocks (ref), but the validation only considers the primary block (see here).
task "Waiting until shoot infrastructure has been reconciled" failed:
Error while waiting for Infrastructure shoot--test--test/test to
become ready: error during reconciliation: Error checking infrastructure
config: [networking.nodes: Invalid value: "10.250.0.0/20": must be a
subset of "networks.vpc.id" ("10.240.0.0/16"), networking.public:
Invalid value: "10.250.96.0/21": must be a subset of "networks.vpc.id"
("10.238.140.128/27"), networking.internal: Invalid value:
"10.250.64.0/21": must be a subset of "networks.vpc.id"
("10.238.140.128/27"), networking.nodes: Invalid value:
"10.250.16.0/20": must be a subset of "networks.vpc.id"
("10.238.140.128/27"), networking.public: Invalid value:
"10.250.104.0/21": must be a subset of "networks.vpc.id"
("10.238.140.128/27"), networking.internal: Invalid value:
"10.250.72.0/21": must be a subset of "networks.vpc.id"
("10.238.140.128/27")]
What you expected to happen:
The infrastructure reconciliation to succeed.
How to reproduce it (as minimally and precisely as possible):
- Create a VPC with at least two CIDR blocks attached.
- Create a Shoot cluster and choose subnets from a non-primary CIDR block of the VPC.
Anything else we need to know?:
Environment:
- Gardener version (if relevant):
- Extension version: v1.68.0
- Kubernetes version (use
kubectl version):
- Cloud provider or hardware configuration:
- Others:
How to categorize this issue?
/area quality
/kind bug regression
/platform aws
What happened:
The lately introduced VPC network subset check in #1662 causes validation errors for valid shoot configurations.
A VPC can have multiple CIDR blocks (ref), but the validation only considers the primary block (see here).
What you expected to happen:
The infrastructure reconciliation to succeed.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl version):