oci-cli icon indicating copy to clipboard operation
oci-cli copied to clipboard

`oci compute instance launch` error

Open FawenYo opened this issue 2 years ago • 0 comments

I have set up my account and trying to use oci compute instance launch command to create VM, but got the following error

header: Date: Sun, 12 Mar 2023 15:14:26 GMT
header: opc-request-id: xxx/xxx
header: Content-Type: application/json
header: Connection: close
header: Content-Length: 80
DEBUG:oci.base_client.140610884260896: 2023-03-12 15:14:26.796795: time elapsed for request xxx: 1.1419272849998379
DEBUG:oci.base_client.140610884260896: 2023-03-12 15:14:26.797167: Response status: 429
DEBUG:oci.base_client.140610884260896: 2023-03-12 15:14:26.797506: python SDK time elapsed for deserializing: 1.0160999863728648e-05
INFO:oci.base_client.140610884260896: 2023-03-12 15:14:56.828502: Request: POST https://iaas.ap-tokyo-1.oraclecloud.com/20160918/instances
Not using Expect header...
send: b'POST /20160918/instances HTTP/1.1\r\nuser-agent: Oracle-PythonSDK/2.94.0 (python 3.10.7; x86_64-Linux) Oracle-PythonCLI/3.23.3\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nconnection: keep-alive\r\ncontent-type: application/json\r\nopc-retry-token: oQ50Vrs6qbWxYtznAwUp4qvRPCZ6C6\r\nopc-client-retries: true\r\nopc-client-info: Oracle-PythonSDK/2.94.0\r\nopc-request-id: 57FDA8963A4D4D8EAEC37E1D5B202E92\r\nContent-Length: 783\r\ndate: Sun, 12 Mar 2023 15:14:56 GMT\r\nhost: iaas.ap-tokyo-1.oraclecloud.com\r\nx-content-sha256: xxx\r\nauthorization: Signature algorithm="rsa-sha256",headers="date (request-target) host content-length content-type x-content-sha256",keyId="xxx",signature="xxx",version="1"\r\n\r\n{"availabilityDomain": "yrNY:AP-TOKYO-1-AD-1", "compartmentId": "xxx", "shape": "VM.Standard.A1.Flex", "createVnicDetails": {"assignPublicIp": true, "subnetId": "xxx"}, "displayName": "Compute VM", "imageId": "ocid1.image.oc1.ap-tokyo-1.aaaaaaaapncqenbxqjgwiblksrmengjmesutd6bgabut6harntkwscwlfmma", "metadata": {"ssh_authorized_keys": "ssh-ed25519 xxx"}, "shapeConfig": {"memoryInGBs": "24", "ocpus": "4"}, "sourceDetails": {"sourceType": "image", "imageId": "xxx"}}'
reply: 'HTTP/1.1 500 Internal Server Error\r\n'

Does anyone encounter the same problem?

FawenYo avatar Mar 12 '23 15:03 FawenYo