Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1845632

Summary: [OSP15] retype fails to change the name of intermediate volume after migrating data to it in 3par
Product: Red Hat OpenStack Reporter: Alan Bishop <abishop>
Component: openstack-cinderAssignee: Alan Bishop <abishop>
Status: CLOSED EOL QA Contact: Tzach Shefi <tshefi>
Severity: medium Docs Contact: Chuck Copello <ccopello>
Priority: medium    
Version: 15.0 (Stein)CC: abishop, astillma, dhill, eharney, geguileo, jhardee, jvisser, kbhaskar, kthakre, ltoscano, mgarciac, pgrist, scohen, tshefi
Target Milestone: z3Keywords: Triaged, ZStream
Target Release: 15.0 (Stein)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-cinder-14.1.0-0.20200608100453.25ed65f.el8ost Doc Type: Bug Fix
Doc Text:
Copied from https://bugzilla.redhat.com/show_bug.cgi?id=1835870: This update fixes a bug that caused Cinder offline volume migration for HPE 3par storage to fail.
Story Points: ---
Clone Of: 1845631 Environment:
Last Closed: 2020-09-21 11:04:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1835870    

Description Alan Bishop 2020-06-09 17:19:26 UTC
+++ This bug was initially created as a clone of Bug #1845631 +++

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

Description of problem:

The volume migration from Netapp to 3par shows success on the terminal/CLI output but below error can be seen in cinder-volume logs while renaming the initial copy of the volume in 3par cinder backend:

~~~~~~~~
2020-05-14 14:51:38.213 66 ERROR cinder.volume.drivers.hpe.hpe_3par_common [req-edcc2612-9432-4522-bc2e-f4f5fbefbf18 d93d94d0eba0474294590ba2d7557b8e 869bf59fe6e743ed94b96702a3a67bcd - default default] Changing the volume name from osv-5eze4pUtS36GJKKAV6XYLA to osv-4eZB--17SPqSA88PLwka4g failed because Not found (HTTP 404) 23 - volume does not exist: HTTPNotFound: Not found (HTTP 404) 23 - volume does not exist
~~~~~~~~

which further affects any operations on the retyped volume like launching an instance using this volume.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Install an OSP 13 environment with 2 cinder FC backends i.e Netapp and 3par
2. Create a bootable volume in Netapp cinder backend
3. Migrate the volume from Netapp to 3par cinder backend using "cinder retype" command
4. Launch an instance from the volume once it is migrated to 3par cinder backend and it should fail with below error:

BuildAbortException: Build of instance 2447bab0-62dd-4b59-a9cd-8662a4488902 aborted: Unable to update attachment.(Bad or unexpected response from the storage volume backend API: Driver initialize connection failed (error: Not found (HTTP 404) 23 - volume does not exist).). (HTTP 500) (Request-ID: req-6af8c8be-9f73-4077-856f-9d9f27d6b45c)

Actual results:
Openstack server create operation fails with a volume migrated to 3par cinder backend from Netapp cinder backend.


Expected results:
Openstack operations should behave the same on a migrated volume as it works for a non-migrated volume.

Comment 4 Luigi Toscano 2020-09-21 11:04:53 UTC
OSP15 is EOL, but this bug (a clone) has been addressed in the other releases (OSP16+, OSP13).