Skip to content

Instantly share code, notes, and snippets.

@clnperez
Created July 10, 2023 15:19
Show Gist options
  • Save clnperez/5ef202b04ad45a79d220c716c95e74c8 to your computer and use it in GitHub Desktop.
Save clnperez/5ef202b04ad45a79d220c716c95e74c8 to your computer and use it in GitHub Desktop.
{"access_token":"[redacted]","refresh_token":"[redacted]","ims_user_id":8485254,"token_type":"Bearer","expires_in":3600,"expiration":1689005904,"scope":"ibm openid"}: timestamp=2023-07-10T10:18:27.032-0500
2023-07-10T10:18:27.034-0500 [WARN] unexpected data: registry.terraform.io/ibm-cloud/ibm:stderr="POST /pcloud/v1/cloud-instances/f1626ad4-288a-4fc2-ade2-404c387a4fe7/pvm-instances HTTP/1.1
Host: lon.power-iaas.cloud.ibm.com
User-Agent: Go-http-client/1.1
Content-Length: 533
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
Crn: crn:v1:bluemix:public:power-iaas:lon04:a/65b64c1f1c29460e8c2e4bbfbd893c2c:f1626ad4-288a-4fc2-ade2-404c387a4fe7::
Accept-Encoding: gzip
{"imageID":"2955cd2b-8710-43e9-a510-10c9bf309ace","keyPairName":"christy-laptop","memory":8,"migratable":false,"networkIDs":null,"networks":[{"networkID":"f1626ad4-288a-4fc2-ade2-404c387a4fe7/fa7a6e6b-3273-4656-a8dd-e964a81124fc"},{"networkID":"f1626ad4-288a-4fc2-ade2-404c387a4fe7/d4edc9dc-b528-4a7d-897c-4a93f94d22f3"}],"procType":"shared","processors":0.5,"replicantAffinityPolicy":"none","replicantNamingScheme":"suffix","replicants":1,"serverName":"rdr-cln-centos-lon04","storageType":"tier3","sysType":"s922","volumeIDs":null}"
2023-07-10T10:18:28.325-0500 [WARN] unexpected data: registry.terraform.io/ibm-cloud/ibm:stderr="HTTP/1.1 400 Bad Request
Content-Length: 207
Cf-Cache-Status: DYNAMIC
Cf-Ray: 7e49c7837d68e779-DFW
Connection: keep-alive
Content-Type: application/json
Date: Mon, 10 Jul 2023 15:18:28 GMT
Server: cloudflare
Strict-Transport-Security: max-age=15724800; includeSubDomains
{"description":"error getting deployment image information: image 2955cd2b-8710-43e9-a510-10c9bf309ace does not belong to your project. Use image from your project for deploying a VM","error":"bad request"}"
2023-07-10T10:18:28.325-0500 [ERROR] provider.terraform-provider-ibm_v1.49.0: Response contains error diagnostic: diagnostic_detail= tf_proto_version=5.3 tf_resource_type=ibm_pi_instance tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/terraform-plugin-go@v0.14.0/tfprotov5/internal/diag/diagnostics.go:55 @module=sdk.proto diagnostic_severity=ERROR diagnostic_summary="failed to provision: failed to Create PVM Instance :[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][400] pcloudPvminstancesPostBadRequest &{Code:0 Description:error getting deployment image information: image 2955cd2b-8710-43e9-a510-10c9bf309ace does not belong to your project. Use image from your project for deploying a VM Error:bad request Message:}" tf_provider_addr=provider tf_req_id=5c736489-0c59-520a-5a2f-c1c49300e09e timestamp=2023-07-10T10:18:28.325-0500
2023-07-10T10:18:28.357-0500 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2023-07-10T10:18:28.357-0500 [ERROR] vertex "ibm_pi_instance.centos_instances_lon04[0]" error: failed to provision: failed to Create PVM Instance :[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][400] pcloudPvminstancesPostBadRequest &{Code:0 Description:error getting deployment image information: image 2955cd2b-8710-43e9-a510-10c9bf309ace does not belong to your project. Use image from your project for deploying a VM Error:bad request Message:}
│ Error: failed to provision: failed to Create PVM Instance :[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][400] pcloudPvminstancesPostBadRequest &{Code:0 Description:error getting deployment image information: image 2955cd2b-8710-43e9-a510-10c9bf309ace does not belong to your project. Use image from your project for deploying a VM Error:bad request Message:}
│ with ibm_pi_instance.centos_instances_lon04[0],
│ on main.tf line 85, in resource "ibm_pi_instance" "centos_instances_lon04":
│ 85: resource "ibm_pi_instance" "centos_instances_lon04" {
2023-07-10T10:18:28.376-0500 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2023-07-10T10:18:28.384-0500 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/ibm-cloud/ibm/1.49.0/linux_amd64/terraform-provider-ibm_v1.49.0 pid=117794
2023-07-10T10:18:28.384-0500 [DEBUG] provider: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment