generic backend resize share failure when no access rule is set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
Elias Wimmer |
Bug Description
Description
===========
Resizing a generic backend share, which has no access rules defined fails.
Steps to reproduce
==================
A chronological list of steps which will help reproduce the issue you hit:
* resize a share with generic backend with no access rules defined
Environment
===========
Openstack Release Train
Kolla ansible
Neutron with OpenVSwitch
Log
==============
Extend share failed.: oslo_concurrenc
Command: sudo exportfs -u <world>
Exit code: 1
Stdout: ''
Stderr: 'bash: world: No such file or directory\n'
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
2020-12-15 15:29:00.666 29 ERROR manila.
Changed in manila: | |
milestone: | none → wallaby-2 |
Changed in manila: | |
milestone: | wallaby-3 → wallaby-rc1 |
Changed in manila: | |
status: | New → Confirmed |
tags: | added: wallaby-rc-bugsquash |
Changed in manila: | |
status: | In Progress → Fix Released |
The problem is that in "sudo exportfs -u <world> :/shares/ share-. .." <world> is not quoted and thus bash interprets it as a pipe.