Bug 1386263 - NetApp Cinder driver: cloning operations are unsuccessful
Summary: NetApp Cinder driver: cloning operations are unsuccessful
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: async
: 8.0 (Liberty)
Assignee: Eric Harney
QA Contact: lkuchlan
URL:
Whiteboard:
Depends On: 1370012 1386253 1386268
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-18 13:50 UTC by Eric Harney
Modified: 2022-07-09 09:42 UTC (History)
11 users (show)

Fixed In Version: openstack-cinder-7.0.3-1.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1386253
Environment:
Last Closed: 2016-12-21 16:42:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1608596 0 None None None 2016-10-18 13:50:30 UTC
OpenStack gerrit 386041 0 None None None 2016-10-18 13:50:30 UTC
Red Hat Issue Tracker OSP-16910 0 None None None 2022-07-09 09:42:13 UTC
Red Hat Knowledge Base (Solution) 2644511 0 None None None 2016-10-18 13:50:30 UTC
Red Hat Product Errata RHSA-2016:2991 0 normal SHIPPED_LIVE Moderate: openstack-cinder, openstack-glance, and openstack-nova update 2016-12-21 21:34:31 UTC

Description Eric Harney 2016-10-18 13:50:31 UTC
+++ This bug was initially created as a clone of Bug #1386253 +++

+++ This bug was initially created as a clone of Bug #1370012 +++

Description of problem:
Cinder cloning operations are unsuccessful when using the cinder NetApp driver

Version-Release number of selected component (if applicable):
openstack-cinder-2014.2.4-6.el7ost.noarch

How reproducible:
Very often (10% of the time),  cinder cloning operations are unsuccessful

Steps to Reproduce:
1.
2.
3.

Actual results:



--- Additional comment from Eric Harney on 2016-10-13 11:45:31 EDT ---

I've submitted a new patch upstream which I think may be an easier workaround.  It will be waiting for review from NetApp engineers.

https://review.openstack.org/#/c/386041/

Comment 4 lkuchlan 2016-12-06 10:00:57 UTC
Tested using:
openstack-cinder-7.0.3-1.el7ost.noarch

Verification flow:

[stack@undercloud-0 ~]$ cinder create 1
+---------------------------------------+--------------------------------------+
|                Property               |                Value                 |
+---------------------------------------+--------------------------------------+
|              attachments              |                  []                  |
|           availability_zone           |                 nova                 |
|                bootable               |                false                 |
|          consistencygroup_id          |                 None                 |
|               created_at              |      2016-12-06T09:53:22.000000      |
|              description              |                 None                 |
|               encrypted               |                False                 |
|                   id                  | 42dac3ac-37ac-4447-a655-29d8f5270c90 |
|                metadata               |                  {}                  |
|            migration_status           |                 None                 |
|              multiattach              |                False                 |
|                  name                 |                 None                 |
|         os-vol-host-attr:host         |                 None                 |
|     os-vol-mig-status-attr:migstat    |                 None                 |
|     os-vol-mig-status-attr:name_id    |                 None                 |
|      os-vol-tenant-attr:tenant_id     |   3ad530b2f760496eb7865912ebc3b83b   |
|   os-volume-replication:driver_data   |                 None                 |
| os-volume-replication:extended_status |                 None                 |
|           replication_status          |               disabled               |
|                  size                 |                  1                   |
|              snapshot_id              |                 None                 |
|              source_volid             |                 None                 |
|                 status                |               creating               |
|                user_id                |   7acdf736904e4e0fa208119399a21319   |
|              volume_type              |                 None                 |
+---------------------------------------+--------------------------------------+

[stack@undercloud-0 ~]$ cinder show 42dac3ac-37ac-4447-a655-29d8f5270c90
+---------------------------------------+----------------------------------------------------------+
|                Property               |                          Value                           |
+---------------------------------------+----------------------------------------------------------+
|              attachments              |                            []                            |
|           availability_zone           |                           nova                           |
|                bootable               |                          false                           |
|          consistencygroup_id          |                           None                           |
|               created_at              |                2016-12-06T09:53:22.000000                |
|              description              |                           None                           |
|               encrypted               |                          False                           |
|                   id                  |           42dac3ac-37ac-4447-a655-29d8f5270c90           |
|                metadata               |                            {}                            |
|            migration_status           |                           None                           |
|              multiattach              |                          False                           |
|                  name                 |                           None                           |
|         os-vol-host-attr:host         | hostgroup@Netapp-nfs1#10.35.64.11:/vol/vol_rhos_auto_nfs |
|     os-vol-mig-status-attr:migstat    |                           None                           |
|     os-vol-mig-status-attr:name_id    |                           None                           |
|      os-vol-tenant-attr:tenant_id     |             3ad530b2f760496eb7865912ebc3b83b             |
|   os-volume-replication:driver_data   |                           None                           |
| os-volume-replication:extended_status |                           None                           |
|           replication_status          |                         disabled                         |
|                  size                 |                            1                             |
|              snapshot_id              |                           None                           |
|              source_volid             |                           None                           |
|                 status                |                        available                         |
|                user_id                |             7acdf736904e4e0fa208119399a21319             |
|              volume_type              |                           None                           |
+---------------------------------------+----------------------------------------------------------+

[stack@undercloud-0 ~]$ cinder list
+--------------------------------------+-----------+------------------+------+------+-------------+----------+-------------+-------------+
|                  ID                  |   Status  | Migration Status | Name | Size | Volume Type | Bootable | Multiattach | Attached to |
+--------------------------------------+-----------+------------------+------+------+-------------+----------+-------------+-------------+
| 42dac3ac-37ac-4447-a655-29d8f5270c90 | available |        -         |  -   |  1   |      -      |  false   |    False    |             |
+--------------------------------------+-----------+------------------+------+------+-------------+----------+-------------+-------------+

[stack@undercloud-0 ~]$ cinder create 1 --source-volid 42dac3ac-37ac-4447-a655-29d8f5270c90
+---------------------------------------+----------------------------------------------------------+
|                Property               |                          Value                           |
+---------------------------------------+----------------------------------------------------------+
|              attachments              |                            []                            |
|           availability_zone           |                           nova                           |
|                bootable               |                          false                           |
|          consistencygroup_id          |                           None                           |
|               created_at              |                2016-12-06T09:54:10.000000                |
|              description              |                           None                           |
|               encrypted               |                          False                           |
|                   id                  |           76d21063-fbc8-4e7b-85cf-4b26a808204d           |
|                metadata               |                            {}                            |
|            migration_status           |                           None                           |
|              multiattach              |                          False                           |
|                  name                 |                           None                           |
|         os-vol-host-attr:host         | hostgroup@Netapp-nfs1#10.35.64.11:/vol/vol_rhos_auto_nfs |
|     os-vol-mig-status-attr:migstat    |                           None                           |
|     os-vol-mig-status-attr:name_id    |                           None                           |
|      os-vol-tenant-attr:tenant_id     |             3ad530b2f760496eb7865912ebc3b83b             |
|   os-volume-replication:driver_data   |                           None                           |
| os-volume-replication:extended_status |                           None                           |
|           replication_status          |                         disabled                         |
|                  size                 |                            1                             |
|              snapshot_id              |                           None                           |
|              source_volid             |           42dac3ac-37ac-4447-a655-29d8f5270c90           |
|                 status                |                         creating                         |
|                user_id                |             7acdf736904e4e0fa208119399a21319             |
|              volume_type              |                           None                           |
+---------------------------------------+----------------------------------------------------------+

[stack@undercloud-0 ~]$ cinder list
+--------------------------------------+-----------+------------------+------+------+-------------+----------+-------------+-------------+
|                  ID                  |   Status  | Migration Status | Name | Size | Volume Type | Bootable | Multiattach | Attached to |
+--------------------------------------+-----------+------------------+------+------+-------------+----------+-------------+-------------+
| 42dac3ac-37ac-4447-a655-29d8f5270c90 | available |        -         |  -   |  1   |      -      |  false   |    False    |             |
| 76d21063-fbc8-4e7b-85cf-4b26a808204d | available |        -         |  -   |  1   |      -      |  false   |    False    |             |
+--------------------------------------+-----------+------------------+------+------+-------------+----------+-------------+-------------+

[stack@undercloud-0 ~]$ cinder create 1 --image-id ccebf61d-b472-42f1-9ad4-20835c066f27
+---------------------------------------+--------------------------------------+
|                Property               |                Value                 |
+---------------------------------------+--------------------------------------+
|              attachments              |                  []                  |
|           availability_zone           |                 nova                 |
|                bootable               |                false                 |
|          consistencygroup_id          |                 None                 |
|               created_at              |      2016-12-06T09:57:31.000000      |
|              description              |                 None                 |
|               encrypted               |                False                 |
|                   id                  | 9b7d4560-28f2-461e-a284-863efe1ed958 |
|                metadata               |                  {}                  |
|            migration_status           |                 None                 |
|              multiattach              |                False                 |
|                  name                 |                 None                 |
|         os-vol-host-attr:host         |                 None                 |
|     os-vol-mig-status-attr:migstat    |                 None                 |
|     os-vol-mig-status-attr:name_id    |                 None                 |
|      os-vol-tenant-attr:tenant_id     |   3ad530b2f760496eb7865912ebc3b83b   |
|   os-volume-replication:driver_data   |                 None                 |
| os-volume-replication:extended_status |                 None                 |
|           replication_status          |               disabled               |
|                  size                 |                  1                   |
|              snapshot_id              |                 None                 |
|              source_volid             |                 None                 |
|                 status                |               creating               |
|                user_id                |   7acdf736904e4e0fa208119399a21319   |
|              volume_type              |                 None                 |
+---------------------------------------+--------------------------------------+

[stack@undercloud-0 ~]$ cinder list
+--------------------------------------+-----------+------------------+------+------+-------------+----------+-------------+-------------+
|                  ID                  |   Status  | Migration Status | Name | Size | Volume Type | Bootable | Multiattach | Attached to |
+--------------------------------------+-----------+------------------+------+------+-------------+----------+-------------+-------------+
| 42dac3ac-37ac-4447-a655-29d8f5270c90 | available |        -         |  -   |  1   |      -      |  false   |    False    |             |
| 76d21063-fbc8-4e7b-85cf-4b26a808204d | available |        -         |  -   |  1   |      -      |  false   |    False    |             |
| 9b7d4560-28f2-461e-a284-863efe1ed958 | available |        -         |  -   |  1   |      -      |   true   |    False    |             |
+--------------------------------------+-----------+------------------+------+------+-------------+----------+-------------+-------------+

Comment 6 errata-xmlrpc 2016-12-21 16:42:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-2991.html


Note You need to log in before you can comment on or make changes to this bug.