When the generic driver extends or shrinks a share it disables access
to the share by removing its export. Currently it uses the command
``exportfs -u local_path`` to do so, but this fails with current nfs
packages.
Fix the error by calling ``exportfs -u host:local_path`` instead.
Reviewed: https:/ /review. openstack. org/411631 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=7a7c182e35f d2f1142903a22c0 c599c9425ae807
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7a7c182e35fd2f1 142903a22c0c599 c9425ae807
Author: wlhc <email address hidden>
Date: Wed Dec 14 21:05:49 2016 -0500
Fix ``exportfs -u`` usage in generic driver.
When the generic driver extends or shrinks a share it disables access
to the share by removing its export. Currently it uses the command
``exportfs -u local_path`` to do so, but this fails with current nfs
packages.
Fix the error by calling ``exportfs -u host:local_path`` instead.
Change-Id: Ic489a1607bf829 64bf2859e89b3da 1f572436d17
Closes-Bug: #1649782