We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When the disk is already detached, the plugin is stucked like that:
{"Vms":[{"VmType":"tinav4.c32r64p1","VmInitiatedShutdownBehavior":"stop","State":"running","StateReason":"","RootDeviceType":"ebs","RootDeviceName":"/dev/sda1","IsSourceDestChecked":true,"KeypairName":"thanos","ImageId":"ami-1cda4f98","DeletionProtection":false,"VmId":"i-a7d27e54","ReservationId":"r-fade62d8","Hypervisor":"xen","CreationDate":"2022-03-03T13:42:50.624Z","UserData":"I2Nsb3VkLWNvbmZpZwoKeXVtX3JlcG9zOgogIGVwZWwtcmVsZWFzZToKICAgIGJhc2V1cmw6IGh0dHA6Ly9kb3dubG9hZC5mZWRvcmFwcm9qZWN0Lm9yZy9wdWIvZXBlbC83LyRiYXNlYXJjaAogICAgZW5hYmxlZDogdHJ1ZQogICAgZmFpbG92ZXJtZXRob2Q6IHByaW9yaXR5CiAgICBncGdjaGVjazogdHJ1ZQogICAgZ3Bna2V5OiBodHRwOi8vZG93bmxvYWQuZmVkb3JhcHJvamVjdC5vcmcvcHViL2VwZWwvUlBNLUdQRy1LRVktRVBFTC03CiAgICBuYW1lOiBFeHRyYSBQYWNrYWdlcyBmb3IgRW50ZXJwcmlzZSBMaW51eCA3IC0gUmVsZWFzZQogIHNhbHRzdGFjazoKICAgIGJhc2V1cmw6IGh0dHBzOi8vcmVwby5zYWx0cHJvamVjdC5pby9weTMvcmVkaGF0LzcveDg2XzY0LzMwMDIvCiAgICBlbmFibGVkOiB0cnVlCiAgICBmYWlsb3Zlcm1ldGhvZDogcHJpb3JpdHkKICAgIGdwZ2NoZWNrOiB0cnVlCiAgICBncGdrZXk6IGh0dHBzOi8vcmVwby5zYWx0cHJvamVjdC5pby9weTMvcmVkaGF0LzcveDg2XzY0LzMwMDIvU0FMVFNUQUNLLUdQRy1LRVkucHViCiAgICBuYW1lOiBTYWx0U3RhY2sgUmVwbyAzMDAwLjIKCiAgCnBhY2thZ2VzOgogIC0gaHRvcAogIC0gaW90b3AKICAtIGlmdG9wCiAgLSB2aW0KICAtIHNhbHQtbWluaW9uCgp3cml0ZV9maWxlczoKLSBjb250ZW50OiB8CiAgICBoYXNoX3R5cGU6IHNoYTI1NgogICAgaWQ6ICJwYXIxLWNsb3VkLXByb20td29ya2VyLTEiCiAgICBsb2dfbGV2ZWw6IGluZm8KICAgIG1hc3RlcjogMTAuMjQuMS41CiAgcGF0aDogL2V0Yy9zYWx0L21pbmlvbgotIGNvbnRlbnQ6IHwKICAgICJwYXIxLWNsb3VkLXByb20td29ya2VyLTEiCiAgcGF0aDogL2V0Yy9zYWx0L21pbmlvbl9pZAoKcnVuY21kOgogIC0gc3VkbyBob3N0bmFtZWN0bCBzZXQtaG9zdG5hbWUgInBhcjEtY2xvdWQtcHJvbS13b3JrZXItMSIKICAtIFsgc3lzdGVtY3RsLCBkYWVtb24tcmVsb2FkIF0KICAtIFsgc3lzdGVtY3RsLCBlbmFibGUsIHNhbHQtbWluaW9uIF0KICAtIFsgc3lzdGVtY3RsLCBzdGFydCwgLS1uby1ibG9jaywgc2FsdC1taW5pb24gXQo=","SubnetId":"subnet-a5e344cc","PrivateIp":"10.24.0.8","SecurityGroups":[{"SecurityGroupName":"eu-west-2-common","SecurityGroupId":"sg-6c9713c0"}],"BsuOptimized":false,"BlockDeviceMappings":[{"DeviceName":"/dev/sda1","Bsu":{"VolumeId":"vol-b5afd0ce","State":"attached","LinkDate":"2022-05-31T07:44:46.279Z","DeleteOnVmDeletion":false}}],"ProductCodes":["0001"],"Placement":{"Tenancy":"default","SubregionName":"eu-west-2a"},"Architecture":"x86_64","NestedVirtualization":false,"LaunchNumber":0,"NetId":"vpc-96a7ffe2","Nics":[{"SubnetId":"subnet-a5e344cc","AccountId":"542438614293","Description":"Primary network interface","IsSourceDestChecked":true,"PrivateDnsName":"ip-10-24-0-8.eu-west-2.compute.internal","State":"in-use","LinkNic":{"State":"attached","LinkNicId":"eni-attach-1648dc3d","DeviceNumber":0,"DeleteOnVmDeletion":true},"SecurityGroups":[{"SecurityGroupName":"eu-west-2-common","SecurityGroupId":"sg-6c9713c0"}],"MacAddress":"aa:e8:ef:ea:79:42","NetId":"vpc-96a7ffe2","NicId":"eni-b15daae5","PrivateIps":[{"PrivateDnsName":"ip-10-24-0-8.eu-west-2.compute.internal","PrivateIp":"10.24.0.8","IsPrimary":true}]}],"Performance":"highest","Tags":[{"Value":"par1-cloud-prom-worker-1","Key":"Name"},{"Value":"10.24.1.5","Key":"saltmaster"}],"PrivateDnsName":"ip-10-24-0-8.eu-west-2.compute.internal"}],"ResponseContext":{"RequestId":"4878a62e-1ecd-44fa-a5af-b3bd8c868057"}} I1017 13:27:57.093845 1 cloud.go:995] Debug response DescribeInstances: response({ResponseContext:0xc0006a0250 Vms:0xc0004f5ce0}), err(<nil>), httpRes(&{200 OK 200 HTTP/1.1 1 1 map[Access-Control-Allow-Origin:[*] Connection:[keep-alive] Content-Length:[3173] Content-Type:[application/json] Date:[Mon, 17 Oct 2022 13:27:57 GMT] Referrer-Policy:[same-origin] Server:[nginx] Strict-Transport-Security:[max-age=31536000; includeSubdomains;] X-Content-Type-Options:[nosniff] X-Frame-Options:[SAMEORIGIN] X-Xss-Protection:[1; mode=block]] {{"Vms":[{"VmType":"tinav4.c32r64p1","VmInitiatedShutdownBehavior":"stop","State":"running","StateReason":"","RootDeviceType":"ebs","RootDeviceName":"/dev/sda1","IsSourceDestChecked":true,"KeypairName":"thanos","ImageId":"ami-1cda4f98","DeletionProtection":false,"VmId":"i-a7d27e54","ReservationId":"r-fade62d8","Hypervisor":"xen","CreationDate":"2022-03-03T13:42:50.624Z","UserData":"I2Nsb3VkLWNvbmZpZwoKeXVtX3JlcG9zOgogIGVwZWwtcmVsZWFzZToKICAgIGJhc2V1cmw6IGh0dHA6Ly9kb3d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0bmFtZWN0bCBzZXQtaG9zdG5hbWUgInBhcjEtY2xvdWQtcHJvbS13b3JrZXItMSIKICAtIFsgc3lzdGVtY3RsLCBkYWVtb24tcmVsb2FkIF0KICAtIFsgc3lzdGVtY3RsLCBlbmFibGUsIHNhbHQtbWluaW9uIF0KICAtIFsgc3lzdGVtY3RsLCBzdGFydCwgLS1uby1ibG9jaywgc2FsdC1taW5pb24gXQo=","SubnetId":"subnet-a5e344cc","PrivateIp":"10.24.0.8","SecurityGroups":[{"SecurityGroupName":"eu-west-2-common","SecurityGroupId":"sg-6c9713c0"}],"BsuOptimized":false,"BlockDeviceMappings":[{"DeviceName":"/dev/sda1","Bsu":{"VolumeId":"vol-b5afd0ce","State":"attached","LinkDate":"2022-05-31T07:44:46.279Z","DeleteOnVmDeletion":false}}],"ProductCodes":["0001"],"Placement":{"Tenancy":"default","SubregionName":"eu-west-2a"},"Architecture":"x86_64","NestedVirtualization":false,"LaunchNumber":0,"NetId":"vpc-96a7ffe2","Nics":[{"SubnetId":"subnet-a5e344cc","AccountId":"542438614293","Description":"Primary network interface","IsSourceDestChecked":true,"PrivateDnsName":"ip-10-24-0-8.eu-west-2.compute.internal","State":"in-use","LinkNic":{"State":"attached","LinkNicId":"eni-attach-1648dc3d","DeviceNumber":0,"DeleteOnVmDeletion":true},"SecurityGroups":[{"SecurityGroupName":"eu-west-2-common","SecurityGroupId":"sg-6c9713c0"}],"MacAddress":"aa:e8:ef:ea:79:42","NetId":"vpc-96a7ffe2","NicId":"eni-b15daae5","PrivateIps":[{"PrivateDnsName":"ip-10-24-0-8.eu-west-2.compute.internal","PrivateIp":"10.24.0.8","IsPrimary":true}]}],"Performance":"highest","Tags":[{"Value":"par1-cloud-prom-worker-1","Key":"Name"},{"Value":"10.24.1.5","Key":"saltmaster"}],"PrivateDnsName":"ip-10-24-0-8.eu-west-2.compute.internal"}],"ResponseContext":{"RequestId":"4878a62e-1ecd-44fa-a5af-b3bd8c868057"}}} 3173 [] false false map[] 0xc000838600 0xc00057a630}) W1017 13:27:57.093949 1 cloud.go:570] DetachDisk called on non-attached volume: vol-bd1eea74 2022/10/17 13:27:57 POST /api/v1/UnlinkVolume HTTP/1.1 Host: api.eu-west-2.outscale.com User-Agent: osc-bsu-csi-driver/ Content-Length: 28 Accept: application/json Authorization: AWS4-HMAC-SHA256 Credential=/20221017/eu-west-2/oapi/aws4_request, SignedHeaders=accept;content-type;host;x-amz-date, Signature=442d830c639266f4ef2bb83d2d6aaf4ceebcc92e1dbd4e73e6c4df376a80c332 Content-Type: application/json X-Amz-Date: 20221017T132757Z Accept-Encoding: gzip {"VolumeId":"vol-bd1eea74"} 2022/10/17 13:27:57 HTTP/1.1 400 Bad Request Content-Length: 179 Access-Control-Allow-Origin: * Connection: keep-alive Content-Type: application/json Date: Mon, 17 Oct 2022 13:27:57 GMT Server: nginx {"Errors":[{"Type":"InvalidResource","Details":"The VolumeId 'vol-bd1eea74' doesn't exist.","Code":"5064"}],"ResponseContext":{"RequestId":"d7b87e6f-a7b3-4c15-9491-8bbbc3d8e7e7"}} I1017 13:27:57.134696 1 cloud.go:579] Debug response DetachVolume: response({ResponseContext:<nil>}), err(400 Bad Request) httpRes(&{400 Bad Request 400 HTTP/1.1 1 1 map[Access-Control-Allow-Origin:[*] Connection:[keep-alive] Content-Length:[179] Content-Type:[application/json] Date:[Mon, 17 Oct 2022 13:27:57 GMT] Server:[nginx]] {{"Errors":[{"Type":"InvalidResource","Details":"The VolumeId 'vol-bd1eea74' doesn't exist.","Code":"5064"}],"ResponseContext":{"RequestId":"d7b87e6f-a7b3-4c15-9491-8bbbc3d8e7e7"}}} 179 [] false false map[] 0xc00057fc00 0xc00057a630}) 400 Bad Request E1017 13:27:57.134785 1 driver.go:112] GRPC error: rpc error: code = Internal desc = Could not detach volume "vol-bd1eea74" from node "i-a7d27e54": could not detach volume "vol-bd1eea74" from node "i-a7d27e54": 400 Bad Request / (<nil>)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
When the disk is already detached, the plugin is stucked like that:
The text was updated successfully, but these errors were encountered: