Skip to content
New issue

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

[BUG]: Deletion of target volume is failing with multiple snapshots #667

Closed
boyamurthy opened this issue Feb 16, 2023 · 1 comment
Closed
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

Comments

@boyamurthy
Copy link
Contributor

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

@boyamurthy boyamurthy added needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue. area/csi-powermax Issue pertains to the CSI Driver for Dell EMC PowerMax labels Feb 16, 2023
@boyamurthy boyamurthy added this to the v1.6.0 milestone Feb 16, 2023
@csmbot
Copy link
Collaborator

csmbot commented Feb 16, 2023

@boyamurthy: Thank you for submitting this issue!

The issue is currently awaiting triage. Please make sure you have given us as much context as possible.

If the maintainers determine this is a relevant issue, they will remove the needs-triage label and assign an appropriate priority label.


We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at ses.csm.engineering@dell.com.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants