Live-migration with ZFSSA-backed cinder volume - filesystems to go read-only

Bug #1565051 reported by abhiram moturi
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
iain MacDonnell

Bug Description

On live-migrating a nova instance booted from a cinder volume provided by a ZFSSA, the migration succeeds, but the instance is left with its root filesystem mounted read-only.

cause -
the cause is in the initialize_connection(). Currently initialize_connection set the initiator groups for the LUN to only group. terminate_connection() set it to mask all groups.

fix -
initialize_connection() makes a new list of initiator groups by appending the new group with the ones already attached to the LUN. terminate_connection() makes a list by removing the one it should be detached from.

Changed in cinder:
assignee: nobody → abhiram moturi (abhiram-moturi)
tags: added: drivers oracle
Changed in cinder:
assignee: abhiram moturi (abhiram-moturi) → nobody
Kedar (kedar-vidvans)
Changed in cinder:
assignee: nobody → Kedar (kedar-vidvans)
Kedar (kedar-vidvans)
tags: added: oracle-zfssa
Changed in cinder:
importance: Undecided → Medium
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote : Owner Expired

Unassigning due to no activity.

Changed in cinder:
assignee: Kedar (kedar-vidvans) → nobody
Changed in cinder:
assignee: nobody → iain MacDonnell (imacdonn)
Changed in cinder:
status: New → In Progress
Revision history for this message
Kedar (kedar-vidvans) wrote :

Change undergoing review at: https://review.openstack.org/#/c/371199/

Revision history for this message
Sean McGinnis (sean-mcginnis) wrote : Bug Assignee Expired

Unassigning due to no activity for > 6 months.

Changed in cinder:
assignee: iain MacDonnell (imacdonn) → nobody
Changed in cinder:
assignee: nobody → iain MacDonnell (imacdonn)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/371199
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=278ad6a2bd8a8401ce40d57a8a243500d11b1c17
Submitter: Jenkins
Branch: master

commit 278ad6a2bd8a8401ce40d57a8a243500d11b1c17
Author: iain MacDonnell <email address hidden>
Date: Fri Jul 14 01:33:19 2017 +0000

    ZFSSA iSCSI volume driver multi-connect

    Fix ZFSSA iSCSI volume driver to allow connection of a volume to more
    than one connector (initiator group) at the same time, which is
    required for live-migration to work.

    Note: ZFSSA software release 2013.1.3.x (or higher) will be required
    to use this functionality.

    Change-Id: I44b86fd967a21da465b44a8db15331ca17438961
    Closes-Bug: #1565051

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

This issue was fixed in the openstack/cinder 11.0.0.0b3 development milestone.

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.