Comment 5 for bug 1911695

Revision history for this message
Elias Wimmer (elias-wimmer) wrote : Re: [Bug 1911695] Re: generic backend resize share failure when no access rule is set

Hi Goutham,

sorry but it was quite stressful in February, coming week is much better!
I would really appreciate if someone could help me with a development setup.

Best wishes,
Elias

On Fri, Mar 12, 2021 at 8:55 PM Goutham Pacha Ravi <
<email address hidden>> wrote:

> Hi Elias,
>
> Any update wrt this bug? Can we help with anything? :)
> Next week (Mar 15-19th) is a Manila Bug Squash week; so if you're looking
> to get this fixed, this is a great time to pursue it. [1] We'll have pretty
> good reviewer bandwidth during the week, and folks will be available to
> help and answer questions on IRC.
>
>
> [1]
> http://lists.openstack.org/pipermail/openstack-discuss/2021-March/020920.html
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1911695
>
> Title:
> generic backend resize share failure when no access rule is set
>
> Status in OpenStack Shared File Systems Service (Manila):
> New
>
> 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_concurrency.processutils.ProcessExecutionError: Unexpected error while
> running command.
> Command: sudo exportfs -u
> <world>:/shares/share-ba2425b9-19b1-411b-bc1f-9c7681328de2
> Exit code: 1
> Stdout: ''
> Stderr: 'bash: world: No such file or directory\n'
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager Traceback (most
> recent call last):
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager File
> "/usr/lib/python3.6/site-packages/manila/share/manager.py", line 3823, in
> extend_share
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager
> share_instance, new_size, share_server=share_server)
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager File
> "/usr/lib/python3.6/site-packages/manila/share/drivers/generic.py", line
> 117, in wrap
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager return f(self,
> context, *args, **kwargs)
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager File
> "/usr/lib/python3.6/site-packages/manila/share/drivers/generic.py", line
> 656, in extend_share
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager
> helper.disable_access_for_maintenance(server_details, share['name'])
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager File
> "/usr/lib/python3.6/site-packages/manila/share/drivers/helpers.py", line
> 179, in wrapped_func
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager return
> source_func(self, *args, **kwargs)
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager File
> "/usr/lib/python3.6/site-packages/oslo_concurrency/lockutils.py", line 328,
> in inner
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager return
> f(*args, **kwargs)
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager File
> "/usr/lib/python3.6/site-packages/manila/share/drivers/helpers.py", line
> 177, in source_func
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager return f(self,
> *args, **kwargs)
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager File
> "/usr/lib/python3.6/site-packages/manila/share/drivers/helpers.py", line
> 387, in disable_access_for_maintenance
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager
> ':'.join((host, local_path))])
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager File
> "/usr/lib/python3.6/site-packages/manila/share/drivers/generic.py", line
> 171, in _ssh_exec
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager
> check_exit_code=check_exit_code)
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager File
> "/usr/lib/python3.6/site-packages/oslo_concurrency/processutils.py", line
> 570, in ssh_execute
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager
> cmd=sanitized_cmd)
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager
> oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while
> running command.
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager Command: sudo
> exportfs -u <world>:/shares/share-ba2425b9-19b1-411b-bc1f-9c7681328de2
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager Exit code: 1
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager Stdout: ''
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager Stderr: 'bash:
> world: No such file or directory\n'
> 2020-12-15 15:29:00.666 29 ERROR manila.share.manager
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/manila/+bug/1911695/+subscriptions
>