+++ 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/
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 | | +--------------------------------------+-----------+------------------+------+------+-------------+----------+-------------+-------------+
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