The display name of volume which synchronized form PowerVC is None

Bug #1363846 reported by Jerry Cai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powervc-driver
Fix Released
Medium
Jerry Cai

Bug Description

# SYSTEM LEVEL

refer to other.

# DETAILS

1. Create a volume named "test-volume" form ... and "test-volume" becomes "available" ;

2. Service "openstack-cinder" is running but it does NOT synchronize new created volume from , and after restarting "openstack-cinder" service,
the volume will be synchronized but its "Display Name" will be "None":
[root@ip˜]# cinder list
+--------------------------------------+-----------+--------------+------+----------------------------------------+----------+-------------+
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+--------------+------+----------------------------------------+----------+-------------+
| 299562ed-2bee-4861-9620-c1fdff4d90b5 | available | None | 10 | None | false | |
| 403d73d9-c529-4d02-b76a-5c8fa5ff9936 | error | None | 1 | None | false | |
| 54521ad1-96b8-4924-8bfc-6a0b64036592 | error | None | 1 | None | false | |
| 6b201651-84a3-41b1-96d9-baa886aeb87d | available | None | 20 | :Storage_152 base template | false | |
| 83678c12-6504-4356-8cb8-a672f069222f | available | test3 | 1 | None | false | |
| ccc8cf4a-f7fc-4aff-888c-b6913e7a5bcb | available | None | 50 | None | false | |
+--------------------------------------+-----------+--------------+------+----------------------------------------+----------+----

# EXPECTED RESULTS

The volume display name should be the name specified during creation.

# Actual RESULTS

The volume display name is None.

# SYSTEM & SIGNON INFORMATION
n/a

# AVAILABILITY OF MACHINES
Always

# FREQUENCY OF OCCURRENCE
Always

Revision history for this message
Jerry Cai (caimin) wrote :

Need to enhance the code to avoid this issue.

Changed in powervc-driver:
importance: Undecided → Low
importance: Low → Medium
status: New → In Progress
assignee: nobody → Jerry Cai (caimin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to powervc-driver (master)

Fix proposed to branch: master
Review: https://review.openstack.org/118253

Revision history for this message
Jerry Cai (caimin) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to powervc-driver (master)

Reviewed: https://review.openstack.org/118253
Committed: https://git.openstack.org/cgit/stackforge/powervc-driver/commit/?id=a41ee280aaad4884c23b7a161b25c7edbc41f73b
Submitter: Jenkins
Branch: master

commit a41ee280aaad4884c23b7a161b25c7edbc41f73b
Author: Jerry Cai <email address hidden>
Date: Tue Sep 2 11:19:52 2014 +0800

    The display name of volume which synchronized form PowerVC is None

    To enhance the code to fetch volume display_name for latest PowerVC
    If fetched "display_name" is empty then fetch "name" instead, if
    still empty then just display local os as empty as previous.

    Change-Id: I43161b50d153d9ed3750f8a2ea740c0dce633e35
    Closes-Bug: #1363846

Changed in powervc-driver:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to powervc-driver (master)

Fix proposed to branch: master
Review: https://review.openstack.org/118949

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to powervc-driver (master)

Reviewed: https://review.openstack.org/118949
Committed: https://git.openstack.org/cgit/stackforge/powervc-driver/commit/?id=1e8cddd0a7f861479106d03cabab3d2ba19e1925
Submitter: Jenkins
Branch: master

commit 1e8cddd0a7f861479106d03cabab3d2ba19e1925
Author: Terry Yao <email address hidden>
Date: Thu Sep 4 11:02:44 2014 +0800

    fix the failure to start cinder-volume for powervc driver

    PowerVC cinder driver __init__ does not call it's super's __init__,
    and latest cinder driver change result in cinder-volume can not be
    started due to this reason.

    Closes-Bug: #1363846
    Change-Id: I4743513b115fd02521fac546985981ea5197527c

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to powervc-driver (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/118950

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to powervc-driver (milestone-proposed)

Reviewed: https://review.openstack.org/118950
Committed: https://git.openstack.org/cgit/stackforge/powervc-driver/commit/?id=76c1864a6d907f0d45b00a0215bac4e9402d6951
Submitter: Jenkins
Branch: milestone-proposed

commit 76c1864a6d907f0d45b00a0215bac4e9402d6951
Author: Terry Yao <email address hidden>
Date: Thu Sep 4 11:02:44 2014 +0800

    fix the failure to start cinder-volume for powervc driver

    PowerVC cinder driver __init__ does not call it's super's __init__,
    and latest cinder driver change result in cinder-volume can not be
    started due to this reason.

    Closes-Bug: #1363846
    Change-Id: I4743513b115fd02521fac546985981ea5197527c
    (cherry picked from commit 1e8cddd0a7f861479106d03cabab3d2ba19e1925)

Changed in powervc-driver:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.