test_volume_from_snapshot_cascade_delete failed on EMC Unity

Bug #1782287 reported by Sam Wan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
Ryan Liang

Bug Description

After upgrading Unity array firmware from 4.2.0 to 4.4.0, tempest test case test_volume_from_snapshot_cascade_delete failed.

successful before upgrading:
http://publiclogs.emc.com/manual/0/EMC_Unity_FC/605/console.txt

failed after upgrading:
http://publiclogs.emc.com/manual/0/EMC_Unity_FC/606/console.txt

error log in cinder
======
Jul 03 07:47:03.657056 cdh2h1 cinder-volume[13912]: DEBUG storops.connection.client [None req-253724c1-3260-4126-8091-5fd7465cd5a5 tempest-VolumesDeleteCascade-1530513279 None] REQ URL: [DELETE] https://10.228.227.203:443/api/instances/storageResource/sv_589894?compact=True {{(pid=14078) log_request /usr/local/lib/python2.7/dist-packages/storops/connection/client.py:161}}
Jul 03 07:47:03.657204 cdh2h1 cinder-volume[13912]: DEBUG storops.connection.client [None req-253724c1-3260-4126-8091-5fd7465cd5a5 tempest-VolumesDeleteCascade-1530513279 None] REQ BODY:
Jul 03 07:47:03.657352 cdh2h1 cinder-volume[13912]: {
Jul 03 07:47:03.657495 cdh2h1 cinder-volume[13912]: "forceSnapDeletion": false,
Jul 03 07:47:03.657637 cdh2h1 cinder-volume[13912]: "forceVvolDeletion": false
Jul 03 07:47:03.657780 cdh2h1 cinder-volume[13912]: } {{(pid=14078) _debug_print_json /usr/local/lib/python2.7/dist-packages/storops/connection/client.py:178}}
Jul 03 07:47:03.657924 cdh2h1 cinder-volume[13912]: WARNING py.warnings [None req-253724c1-3260-4126-8091-5fd7465cd5a5 tempest-VolumesDeleteCascade-1530513279 None] /usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
Jul 03 07:47:03.658068 cdh2h1 cinder-volume[13912]: InsecureRequestWarning)
Jul 03 07:47:03.658212 cdh2h1 cinder-volume[13912]:
Jul 03 07:47:03.910581 cdh2h1 cinder-volume[13912]: DEBUG storops.connection.client [None req-253724c1-3260-4126-8091-5fd7465cd5a5 tempest-VolumesDeleteCascade-1530513279 None] REQ URL: [DELETE] https://10.228.227.203:443/api/instances/storageResource/sv_589894?compact=True, TIME: 0.26370716095, RESP CODE: 409 {{(pid=14078) log_response /usr/local/lib/python2.7/dist-packages/storops/connection/client.py:185}}
Jul 03 07:47:03.911197 cdh2h1 cinder-volume[13912]: DEBUG storops.connection.client [None req-253724c1-3260-4126-8091-5fd7465cd5a5 tempest-VolumesDeleteCascade-1530513279 None] RESP BODY:
Jul 03 07:47:03.911505 cdh2h1 cinder-volume[13912]: {
Jul 03 07:47:03.911765 cdh2h1 cinder-volume[13912]: "error": {
Jul 03 07:47:03.911991 cdh2h1 cinder-volume[13912]: "errorCode": 108009075,
Jul 03 07:47:03.912212 cdh2h1 cinder-volume[13912]: "httpStatusCode": 409,
Jul 03 07:47:03.912433 cdh2h1 cinder-volume[13912]: "messages": [
Jul 03 07:47:03.912654 cdh2h1 cinder-volume[13912]: {
Jul 03 07:47:03.912875 cdh2h1 cinder-volume[13912]: "en-US": "The specified LUN cannot be deleted because it has one or more dependent thin clones. (Error Code:0x6701673)"
Jul 03 07:47:03.913094 cdh2h1 cinder-volume[13912]: }
Jul 03 07:47:03.913337 cdh2h1 cinder-volume[13912]: ],
Jul 03 07:47:03.913609 cdh2h1 cinder-volume[13912]: "created": "2018-07-03T11:47:03.905Z"
Jul 03 07:47:03.913845 cdh2h1 cinder-volume[13912]: }
Jul 03 07:47:03.914118 cdh2h1 cinder-volume[13912]: } {{(pid=14078) _debug_print_json /usr/local/lib/python2.7/dist-packages/storops/connection/client.py:178}}
======

detailed logs: http://publiclogs.emc.com/manual/0/EMC_Unity_FC/606

Revision history for this message
Ryan Liang (ryan-liang) wrote :

It is fixed in storops: https://github.com/emc-openstack/storops/pull/227

The error code of deleting a lun with thinclone was wrong.
The reason is that we used the Merlin image which is not an official
one when developing thinclone feature. The official image changed the
error code.

Changed in cinder:
assignee: nobody → Ryan Liang (ryan-liang)
tags: added: dell drivers unity
Changed in cinder:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.