+++ 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-2015.1.3-11.el7ost.noarch Verification flow: [root@dhcp88-142 ~(keystone_admin)]# cinder create 1 +---------------------+--------------------------------------+ | Property | Value | +---------------------+--------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | created_at | 2016-12-05T14:11:47.114618 | | display_description | None | | display_name | None | | encrypted | False | | id | 63e5c6fb-1dfb-4cd8-a73c-e5e214c21e17 | | metadata | {} | | multiattach | false | | size | 1 | | snapshot_id | None | | source_volid | None | | status | creating | | volume_type | None | +---------------------+--------------------------------------+ [root@dhcp88-142 ~(keystone_admin)]# cinder list +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ | ID | Status | Display Name | Size | Volume Type | Bootable | Attached to | +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ | 63e5c6fb-1dfb-4cd8-a73c-e5e214c21e17 | available | - | 1 | - | false | | +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ [root@dhcp88-142 ~(keystone_admin)]# cinder show 63e5c6fb-1dfb-4cd8-a73c-e5e214c21e17 +---------------------------------------+----------------------------------------------------------------------------------+ | Property | Value | +---------------------------------------+----------------------------------------------------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | created_at | 2016-12-05T14:11:47.000000 | | display_description | None | | display_name | None | | encrypted | False | | id | 63e5c6fb-1dfb-4cd8-a73c-e5e214c21e17 | | metadata | {} | | multiattach | false | | os-vol-host-attr:host | dhcp88-142.scl.lab.tlv.redhat.com@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 | 186ac665f80d41369d73efb3dea516f2 | | os-volume-replication:driver_data | None | | os-volume-replication:extended_status | None | | size | 1 | | snapshot_id | None | | source_volid | None | | status | available | | volume_type | None | +---------------------------------------+----------------------------------------------------------------------------------+ [root@dhcp88-142 ~(keystone_admin)]# cinder create 1 --source-volid 63e5c6fb-1dfb-4cd8-a73c-e5e214c21e17 +---------------------+--------------------------------------+ | Property | Value | +---------------------+--------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | created_at | 2016-12-05T14:12:43.630590 | | display_description | None | | display_name | None | | encrypted | False | | id | 9854dd23-a69d-42dd-ae47-72def2cdfc08 | | metadata | {} | | multiattach | false | | size | 1 | | snapshot_id | None | | source_volid | 63e5c6fb-1dfb-4cd8-a73c-e5e214c21e17 | | status | creating | | volume_type | None | +---------------------+--------------------------------------+ [root@dhcp88-142 ~(keystone_admin)]# cinder list +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ | ID | Status | Display Name | Size | Volume Type | Bootable | Attached to | +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ | 63e5c6fb-1dfb-4cd8-a73c-e5e214c21e17 | available | - | 1 | - | false | | | 9854dd23-a69d-42dd-ae47-72def2cdfc08 | available | - | 1 | - | false | | +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ [root@dhcp88-142 ~(keystone_admin)]# cinder create 1 --image-id 30b1fcfc-8593-4f19-badc-b1e04c23f30e +---------------------+--------------------------------------+ | Property | Value | +---------------------+--------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | created_at | 2016-12-05T14:13:29.471608 | | display_description | None | | display_name | None | | encrypted | False | | id | 548b2413-2aeb-4cec-8605-038211ffdc3f | | image_id | 30b1fcfc-8593-4f19-badc-b1e04c23f30e | | metadata | {} | | multiattach | false | | size | 1 | | snapshot_id | None | | source_volid | None | | status | creating | | volume_type | None | +---------------------+--------------------------------------+ [root@dhcp88-142 ~(keystone_admin)]# cinder list +--------------------------------------+-------------+--------------+------+-------------+----------+-------------+ | ID | Status | Display Name | Size | Volume Type | Bootable | Attached to | +--------------------------------------+-------------+--------------+------+-------------+----------+-------------+ | 548b2413-2aeb-4cec-8605-038211ffdc3f | downloading | - | 1 | - | false | | | 63e5c6fb-1dfb-4cd8-a73c-e5e214c21e17 | available | - | 1 | - | false | | | 9854dd23-a69d-42dd-ae47-72def2cdfc08 | available | - | 1 | - | false | | +--------------------------------------+-------------+--------------+------+-------------+----------+-------------+ [root@dhcp88-142 ~(keystone_admin)]# cinder list +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ | ID | Status | Display Name | Size | Volume Type | Bootable | Attached to | +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ | 548b2413-2aeb-4cec-8605-038211ffdc3f | available | - | 1 | - | true | | | 63e5c6fb-1dfb-4cd8-a73c-e5e214c21e17 | available | - | 1 | - | false | | | 9854dd23-a69d-42dd-ae47-72def2cdfc08 | available | - | 1 | - | 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-2017-0282.html