Share service VM system to restart stuck

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

Bug Description

Share service VM system to restart stuck,because the /etc/fstab has nfsd mount information.

/dev/vda1 / ext4 rw 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
none /sys/fs/cgroup tmpfs rw 0 0
none /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
udev /dev devtmpfs rw,mode=0755 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
tmpfs /run tmpfs rw,noexec,nosuid,size=10%,mode=0755 0 0
none /run/lock tmpfs rw,noexec,nosuid,nodev,size=5242880 0 0
none /run/shm tmpfs rw,nosuid,nodev 0 0
none /run/user tmpfs rw,noexec,nosuid,nodev,size=104857600,mode=0755 0 0
none /sys/fs/pstore pstore rw 0 0
rpc_pipefs /run/rpc_pipefs rpc_pipefs rw 0 0
/dev/vdb /shares/share-ab2ed652-17f0-40c1-b79f-5b23143bff17 ext4 rw 0 0
/dev/sr0 /tmp/tmpA9V7iz iso9660 ro,sync,relatime 0 0
nfsd /proc/fs/nfsd nfsd rw 0 0

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

Reviewed: https://review.openstack.org/393594
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=b76934770b0f42950cad35a3e2a5a8e060462332
Submitter: Zuul
Branch: master

commit b76934770b0f42950cad35a3e2a5a8e060462332
Author: Xiaoyang Zhang <email address hidden>
Date: Mon Nov 14 17:40:59 2016 +0800

    Fix share-service VM restart problem

    The /etc/mtab file may have mount information such as 'nfsd'
    that if copied to /etc/fstab will cause the share server to
    hang when rebooted.

    Update /etc/fstab with exactly the newly mounted or unmounted
    shares rather than simply overwriting /etc/fstab with /etc/mtab.

    Change-Id: I67602bae1f928769d768008deca7bd0f2fef1ac2
    Close-Bug: #1639662

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/572023

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/queens)

Reviewed: https://review.openstack.org/572023
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=344d4aa91c848447002d1b297884d52060d274b2
Submitter: Zuul
Branch: stable/queens

commit 344d4aa91c848447002d1b297884d52060d274b2
Author: Xiaoyang Zhang <email address hidden>
Date: Mon Nov 14 17:40:59 2016 +0800

    Fix share-service VM restart problem

    The /etc/mtab file may have mount information such as 'nfsd'
    that if copied to /etc/fstab will cause the share server to
    hang when rebooted.

    Update /etc/fstab with exactly the newly mounted or unmounted
    shares rather than simply overwriting /etc/fstab with /etc/mtab.

    Change-Id: I67602bae1f928769d768008deca7bd0f2fef1ac2
    Close-Bug: #1639662
    (cherry picked from commit b76934770b0f42950cad35a3e2a5a8e060462332)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/573480

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/pike)

Reviewed: https://review.openstack.org/573480
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=7b306c0676c90a484230afb5fff6f1d02ec3a285
Submitter: Zuul
Branch: stable/pike

commit 7b306c0676c90a484230afb5fff6f1d02ec3a285
Author: Xiaoyang Zhang <email address hidden>
Date: Mon Nov 14 17:40:59 2016 +0800

    Fix share-service VM restart problem

    The /etc/mtab file may have mount information such as 'nfsd'
    that if copied to /etc/fstab will cause the share server to
    hang when rebooted.

    Update /etc/fstab with exactly the newly mounted or unmounted
    shares rather than simply overwriting /etc/fstab with /etc/mtab.

    Change-Id: I67602bae1f928769d768008deca7bd0f2fef1ac2
    Close-Bug: #1639662
    (cherry picked from commit b76934770b0f42950cad35a3e2a5a8e060462332)
    (cherry picked from commit 344d4aa91c848447002d1b297884d52060d274b2)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/587672

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/ocata)

Reviewed: https://review.openstack.org/587672
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=891d2deeee82a2f4e391e687d1dd1cfbb32da838
Submitter: Zuul
Branch: stable/ocata

commit 891d2deeee82a2f4e391e687d1dd1cfbb32da838
Author: Xiaoyang Zhang <email address hidden>
Date: Mon Nov 14 17:40:59 2016 +0800

    Fix share-service VM restart problem

    The /etc/mtab file may have mount information such as 'nfsd'
    that if copied to /etc/fstab will cause the share server to
    hang when rebooted.

    Update /etc/fstab with exactly the newly mounted or unmounted
    shares rather than simply overwriting /etc/fstab with /etc/mtab.

    Change-Id: I67602bae1f928769d768008deca7bd0f2fef1ac2
    Close-Bug: #1639662
    (cherry picked from commit b76934770b0f42950cad35a3e2a5a8e060462332)
    (cherry picked from commit 344d4aa91c848447002d1b297884d52060d274b2)
    (cherry picked from commit 7b306c0676c90a484230afb5fff6f1d02ec3a285)

tags: added: in-stable-ocata
Revision history for this message
Jason Grosso (jgrosso) wrote :

Hey Xiaoyang I was wondering if there is anything left to do on this defect?

Changed in manila:
importance: Undecided → Medium
Vida Haririan (vhariria)
Changed in manila:
status: In Progress → Fix Released
Revision history for this message
Vida Haririan (vhariria) wrote :
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.