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)
Reviewed: https:/ /review. openstack. org/572023 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=344d4aa91c8 48447002d1b2978 84d52060d274b2
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 344d4aa91c84844 7002d1b297884d5 2060d274b2
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: I67602bae1f9287 69d768008deca7b d0f2fef1ac2 50cad35a3e2a5a8 e060462332)
Close-Bug: #1639662
(cherry picked from commit b76934770b0f429