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)
Reviewed: https:/ /review. openstack. org/573480 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=7b306c0676c 90a484230afb5ff f6f1d02ec3a285
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 7b306c0676c90a4 84230afb5fff6f1 d02ec3a285
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) 7002d1b297884d5 2060d274b2)
Close-Bug: #1639662
(cherry picked from commit b76934770b0f429
(cherry picked from commit 344d4aa91c84844