Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subnet Id not found when it exists #12471

Open
mohammedyunus2002 opened this issue Dec 12, 2024 · 5 comments
Open

Subnet Id not found when it exists #12471

mohammedyunus2002 opened this issue Dec 12, 2024 · 5 comments
Labels
needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-priority needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@mohammedyunus2002
Copy link

Failed build model due to operation error EC2: DescribeSubnets, https response error StatusCode: 400, RequestID: b3348ce4-2215-403a-8c56-c418efd5147a, api error InvalidSubnetID.NotFound: The subnet ID 'subnet-018ee4ce6ac310793' does not exist

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: voting-app-ingress
annotations:
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}]'
alb.ingress.kubernetes.io/subnets: "subnet-0cee6592fc25eb61f, subnet-04b987dfadd099e9d, subnet-018ee4ce6ac310793"
alb.ingress.kubernetes.io/vpc-id: "vpc-061589e79b5151399"
spec:
ingressClassName: alb
rules:
- host: {{ .Values.ingress.host }}
http:
paths:
- path: /vote
pathType: Prefix
backend:
service:
name: {{ .Values.ingress.services.vote }}
port:
number: {{ .Values.ingress.ports.vote }}
- path: /result
pathType: Prefix
backend:
service:
name: {{ .Values.ingress.services.result }}
port:
number: {{ .Values.ingress.ports.result }}

              Don't know where the error is I have a private vpc and a jump server all permissions are given even then this error persists
@mohammedyunus2002 mohammedyunus2002 added the kind/bug Categorizes issue or PR as related to a bug. label Dec 12, 2024
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-priority labels Dec 12, 2024
@mohammedyunus2002 mohammedyunus2002 changed the title Ssubnet Id not found when it exists Subnet Id not found when it exists Dec 12, 2024
@longwuyuan
Copy link
Contributor

longwuyuan commented Dec 12, 2024 via email

@longwuyuan
Copy link
Contributor

/remove-kind bug

@k8s-ci-robot k8s-ci-robot added needs-kind Indicates a PR lacks a `kind/foo` label and requires one. and removed kind/bug Categorizes issue or PR as related to a bug. labels Dec 12, 2024
@strongjz
Copy link
Member

This looks like an error for the AWS Load Balancer controller. Does the ingress-nginx RBAC/IAM have permission to describe subnets?

@strongjz
Copy link
Member

/triage needs-information

@k8s-ci-robot k8s-ci-robot added the triage/needs-information Indicates an issue needs more information in order to work on it. label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-priority needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
Development

No branches or pull requests

4 participants