[BUG]: Deletion of target volume is failing with multiple snapshots #667
Labels
area/csi-powermax
Issue pertains to the CSI Driver for Dell EMC PowerMax
needs-triage
Issue requires triage.
type/bug
Something isn't working. This is the default label associated with a bug issue.
Milestone
Bug Description
When we have multiple target devices using multiple snapshots for same source volume ,
deletion of target volume is throwing below error .
""Error in ModifySnapshotS: No link target was found"
Logs
time="2023-02-15T07:35:21Z" level=debug msg="username: smc , password: *****"
time="2023-02-15T07:35:21Z" level=debug msg="\n -------------------------- POWERMAX HTTP REQUEST -------------------------\n GET /univmax/restapi/private/100/replication/symmetrix/000197901586/volume/004B1/snapshot HTTP/1.1\n Host: 0.0.0.0:2222\n Accept: application/json;version=100\n Application-Type: CSI Driver for Dell EMC PowerMax/v2.5.0+dirty\n Content-Type: application/json;version=100\n Symid: 000197901586\n \n"
time="2023-02-15T07:35:22Z" level=debug msg="\n -------------------------- POWERMAX HTTP RESPONSE -------------------------\n HTTP/1.1 200 OK\n Transfer-Encoding: chunked\n Content-Security-Policy: default-src 'self'\n Content-Type: application/json\n Date: Wed, 15 Feb 2023 07:48:26 GMT\n Referrer-Policy: no-referrer-when-downgrade\n Restapi-Active-Session-Count: 3\n Restapi-Processing-Time: 219\n Strict-Transport-Security: max-age=31536000; includeSubDomains\n X-Content-Security-Policy: default-src 'self'\n X-Content-Type-Options: nosniff\n X-Frame-Options: SAMEORIGIN\n X-Webkit-Csp: default-src 'self'\n X-Xss-Protection: 1; mode=block\n \n 197\n {"deviceName":"004B1","snapshotLnks":[{"targetDevice":"004B1","timestamp":"07:04:23 Wed, 15 Feb 2023 +0000","timestamp_utc":1676444663000,"state":"Linked","trackSize":131072,"tracks":65545,"percentageCopied":0,"linked":true,"restored":false,"defined":true,"copy":false,"destage":true,"modified":true,"linkSourceName":"0048C","snapshot_name":"csi-DAA-pmsn-2f4f2c3754","generation":0,"snap_id":163556473089}]}\n 0\n \n"
time="2023-02-15T07:35:22Z" level=debug msg="username: smc , password: *****"
time="2023-02-15T07:35:22Z" level=debug msg="\n -------------------------- POWERMAX HTTP REQUEST -------------------------\n GET /univmax/restapi/private/100/replication/symmetrix/000197901586/volume/0048C/snapshot HTTP/1.1\n Host: 0.0.0.0:2222\n Accept: application/json;version=100\n Application-Type: CSI Driver for Dell EMC PowerMax/v2.5.0+dirty\n Content-Type: application/json;version=100\n Symid: 000197901586\n \n"
time="2023-02-15T07:35:22Z" level=debug msg="\n -------------------------- POWERMAX HTTP RESPONSE -------------------------\n HTTP/1.1 200 OK\n Transfer-Encoding: chunked\n Content-Security-Policy: default-src 'self'\n Content-Type: application/json\n Date: Wed, 15 Feb 2023 07:48:26 GMT\n Referrer-Policy: no-referrer-when-downgrade\n Restapi-Active-Session-Count: 3\n Restapi-Processing-Time: 360\n Strict-Transport-Security: max-age=31536000; includeSubDomains\n X-Content-Security-Policy: default-src 'self'\n X-Content-Type-Options: nosniff\n X-Frame-Options: SAMEORIGIN\n X-Webkit-Csp: default-src 'self'\n X-Xss-Protection: 1; mode=block\n \n 56b\n {"deviceName":"0048C","snapshotSrcs":[{"snapshotName":"csi-DAA-pmsn-2f4f2c3754","generation":0,"snap_id":163556473089,"timestamp":"07:04:23 Wed, 15 Feb 2023 +0000","timestamp_utc":1676444663000,"state":"Established","protectionExpireTime":0,"gcm":false,"icdp":false,"secured":false,"isRestored":false,"ttl":0,"expired":false,"linkedDevices":[{"targetDevice":"004B1","timestamp":"07:45:21 Wed, 15 Feb 2023 +0000","timestamp_utc":1676447121000,"state":"Linked","trackSize":131072,"tracks":65545,"percentageCopied":0,"linked":true,"restored":false,"defined":true,"copy":false,"destage":true,"modified":true,"linkSourceName":"0048C","snapshot_name":"csi-DAA-pmsn-2f4f2c3754","generation":0,"snap_id":163556473089}]},{"snapshotName":"csi-DAA-pmsn-5b35cb7fbc","generation":0,"snap_id":163556169729,"timestamp":"06:54:31 Wed, 15 Feb 2023 +0000","timestamp_utc":1676444071000,"state":"Established","protectionExpireTime":0,"gcm":false,"icdp":false,"secured":false,"isRestored":false,"ttl":0,"expired":false,"linkedDevices":[{"targetDevice":"004B0","timestamp":"06:56:44 Wed, 15 Feb 2023 +0000","timestamp_utc":1676444204000,"state":"Linked","trackSize":131072,"tracks":65545,"percentageCopied":0,"linked":true,"restored":false,"defined":true,"copy":false,"destage":true,"modified":true,"linkSourceName":"0048C","snapshot_name":"csi-DAA-pmsn-5b35cb7fbc","generation":0,"snap_id":163556169729}]}]}\n 0\n \n"
time="2023-02-15T07:35:22Z" level=debug msg="username: smc , password: *****"
time="2023-02-15T07:35:22Z" level=debug msg="\n -------------------------- POWERMAX HTTP REQUEST -------------------------\n PUT /univmax/restapi/private/100/replication/symmetrix/000197901586/snapshot/csi-DAA-pmsn-5b35cb7fbc HTTP/1.1\n Host: 0.0.0.0:2222\n Accept: application/json;version=100\n Application-Type: CSI Driver for Dell EMC PowerMax/v2.5.0+dirty\n Content-Type: application/json;version=100\n Symid: 000197901586\n \n {"deviceNameListSource":[{"name":"0048C"}],"deviceNameListTarget":[{"name":"004B1"}],"timeInHours":false,"action":"Unlink","generation":0,"executionOption":"SYNCHRONOUS"}\n"
time="2023-02-15T07:35:23Z" level=debug msg="\n -------------------------- POWERMAX HTTP RESPONSE -------------------------\n HTTP/1.1 404 Not Found\n Transfer-Encoding: chunked\n Content-Security-Policy: default-src 'self'\n Content-Type: application/json\n Date: Wed, 15 Feb 2023 07:48:27 GMT\n Referrer-Policy: no-referrer-when-downgrade\n Restapi-Active-Session-Count: 3\n Restapi-Processing-Time: 998\n Strict-Transport-Security: max-age=31536000; includeSubDomains\n X-Content-Security-Policy: default-src 'self'\n X-Content-Type-Options: nosniff\n X-Frame-Options: SAMEORIGIN\n X-Webkit-Csp: default-src 'self'\n X-Xss-Protection: 1; mode=block\n \n 28\n {"message":"No link target was found "}\n 0\n \n"
time="2023-02-15T07:35:23Z" level=error msg="Error in ModifySnapshotS: No link target was found " PUT=univmax/restapi/private/100/replication/symmetrix/000197901586/snapshot/csi-DAA-pmsn-5b35cb7fbc
time="2023-02-15T07:35:23Z" level=debug msg="(Device ID: 004B1, SymID: 000197901586): Current Error: failed to unlink snapshot. error: No link target was found , Total Number of errors: 1"
time="2023-02-15T07:35:23Z" level=debug msg="username: smc , password: *****"
time="2023-02-15T07:35:23Z" level=debug msg="\n -------------------------- POWERMAX HTTP REQUEST -------------------------\n GET /univmax/restapi/100/sloprovisioning/symmetrix/000197901586/volume/004B1 HTTP/1.1\n Host: 0.0.0.0:2222\n Accept: application/json;version=100\n Application-Type: CSI Driver for Dell EMC PowerMax/v2.5.0+dirty\n Content-Type: application/json;version=100\n Symid: 000197901586\n \n"
time="2023-02-15T07:35:23Z" level=debug msg="\n -------------------------- POWERMAX HTTP RESPONSE -------------------------\n HTTP/1.1 200 OK\n Transfer-Encoding: chunked\n Content-Security-Policy: default-src 'self'\n Content-Type: application/json\n Date: Wed, 15 Feb 2023 07:48:27 GMT\n Referrer-Policy: no-referrer-when-downgrade\n Restapi-Active-Session-Count: 3\n Restapi-Processing-Time: 16\n Strict-Transport-Security: max-age=31536000; includeSubDomains\n X-Content-Security-Policy: default-src 'self'\n X-Content-Type-Options: nosniff\n X-Frame-Options: SAMEORIGIN\n X-Webkit-Csp: default-src 'self'\n X-Xss-Protection: 1; mode=block\n \n 23c\n {"volumeId":"004B1","type":"TDEV","emulation":"FBA","ssid":"FFFFFFFF","allocated_percent":0,"cap_gb":8.0,"cap_mb":8194.0,"cap_cyl":4370,"status":"Ready","reserved":false,"pinned":false,"volume_identifier":"_DELcsi-DAA-pmax-48d518b212-test","wwn":"60000970000197901586533030344231","encapsulated":false,"num_of_storage_groups":0,"num_of_front_end_paths":0,"snapvx_source":false,"snapvx_target":true,"has_effective_wwn":false,"effective_wwn":"60000970000197901586533030344231","mobility_id_enabled":false,"unreducible_data_gb":0.0,"nguid":"15865330303442310000976000019790"}\n 0\n \n"
time="2023-02-15T07:35:23Z" level=debug msg="(Device ID: 004B1, Sym ID: 000197901586): Successfully refreshed cache"
Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
1.Created multiple snapshots for same source volumes and create target volume using each snapshot
2. delete the target volume
Expected Behavior
Deletion of volume should successful.
CSM Driver(s)
CSI driver for Powermax
Installation Type
No response
Container Storage Modules Enabled
No response
Container Orchestrator
K8's
Operating System
all
The text was updated successfully, but these errors were encountered: