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

Enable filter for security group by VPC #2982

Closed
arjunsbabu opened this issue Aug 12, 2021 · 2 comments · Fixed by #2978
Closed

Enable filter for security group by VPC #2982

arjunsbabu opened this issue Aug 12, 2021 · 2 comments · Fixed by #2978
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure

Comments

@arjunsbabu
Copy link

Hi Team,

Currently in ibmcloud if the number of security group is more than 100 then the API is responding with error 500.
In this case terraform plan/apply is also getting failed with the same error.
So this could be solved if terraform filter the SG by VPC.
Hence request you to check on the same.

@arjunsbabu
Copy link
Author

arjunsbabu commented Aug 12, 2021

Terraform errors are as follows

2021/08/12 11:51:46 [TRACE] dag/walk: vertex "module.ad-ser-vm-sg-2.ibm_is_security_group.sg (expand)" is waiting for "module.ad-ser-vm-sg-2.var.vpc_id (expand)"
2021/08/12 11:51:46 [TRACE] dag/walk: vertex "module.sg-webd-lz.ibm_is_security_group.sg (expand)" is waiting for "module.sg-webd-lz.var.vpc_id (expand)"
2021/08/12 11:51:48 [TRACE] vertex "module.lz_vpc.ibm_is_vpc.vpc[0]": visit complete
2021/08/12 11:51:48 [TRACE] vertex "module.lz_vpc.ibm_is_vpc.vpc": dynamic subgraph encountered errors
2021/08/12 11:51:48 [TRACE] vertex "module.lz_vpc.ibm_is_vpc.vpc": visit complete
2021/08/12 11:51:48 [TRACE] vertex "module.lz_vpc.ibm_is_vpc.vpc (expand)": dynamic subgraph encountered errors
2021/08/12 11:51:48 [TRACE] vertex "module.lz_vpc.ibm_is_vpc.vpc (expand)": visit complete
2021/08/12 11:51:48 [TRACE] dag/walk: upstream of "module.lz_vpc.output.vpc_default_network_acl (expand)" errored, so skipping
2021/08/12 11:51:48 [TRACE] dag/walk: upstream of "module.lz_vpc.output.vpc_id (expand)" errored, so skipping
2021/08/12 11:51:48 [TRACE] dag/walk: upstream of "module.lz_vpc.ibm_is_vpc_address_prefix.vpc_address_prefixes (expand)" errored, so skipping


│ Error: internal error has occurred
│6, in resource "ibm_is_vpc" "vpc":
│    6: resource "ibm_is_vpc" "vpc" {
│
╵
╷
│ Error: internal error has occurred
│
│   on  6, in resource "ibm_is_vpc" "vpc":
│    6: resource "ibm_is_vpc" "vpc" {
│

@arjunsbabu
Copy link
Author

Ibmcloud CLI errors are as follows

Listing security groups for generation 2 compute in all resource groups and region eu-de under account IBM-account with SAP as user user
FAILED
Failed to list security groups.

FAILED
Response HTTP Status Code: 500
Error code: internal_error
Error message: internal error has occurred
Trace ID:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants