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

VPC: Invalid zone eu-de-{1,2,3} on cluster creation #615

Closed
FischerLGLN opened this issue Apr 1, 2022 · 8 comments · Fixed by #622
Closed

VPC: Invalid zone eu-de-{1,2,3} on cluster creation #615

FischerLGLN opened this issue Apr 1, 2022 · 8 comments · Fixed by #622
Assignees
Labels
area/provider/ibmcloud Issues or PRs related to ibmcloud provider kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@FischerLGLN
Copy link
Contributor

/kind bug
/area provider/ibmcloud

What steps did you take and what happened:
[A clear and concise description of what the bug is.]
Setting my API Key and the following endpoints during management cluster setup:

export IAM_ENDPOINT=https://iam.cloud.ibm.com/identity/token
export SERVICE_ENDPOINT=https://eu-de.iaas.cloud.ibm.com/v1

Settings before provisioning downstream cluster:

export IBMVPC_REGION=eu-de
export IBMVPC_ZONE=eu-de-1
export IBMVPC_RESOURCEGROUP=<my-resource-group>
export IBMVPC_NAME=cluster-api
export IBMVPC_IMAGE_ID=<my-capi-ḱ8s-image-id>
export IBMVPC_PROFILE=bx2-4x16
export IBMVPC_SSHKEY_ID=<my-ssh-key-id>

Used image: ubuntu-2004-ibmcloud-kube-v1-23-4

clusterctl generate cluster ibm-capi-cluster --kubernetes-version v1.23.4 \
--target-namespace cluster-api-ibm \
--control-plane-machine-count=1 \
--worker-machine-count=1 \
--from ./templates/cluster-template.yaml > cluster-start.yaml

kubectl apply -f cluster-start.yaml

Logs:

I0401 11:25:38.822842       1 logr.go:249] ibmvpcmachine-resource "msg"="default"  "name"="ibm-capi-cluster-md-0-4s8sd"
I0401 11:25:38.943006       1 logr.go:249] ibmvpcmachine-resource "msg"="validate create"  "name"="ibm-capi-cluster-md-0-4s8sd"
I0401 11:25:38.956686       1 ibmvpcmachine_controller.go:77] controllers/IBMVPCMachine "msg"="Machine Controller has not yet set OwnerRef" "ibmvpcmachine"={"Namespace":"cluster-api-ibm","Name":"ibm-capi-cluster-md-0-4s8sd"} 
I0401 11:25:39.222473       1 logr.go:249] ibmvpcmachine-resource "msg"="default"  "name"="ibm-capi-cluster-md-0-4s8sd"
I0401 11:25:39.271179       1 logr.go:249] ibmvpcmachine-resource "msg"="validate update"  "name"="ibm-capi-cluster-md-0-4s8sd"
I0401 11:25:39.608080       1 ibmvpcmachine_controller.go:149] controllers/IBMVPCMachine "msg"="Bootstrap data secret reference is not yet available" "cluster"="ibm-capi-cluster" "ibmvpcmachine"={"Namespace":"cluster-api-ibm","Name":"ibm-capi-cluster-md-0-4s8sd"} 
I0401 11:25:39.722977       1 logr.go:249] ibmvpcmachine-resource "msg"="default"  "name"="ibm-capi-cluster-md-0-4s8sd"
I0401 11:25:39.823175       1 logr.go:249] ibmvpcmachine-resource "msg"="validate update"  "name"="ibm-capi-cluster-md-0-4s8sd"
I0401 11:25:39.864637       1 ibmvpcmachine_controller.go:149] controllers/IBMVPCMachine "msg"="Bootstrap data secret reference is not yet available" "cluster"="ibm-capi-cluster" "ibmvpcmachine"={"Namespace":"cluster-api-ibm","Name":"ibm-capi-cluster-md-0-4s8sd"} 
I0401 11:26:06.843093       1 logr.go:249] ibmvpccluster-resource "msg"="default"  "name"="ibm-capi-cluster"
I0401 11:26:06.982746       1 logr.go:249] ibmvpccluster-resource "msg"="validate update"  "name"="ibm-capi-cluster"
I0401 11:26:07.122647       1 logr.go:249] ibmvpccluster-resource "msg"="default"  "name"="ibm-capi-cluster"
I0401 11:26:07.153230       1 logr.go:249] ibmvpccluster-resource "msg"="validate update"  "name"="ibm-capi-cluster"
E0401 11:26:10.942821       1 controller.go:317] controller/ibmvpccluster "msg"="Reconciler error" "error"="failed to reconcile Control Plane Endpoint for IBMVPCCluster cluster-api-ibm/ibm-capi-cluster: invalid zone eu-de-1" "name"="ibm-capi-cluster" "namespace"="cluster-api-ibm" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="IBMVPCCluster" 
I0401 11:39:30.613505       1 ibmvpcmachine_controller.go:149] controllers/IBMVPCMachine "msg"="Bootstrap data secret reference is not yet available" "cluster"="ibm-capi-cluster" "ibmvpcmachine"={"Namespace":"cluster-api-ibm","Name":"ibm-capi-cluster-md-0-4s8sd"} 
E0401 11:43:20.344957       1 controller.go:317] controller/ibmvpccluster "msg"="Reconciler error" "error"="failed to reconcile Control Plane Endpoint for IBMVPCCluster cluster-api-ibm/ibm-capi-cluster: invalid zone eu-de-1" "name"="ibm-capi-cluster" "namespace"="cluster-api-ibm" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="IBMVPCCluster"

What did you expect to happen:
I would expect that the region / zone is recognized properly.
Error occurs on all eu-de-1, eu-de-2, eu-de-3

The VPC cluster-api is already existing and an address prefix is already created.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • Cluster-api version: v1.1.3
  • Minikube/KIND version: Management Cluster v1.22.6+IKS
  • Kubernetes version: (use kubectl version): Provisioning 1.23.4
  • OS (e.g. from /etc/os-release): ubuntu-20-04
@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. area/provider/ibmcloud Issues or PRs related to ibmcloud provider labels Apr 1, 2022
@mkumatag
Copy link
Member

mkumatag commented Apr 1, 2022

/assign @Prajyot-Parab

@mkumatag mkumatag added this to the 0.2.1 milestone Apr 1, 2022
@FischerLGLN
Copy link
Contributor Author

Same error with pre creating

VPC: cluster-api
address-prefix: 192.168.0.0/16
cluster-api-net: Frankfurt 1 192.168.0.0/16

@Prajyot-Parab
Copy link
Contributor

Prajyot-Parab commented Apr 7, 2022

Error is thrown from function -

floatingIP, _, err := s.IBMVPCClients.VPCService.CreateFloatingIP(options)

which in turn refers to - https://github.com/IBM/vpc-go-sdk/blob/v1.0.1/vpcv1/vpc_v1.go

Error is thrown while executing this function/API call

func (vpc *VpcV1) CreateFloatingIP(createFloatingIPOptions *CreateFloatingIPOptions) (result *FloatingIP, response *core.DetailedResponse, err error) {
	return vpc.CreateFloatingIPWithContext(context.Background(), createFloatingIPOptions)
}

@mkumatag
Copy link
Member

mkumatag commented Apr 7, 2022

Error is thrown while executing this function/API call

@Prajyot-Parab I'm more interested in knowing the API calls it is making, e.g: API URL, request body and response body it is throwing.

@mkumatag
Copy link
Member

mkumatag commented Apr 7, 2022

Error is thrown while executing this function/API call

@Prajyot-Parab I'm more interested in knowing the API calls it is making, e.g: API URL, request body and response body it is throwing.

if we can set this value to debug somehow, we can get the all the requests and responses

@Prajyot-Parab
Copy link
Contributor

[manager] 2022/04/07 16:30:43 [Debug] Request:
[manager] GET /v1/floating_ips?generation=2&version=2021-03-30 HTTP/1.1
[manager] Host: us-south.iaas.cloud.ibm.com
[manager] User-Agent: vpc-go-sdk-1.0.1 (arch=amd64; os=linux; go.version=go1.17.7)
[manager] Accept: application/json
[manager] Authorization: [redacted]
[manager] Accept-Encoding: gzip
[manager] 
[manager] 
[manager] 2022/04/07 16:30:44 [Debug] Response:
[manager] HTTP/2.0 200 OK
[manager] Cache-Control: max-age=0, no-cache, no-store, must-revalidate
[manager] Cf-Cache-Status: DYNAMIC
[manager] Cf-Ray: 6f8426439a8685ba-BOM
[manager] Content-Type: application/json
[manager] Date: Thu, 07 Apr 2022 16:30:44 GMT
[manager] Expect-Ct: max-age=604800, report-uri="[https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"](https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct%22)
[manager] Expires: -1
[manager] Pragma: no-cache
[manager] Server: cloudflare
[manager] Strict-Transport-Security: max-age=31536000; includeSubDomains
[manager] Vary: Accept-Encoding
[manager] X-Content-Type-Options: nosniff
[manager] X-Request-Id: c5a2eb02-7a5d-473d-b031-ae5e2dd3eddc
[manager] X-Xss-Protection: 1; mode=block
[manager] 
[manager] {"first":{"href":"[https://us-south.iaas.cloud.ibm.com/v1/floating_ips?limit=50"},"floating_ips":[],"limit":50,"total_count":0}](https://us-south.iaas.cloud.ibm.com/v1/floating_ips?limit=50%22},%22floating_ips%22:[],%22limit%22:50,%22total_count%22:0})
[manager] 2022/04/07 16:30:44 [Debug] Request:
[manager] POST /v1/floating_ips?generation=2&version=2021-03-30 HTTP/1.1
[manager] Host: us-south.iaas.cloud.ibm.com
[manager] User-Agent: vpc-go-sdk-1.0.1 (arch=amd64; os=linux; go.version=go1.17.7)
[manager] Content-Length: 125
[manager] Accept: application/json
[manager] Authorization: [redacted]
[manager] Content-Type: application/json
[manager] Accept-Encoding: gzip
[manager] 
[manager] {"name":"capi-ibm-vpc-1-control-plane","resource_group":{"id":"fd3498013eba4ffcbc276b2ba640ec95"},"zone":{"name":"eu-gb-1"}}
[manager] 
[manager] 2022/04/07 16:30:44 [Debug] Response:
[manager] HTTP/2.0 400 Bad Request
[manager] Content-Length: 171
[manager] I0407 16:30:44.662480       9 logr.go:249]  "msg"="Inside ReserveFIP error - 2"  
[manager] Cache-Control: max-age=0, no-cache, no-store, must-revalidate
[manager] Cf-Cache-Status: DYNAMIC
[manager] Cf-Ray: 6f842647095a85ba-BOM
[manager] Content-Type: application/json
[manager] Date: Thu, 07 Apr 2022 16:30:44 GMT
[manager] Expect-Ct: max-age=604800, report-uri="[https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"](https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct%22)
[manager] Expires: -1
[manager] Pragma: no-cache
[manager] Server: cloudflare
[manager] Strict-Transport-Security: max-age=31536000; includeSubDomains
[manager] Vary: Accept-Encoding
[manager] X-Content-Type-Options: nosniff
[manager] X-Request-Id: 7a162745-7b6a-41bb-9889-bc2d58c71605
[manager] X-Xss-Protection: 1; mode=block
[manager] 
[manager] {"errors":[{"code":"bad_field","message":"invalid zone eu-gb-1","target":{"name":"zone","type":"field","value":"eu-gb-1"}}],"trace":"7a162745-7b6a-41bb-9889-bc2d58c71605"}
[manager] E0407 16:30:44.685632       9 controller.go:317] controller/ibmvpccluster "msg"="Reconciler error" "error"="failed to reconcile Control Plane Endpoint for IBMVPCCluster default/capi-ibm-vpc-1: invalid zone eu-gb-1" "name"="capi-ibm-vpc-1" "namespace"="default" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="IBMVPCCluster" 
[manager] 2022/04/07 16:30:44 [Debug] Request:
[manager] POST /identity/token HTTP/1.1
[manager] Host: iam.cloud.ibm.com
[manager] User-Agent: Go-http-client/1.1
[manager] Content-Length: 135
[manager] Accept: application/json
[manager] Content-Type: application/x-www-form-urlencoded
[manager] Accept-Encoding: gzip
[manager] 
[manager] apikey=[redacted]&grant_type=urn%3Aibm%3Aparams%3Aoauth%3Agrant-type%3Aapikey&response_type=cloud_iam
[manager] 2022/04/07 16:30:44 [Debug] Invoking IAM 'get token' operation: https://iam.cloud.ibm.com/identity/token
[manager] 2022/04/07 16:30:46 [Debug] Returned from IAM 'get token' operation, received status code 200
[manager] 2022/04/07 16:30:46 [Debug] Response:
[manager] HTTP/1.1 200 OK
[manager] Akamai-Grn: 0.26055a68.1649349044.1131ac5
[manager] Cache-Control: no-cache, no-store, must-revalidate
[manager] Connection: keep-alive
[manager] Content-Language: en-US
[manager] Content-Type: application/json
[manager] Date: Thu, 07 Apr 2022 16:30:46 GMT
[manager] Expires: 0
[manager] Pragma: no-cache
[manager] Strict-Transport-Security: max-age=31536000; includeSubDomains
[manager] Transaction-Id: OWZxejI-d03f0b09cdc9478c81865a603f438b68
[manager] Vary: Accept-Encoding
[manager] X-Content-Type-Options: nosniff
[manager] X-Proxy-Upstream-Service-Time: 991
[manager] 
[manager] {"access_token":"[redacted]","refresh_token":"[redacted]","ims_user_id":9616795,"token_type":"Bearer","expires_in":3600,"expiration":1649352643,"scope":"ibm openid"}
[manager] 2022/04/07 16:30:46 [Debug] Request:
[manager] GET /v1/vpcs?generation=2&version=2021-03-30 HTTP/1.1
[manager] Host: us-south.iaas.cloud.ibm.com
[manager] User-Agent: vpc-go-sdk-1.0.1 (arch=amd64; os=linux; go.version=go1.17.7)
[manager] Accept: application/json
[manager] Authorization: [redacted]
[manager] Accept-Encoding: gzip
[manager] 
[manager] 
[manager] 2022/04/07 16:30:47 [Debug] Response:
[manager] HTTP/2.0 200 OK
[manager] Cache-Control: max-age=0, no-cache, no-store, must-revalidate
[manager] Cf-Cache-Status: DYNAMIC
[manager] Cf-Ray: 6f842653c87f8531-BOM
[manager] Content-Type: application/json; charset=utf-8
[manager] Date: Thu, 07 Apr 2022 16:30:47 GMT
[manager] Expect-Ct: max-age=604800, report-uri="[https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"](https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct%22)
[manager] Expires: -1
[manager] Pragma: no-cache
[manager] Server: cloudflare
[manager] Strict-Transport-Security: max-age=31536000; includeSubDomains
[manager] Vary: Accept-Encoding
[manager] X-Content-Type-Options: nosniff
[manager] X-Request-Id: 805aae03-30f4-487f-a9d2-c2b65df5d633
[manager] X-Xss-Protection: 1; mode=block
[manager] 
[manager] {"limit":50,"first":{"href":"[https://us-south.iaas.cloud.ibm.com/v1/vpcs?limit=50"},"total_count":2,"vpcs":[{"id":"r006-47edb2e0-8fa4-491c-87a6-f0a9e6a046da","crn":"crn:v1:bluemix:public:is:us-south:a/65b64c1f1c29460e8c2e4bbfbd893c2c::vpc:r006-47edb2e0-8fa4-491c-87a6-f0a9e6a046da","href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-47edb2e0-8fa4-491c-87a6-f0a9e6a046da","name":"eu-de-praj","resource_type":"vpc","status":"available","classic_access":false,"created_at":"2022-04-06T09:35:44Z","default_network_acl":{"id":"r006-fe733919-3a6c-480f-9adc-83c48e75c3ef","crn":"crn:v1:bluemix:public:is:us-south:a/65b64c1f1c29460e8c2e4bbfbd893c2c::network-acl:r006-fe733919-3a6c-480f-9adc-83c48e75c3ef","href":"https://us-south.iaas.cloud.ibm.com/v1/network_acls/r006-fe733919-3a6c-480f-9adc-83c48e75c3ef","name":"rectified-almighty-winnings-implement"},"default_routing_table":{"id":"r006-48387b73-9ece-46a8-acb5-191c2d5388fa","href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-47edb2e0-8fa4-491c-87a6-f0a9e6a046da/routing_tables/r006-48387b73-9ece-46a8-acb5-191c2d5388fa","name":"nutshell-poster-cheek-escapable","resource_type":"routing_table"},"default_security_group":{"id":"r006-80142894-c2e2-4ca3-a85a-c86583fcc944","crn":"crn:v1:bluemix:public:is:us-south:a/65b64c1f1c29460e8c2e4bbfbd893c2c::security-group:r006-80142894-c2e2-4ca3-a85a-c86583fcc944","href":"https://us-south.iaas.cloud.ibm.com/v1/security_groups/r006-80142894-c2e2-4ca3-a85a-c86583fcc944","name":"mustang-moody-curtsy-launder"},"resource_group":{"id":"fd3498013eba4ffcbc276b2ba640ec95","href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fd3498013eba4ffcbc276b2ba640ec95","name":"upstream-core-resource-group"},"cse_source_ips":[{"ip":{"address":"10.12.123.199"},"zone":{"name":"us-south-1","href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1"}},{"ip":{"address":"10.249.73.8"},"zone":{"name":"us-south-2","href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-2"}},{"ip":{"address":"10.22.32.19"},"zone":{"name":"us-south-3","href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-3"}}]},{"id":"r006-f48cec6b-9b56-48ea-9058-0ff513353aec","crn":"crn:v1:bluemix:public:is:us-south:a/65b64c1f1c29460e8c2e4bbfbd893c2c::vpc:r006-f48cec6b-9b56-48ea-9058-0ff513353aec","href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-f48cec6b-9b56-48ea-9058-0ff513353aec","name":"eu-gb-praj","resource_type":"vpc","status":"available","classic_access":false,"created_at":"2022-04-06T10:40:04Z","default_network_acl":{"id":"r006-c931e6f5-bdea-40f8-b098-58fef2ed1c3d","crn":"crn:v1:bluemix:public:is:us-south:a/65b64c1f1c29460e8c2e4bbfbd893c2c::network-acl:r006-c931e6f5-bdea-40f8-b098-58fef2ed1c3d","href":"https://us-south.iaas.cloud.ibm.com/v1/network_acls/r006-c931e6f5-bdea-40f8-b098-58fef2ed1c3d","name":"dispersed-slacking-unviable-matcher"},"default_routing_table":{"id":"r006-875bfc59-de0f-4aa1-bdc7-bb999518ab77","href":"https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-f48cec6b-9b56-48ea-9058-0ff513353aec/routing_tables/r006-875bfc59-de0f-4aa1-bdc7-bb999518ab77","name":"process-thus-curler-chosen","resource_type":"routing_table"},"default_security_group":{"id":"r006-f7d3d763-82f7-41c5-9b29-a771130a5b48","crn":"crn:v1:bluemix:public:is:us-south:a/65b64c1f1c29460e8c2e4bbfbd893c2c::security-group:r006-f7d3d763-82f7-41c5-9b29-a771130a5b48","href":"https://us-south.iaas.cloud.ibm.com/v1/security_groups/r006-f7d3d763-82f7-41c5-9b29-a771130a5b48","name":"flame-kindly-shorter-removal"},"resource_group":{"id":"fd3498013eba4ffcbc276b2ba640ec95","href":"https://resource-controller.cloud.ibm.com/v2/resource_groups/fd3498013eba4ffcbc276b2ba640ec95","name":"upstream-core-resource-group"},"cse_source_ips":[{"ip":{"address":"10.16.235.240"},"zone":{"name":"us-south-1","href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1"}},{"ip":{"address":"10.249.204.131"},"zone":{"name":"us-south-2","href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-2"}},{"ip":{"address":"10.12.168.246"},"zone":{"name":"us-south-3","href":"https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-3"}}]}]}](https://us-south.iaas.cloud.ibm.com/v1/vpcs?limit=50%22},%22total_count%22:2,%22vpcs%22:[{%22id%22:%22r006-47edb2e0-8fa4-491c-87a6-f0a9e6a046da%22,%22crn%22:%22crn:v1:bluemix:public:is:us-south:a/65b64c1f1c29460e8c2e4bbfbd893c2c::vpc:r006-47edb2e0-8fa4-491c-87a6-f0a9e6a046da%22,%22href%22:%22https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-47edb2e0-8fa4-491c-87a6-f0a9e6a046da%22,%22name%22:%22eu-de-praj%22,%22resource_type%22:%22vpc%22,%22status%22:%22available%22,%22classic_access%22:false,%22created_at%22:%222022-04-06T09:35:44Z%22,%22default_network_acl%22:{%22id%22:%22r006-fe733919-3a6c-480f-9adc-83c48e75c3ef%22,%22crn%22:%22crn:v1:bluemix:public:is:us-south:a/65b64c1f1c29460e8c2e4bbfbd893c2c::network-acl:r006-fe733919-3a6c-480f-9adc-83c48e75c3ef%22,%22href%22:%22https://us-south.iaas.cloud.ibm.com/v1/network_acls/r006-fe733919-3a6c-480f-9adc-83c48e75c3ef%22,%22name%22:%22rectified-almighty-winnings-implement%22},%22default_routing_table%22:{%22id%22:%22r006-48387b73-9ece-46a8-acb5-191c2d5388fa%22,%22href%22:%22https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-47edb2e0-8fa4-491c-87a6-f0a9e6a046da/routing_tables/r006-48387b73-9ece-46a8-acb5-191c2d5388fa%22,%22name%22:%22nutshell-poster-cheek-escapable%22,%22resource_type%22:%22routing_table%22},%22default_security_group%22:{%22id%22:%22r006-80142894-c2e2-4ca3-a85a-c86583fcc944%22,%22crn%22:%22crn:v1:bluemix:public:is:us-south:a/65b64c1f1c29460e8c2e4bbfbd893c2c::security-group:r006-80142894-c2e2-4ca3-a85a-c86583fcc944%22,%22href%22:%22https://us-south.iaas.cloud.ibm.com/v1/security_groups/r006-80142894-c2e2-4ca3-a85a-c86583fcc944%22,%22name%22:%22mustang-moody-curtsy-launder%22},%22resource_group%22:{%22id%22:%22fd3498013eba4ffcbc276b2ba640ec95%22,%22href%22:%22https://resource-controller.cloud.ibm.com/v2/resource_groups/fd3498013eba4ffcbc276b2ba640ec95%22,%22name%22:%22upstream-core-resource-group%22},%22cse_source_ips%22:[{%22ip%22:{%22address%22:%2210.12.123.199%22},%22zone%22:{%22name%22:%22us-south-1%22,%22href%22:%22https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1%22}},{%22ip%22:{%22address%22:%2210.249.73.8%22},%22zone%22:{%22name%22:%22us-south-2%22,%22href%22:%22https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-2%22}},{%22ip%22:{%22address%22:%2210.22.32.19%22},%22zone%22:{%22name%22:%22us-south-3%22,%22href%22:%22https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-3%22}}]},{%22id%22:%22r006-f48cec6b-9b56-48ea-9058-0ff513353aec%22,%22crn%22:%22crn:v1:bluemix:public:is:us-south:a/65b64c1f1c29460e8c2e4bbfbd893c2c::vpc:r006-f48cec6b-9b56-48ea-9058-0ff513353aec%22,%22href%22:%22https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-f48cec6b-9b56-48ea-9058-0ff513353aec%22,%22name%22:%22eu-gb-praj%22,%22resource_type%22:%22vpc%22,%22status%22:%22available%22,%22classic_access%22:false,%22created_at%22:%222022-04-06T10:40:04Z%22,%22default_network_acl%22:{%22id%22:%22r006-c931e6f5-bdea-40f8-b098-58fef2ed1c3d%22,%22crn%22:%22crn:v1:bluemix:public:is:us-south:a/65b64c1f1c29460e8c2e4bbfbd893c2c::network-acl:r006-c931e6f5-bdea-40f8-b098-58fef2ed1c3d%22,%22href%22:%22https://us-south.iaas.cloud.ibm.com/v1/network_acls/r006-c931e6f5-bdea-40f8-b098-58fef2ed1c3d%22,%22name%22:%22dispersed-slacking-unviable-matcher%22},%22default_routing_table%22:{%22id%22:%22r006-875bfc59-de0f-4aa1-bdc7-bb999518ab77%22,%22href%22:%22https://us-south.iaas.cloud.ibm.com/v1/vpcs/r006-f48cec6b-9b56-48ea-9058-0ff513353aec/routing_tables/r006-875bfc59-de0f-4aa1-bdc7-bb999518ab77%22,%22name%22:%22process-thus-curler-chosen%22,%22resource_type%22:%22routing_table%22},%22default_security_group%22:{%22id%22:%22r006-f7d3d763-82f7-41c5-9b29-a771130a5b48%22,%22crn%22:%22crn:v1:bluemix:public:is:us-south:a/65b64c1f1c29460e8c2e4bbfbd893c2c::security-group:r006-f7d3d763-82f7-41c5-9b29-a771130a5b48%22,%22href%22:%22https://us-south.iaas.cloud.ibm.com/v1/security_groups/r006-f7d3d763-82f7-41c5-9b29-a771130a5b48%22,%22name%22:%22flame-kindly-shorter-removal%22},%22resource_group%22:{%22id%22:%22fd3498013eba4ffcbc276b2ba640ec95%22,%22href%22:%22https://resource-controller.cloud.ibm.com/v2/resource_groups/fd3498013eba4ffcbc276b2ba640ec95%22,%22name%22:%22upstream-core-resource-group%22},%22cse_source_ips%22:[{%22ip%22:{%22address%22:%2210.16.235.240%22},%22zone%22:{%22name%22:%22us-south-1%22,%22href%22:%22https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1%22}},{%22ip%22:{%22address%22:%2210.249.204.131%22},%22zone%22:{%22name%22:%22us-south-2%22,%22href%22:%22https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-2%22}},{%22ip%22:{%22address%22:%2210.12.168.246%22},%22zone%22:{%22name%22:%22us-south-3%22,%22href%22:%22https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-3%22}}]}]})

@Prajyot-Parab
Copy link
Contributor

@mkumatag My first observation is that the api endpoint is sending request to us-south instead it should go to eu-gb, am I on right track here?

@mkumatag
Copy link
Member

mkumatag commented Apr 7, 2022

@mkumatag My first observation is that the api endpoint is sending request to us-south instead it should go to eu-gb, am I on right track here?

exactly, that's what I wanted to check :) you are on right track, now we need to check how to override this value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/provider/ibmcloud Issues or PRs related to ibmcloud provider kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants