wrong handling of share-networks with single_svm drivers

Bug #1407923 reported by Valeriy Ponomaryov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
High
Valeriy Ponomaryov

Bug Description

If we try create share with share driver that is enabled with "single_svm" mode and provide share_network, entity of share-server will be created and assigned as "ACTIVE" because driver's interface of share-server creation will return "Ok".

So, need raise error before share server creation if share network provided using "single_svm" mode with any share driver.

Changed in manila:
assignee: nobody → Valeriy Ponomaryov (vponomaryov)
importance: Undecided → High
Changed in manila:
status: New → In Progress
Changed in manila:
milestone: none → kilo-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/144342
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=96ba32011ac5b4d591880cfc87a5737918f68e9e
Submitter: Jenkins
Branch: master

commit 96ba32011ac5b4d591880cfc87a5737918f68e9e
Author: Valeriy Ponomaryov <email address hidden>
Date: Tue Jan 6 12:32:12 2015 +0200

    Fix handling of share-networks with single_svm drivers

    If we create share with share driver that is enabled with "single_svm" mode
    and provide share network, entity of "share server" will be created and status
    "ACTIVE" will be set to it, because driver's interface of share-server creation
    will return "Ok".
    So, raise error before share server creation if share network provided using
    "single_svm" mode with any share driver.

    Change-Id: I4aa8e84659ae428c5155a81c2ff6aab710a7832e
    Closes-Bug: #1407923

Changed in manila:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in manila:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in manila:
milestone: kilo-2 → 2015.1.0
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.