Coder Social home page Coder Social logo

Comments (4)

Madhan-SWE avatar Madhan-SWE commented on August 29, 2024

/assign

from ibm-powervs-block-csi-driver.

Madhan-SWE avatar Madhan-SWE commented on August 29, 2024

Error logs from controller plugin:

2021/12/03 10:20:49 Checking if the volume [c7077cfb-6343-4300-9b27-6b086b9d1e2f] has been attached to the pvm_instance [9552c51d-5916-4ce5-a061-1e8bd7315ca8] for cloud instance id [7845d372-d4e1-46b8-91fc-41051c984601]
2021/12/03 10:20:49 Calling the New Auth Method in the IBMPower Session Code
2021/12/03 10:20:49 Calling the crn constructor that is to be passed back to the caller  65b64c1f1c29460e8c2e4bbfbd893c2c
2021/12/03 10:20:49 the region is lon and the zone is  lon04
2021/12/03 10:20:49 the crndata is ... crn:v1:bluemix:public:power-iaas:lon04:a/65b64c1f1c29460e8c2e4bbfbd893c2c:7845d372-d4e1-46b8-91fc-41051c984601:: 
GET /pcloud/v1/cloud-instances/7845d372-d4e1-46b8-91fc-41051c984601/pvm-instances/9552c51d-5916-4ce5-a061-1e8bd7315ca8/volumes/c7077cfb-6343-4300-9b27-6b086b9d1e2f HTTP/1.1
Host: lon.power-iaas.cloud.ibm.com
User-Agent: Go-http-client/1.1
Accept: application/json
Authorization: Bearer
Crn: crn:v1:bluemix:public:power-iaas:lon04:a/65b64c1f1c29460e8c2e4bbfbd893c2c:7845d372-d4e1-46b8-91fc-41051c984601::
Accept-Encoding: gzip


HTTP/1.1 404 Not Found
Content-Length: 3
Cf-Cache-Status: DYNAMIC
Cf-Ray: 6b7c108bba2d4a67-FRA
Connection: keep-alive
Content-Type: application/json
Date: Fri, 03 Dec 2021 10:20:50 GMT
Expect-Ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Server: cloudflare
Strict-Transport-Security: max-age=15724800; includeSubDomains

{}

E1203 10:20:50.058621       1 driver.go:116] GRPC error: rpc error: code = Internal desc = Could not attach volume "c7077cfb-6343-4300-9b27-6b086b9d1e2f" to node "9552c51d-5916-4ce5-a061-1e8bd7315ca8": Failed to validate that the volume [c7077cfb-6343-4300-9b27-6b086b9d1e2f] is attached to the pvminstance [9552c51d-5916-4ce5-a061-1e8bd7315ca8]

Manual operations for the same volume is successful.

madhankumar@MADHANKUMARs-MacBook-Pro ~ % curl -X POST https://lon.power-iaas.cloud.ibm.com/pcloud/v1/cloud-instances/7845d372-d4e1-46b8-91fc-41051c984601/pvm-instances/9552c51d-5916-4ce5-a061-1e8bd7315ca8/volumes/420fe628-76ef-4bd4-b555-8f203c9f00a3 -H ''Authorization: Bearer ' ' -H 'CRN: crn:v1:bluemix:public:power-iaas:lon04:a/65b64c1f1c29460e8c2e4bbfbd893c2c:7845d372-d4e1-46b8-91fc-41051c984601::' -H 'Content-Type: application/json'

{}
madhankumar@MADHANKUMARs-MacBook-Pro ~ % 

verification:


madhankumar@MADHANKUMARs-MacBook-Pro ~ % curl -X GET https://lon.power-iaas.cloud.ibm.com/pcloud/v1/cloud-instances/7845d372-d4e1-46b8-91fc-41051c984601/pvm-instances/9552c51d-5916-4ce5-a061-1e8bd7315ca8/volumes/420fe628-76ef-4bd4-b555-8f203c9f00a3 -H 'Authorization: Bearer ' -H 'CRN: crn:v1:bluemix:public:power-iaas:lon04:a/65b64c1f1c29460e8c2e4bbfbd893c2c:7845d372-d4e1-46b8-91fc-41051c984601::' -H 'Content-Type: application/json'


{"bootable":false,"creationDate":"2021-12-03T09:41:13.000Z","diskType":"tier3","lastUpdateDate":"2021-12-03T10:04:42.000Z","name":"pvc-41c1fb7a-4974-4626-9b73-90e38147d21d","pvmInstanceIDs":["9552c51d-5916-4ce5-a061-1e8bd7315ca8"],"shareable":false,"size":1,"state":"in-use","volumeID":"420fe628-76ef-4bd4-b555-8f203c9f00a3","volumePool":"Tier3-Flash-2","volumeType":"Tier3-Flash-2","wwn":"6005076810830198A0000000000012B9"}

Need to analyse further.

from ibm-powervs-block-csi-driver.

Madhan-SWE avatar Madhan-SWE commented on August 29, 2024

Logical error in the code from Private branch.

from ibm-powervs-block-csi-driver.

Madhan-SWE avatar Madhan-SWE commented on August 29, 2024

Fixed in the local branch.

from ibm-powervs-block-csi-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.