ibm-spectrum-scale-csi icon indicating copy to clipboard operation
ibm-spectrum-scale-csi copied to clipboard

POC on Volume Attribute Class

Open badri-pathak opened this issue 1 year ago • 2 comments

Pull request checklist


Pull request type

Please check the type of change your PR introduces:

  • [ ] Bugfix
  • [x] Feature Enhancement
  • [ ] Test Automation
  • [ ] Code Refactoring (no functional changes, no api changes)
  • [ ] Build related changes
  • [ ] Community Operator listing
  • [ ] Other (please describe):

What is the current behavior?

What is the new behavior?

How risky is this change?

  • [ ] Small, isolated change
  • [ ] Medium, requires regression testing
  • [ ] Large, requires functional and regression testing

badri-pathak avatar Aug 12 '24 13:08 badri-pathak

quay.io/badri_pathak/ibm-spectrum-scale-csi-operator:vac_v1 quay.io/badri_pathak/ibm-spectrum-scale-csi-driver:vac_v2

badri-pathak avatar Aug 12 '24 13:08 badri-pathak

Request looks like this. The mutable parameters will be changed with the functional call.

I0812 11:32:23.247883       1 utils.go:64] [68e4b019-88c6-447b-bc8f-91fb9b7ce27e] GRPC call: /csi.v1.Controller/ControllerModifyVolume
I0812 11:32:23.247991       1 utils.go:73] [68e4b019-88c6-447b-bc8f-91fb9b7ce27e] GRPC request: volume_id:"0;2;6224423257428592282;4E150B0A:66B60776;;pvc-25c6a2a4-e0ab-4e66-8b18-0d45b05d4d7e;/ibm/fs1/spectrum-scale-csi-volume-store/.volumes/pvc-25c6a2a4-e0ab-4e66-8b18-0d45b05d4d7e" mutable_parameters:<key:"customer" value:"badri" > mutable_parameters:<key:"iops" value:"4000" >
I0812 11:32:23.248011       1 controllerserver.go:3063] [68e4b019-88c6-447b-bc8f-91fb9b7ce27e] ControllerModifyVolume - Volume modify req: volume_id:"0;2;6224423257428592282;4E150B0A:66B60776;;pvc-25c6a2a4-e0ab-4e66-8b18-0d45b05d4d7e;/ibm/fs1/spectrum-scale-csi-volume-store/.volumes/pvc-25c6a2a4-e0ab-4e66-8b18-0d45b05d4d7e" mutable_parameters:<key:"customer" value:"badri" > mutable_parameters:<key:"iops" value:"4000" >
E0812 11:32:23.248033       1 utils.go:79] [68e4b019-88c6-447b-bc8f-91fb9b7ce27e] GRPC error: rpc error: code = Unimplemented desc =
I0812 11:32:23.248053       1 utils.go:89] [68e4b019-88c6-447b-bc8f-91fb9b7ce27e] Time taken to execute /csi.v1.Controller/ControllerModifyVolume request(in milliseconds): 0

badri-pathak avatar Aug 14 '24 21:08 badri-pathak