Multiple export locations are shown during share migration

Bug #1660726 reported by Rodrigo Barbieri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
Rodrigo Barbieri

Bug Description

When migrating a share, multiple export locations are shown, while only the export location respective to the source instance is useful. There is no way the user can determine which one is related to the source.

+---------------------------------------+------------------------------------------------------------------+
| Property | Value |
+---------------------------------------+------------------------------------------------------------------+
| status | migrating |
| share_type_name | hds |
| description | None |
| availability_zone | nova |
| share_network_id | None |
| export_locations | |
| | path = 10.10.10.101:/shares/35c1bee2-8412-4e50-8973-96b097232181 |
| | id = 0e65b89d-42ef-4e61-85bb-15590e9e1908 |
| | preferred = False |
| | path = 10.10.10.100:/shares/290d2611-87f4-4734-95c4-0882260f1dbd |
| | id = 157bf558-5ac9-476c-9b7f-fd671fbc2e5a |
| | preferred = False |
| share_group_id | None |
| host | ubuntu@hds2#HDS2 |
| revert_to_snapshot_support | True |
| access_rules_status | active |
| snapshot_id | None |
| create_share_from_snapshot_support | True |
| is_public | False |
| task_state | data_copying_completed |
| snapshot_support | True |
| id | 88f89c85-97a7-4a74-9f7a-0dec80b8b5f0 |
| size | 1 |
| source_share_group_snapshot_member_id | None |
| user_id | 6a08846c319c4ae5aa3c09402e88a450 |
| name | share_1 |
| share_type | 6c398164-f272-4410-918c-417a9af37e38 |
| has_replicas | False |
| replication_type | None |
| created_at | 2017-01-31T11:45:22.000000 |
| share_proto | NFS |
| mount_snapshot_support | True |
| project_id | 649c607e28c244d2b58b22840c2214af |
| metadata | {} |
+---------------------------------------+------------------------------------------------------------------+

Changed in manila:
importance: Undecided → Medium
assignee: nobody → Rodrigo Barbieri (rodrigo-barbieri2010)
milestone: none → ocata-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

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

Changed in manila:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/427360
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=53b91e513edfd57dc8d712f43b19378f4675d82e
Submitter: Jenkins
Branch: master

commit 53b91e513edfd57dc8d712f43b19378f4675d82e
Author: Rodrigo Barbieri <email address hidden>
Date: Tue Jan 31 17:07:47 2017 -0200

    Fix multiple export locations during migration

    During a migration, the destination share instance export location
    was being shown, thus the user could get confused as to which
    export location to choose when mounting his share, since only
    the source could be mounted.

    This patch addresses this by filtering the destination
    export location out.

    APIImpact

    Change-Id: I20cf1a76399693d751fa87fc4df375162e7c5f1d
    Closes-bug: #1660726

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 4.0.0.0rc1

This issue was fixed in the openstack/manila 4.0.0.0rc1 release candidate.

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.