Bug 1480512

Summary: [Huawei] [Defect] [Cinder] - Huawei Storage Cinder driver fix bugs while integrated with Huawei Dorado array in Redhat openstack 11
Product: Red Hat OpenStack Reporter: zhouweigang09
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED ERRATA QA Contact: Avi Avraham <aavraham>
Severity: high Docs Contact:
Priority: medium    
Version: 11.0 (Ocata)CC: jniu, pgrist, srevivo, xiongtaifu
Target Milestone: ---Keywords: OtherQA, TestOnly, Triaged, ZStream
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-cinder-10.0.4-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-13 16:29:16 UTC Type: Bug
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: 1481790    
Bug Blocks:    

Description zhouweigang09 2017-08-11 09:49:40 UTC
Description of problem:

Change Huawei driver's private data storing place to fix issues while driver integrated with Huawei Dorado array:
1. the KeyError exception while querying storage pool infos, because some attributes don't exist for Dorado array.
2. attaching volume failed if the volume is a Huawei hypermetro volume, at this instance, driver logic will miss querying some infos from Dorado array, which leads KeyError exception at the afterwards processing logic.

So it's necessary to backport to redhat openstack 11(Ocata) stable branch for Huawei cinder driver.



Version-Release number of selected component (if applicable):
Redhat Openstack 11, openstack-cinder

How reproducible:

Steps to Reproduce:
1. Create execute a volume migration task from a storage pool to another in dorado storage
2. The task will failed with TierCapability KeyError.

Actual results:
The volume migration task failed with error "TierCapability1 KeyError" n volume log file.


Expected results:
The volume migration is successfully.


Additional info:
The openstack community in Newton has fixed this bug in blueprint:
https://review.openstack.org/#/c/480010

Primary Red Hat contact: 
        a. Name: Jingjing Niu 
        b. Email:   jniu
 Primary Partner contact: 
        a. Name: Taifu Xiong
        b. Email:  xiongtaifu
        c. Primary Phone: 15922901778

Comment 1 zhouweigang09 2017-09-15 01:30:48 UTC
Hi ,

This issue is fixed in below bugzilla id which is already released.  
The version is openstack-cinder-10.0.4-3.el7ost.noarch

https://bugzilla.redhat.com/show_bug.cgi?id=1481790

Comment 2 Lon Hohberger 2017-10-10 18:09:17 UTC
According to our records, this should be resolved by openstack-cinder-10.0.4-3.el7ost.  This build is available now.

Comment 5 errata-xmlrpc 2018-02-13 16:29:16 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://access.redhat.com/errata/RHBA-2018:0306