Bug 1831820 - [rfe] allow cinder/glance/nova/etc to pass NFS mount arguments to os-brick
Summary: [rfe] allow cinder/glance/nova/etc to pass NFS mount arguments to os-brick
Keywords:
Status: NEW
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 13.0 (Queens)
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
: ---
Assignee: OSP Team
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-05 17:18 UTC by David Hill
Modified: 2023-07-29 08:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-05 18:02:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-6111 0 None None None 2022-07-26 13:30:47 UTC
Red Hat Knowledge Base (Solution) 5050691 0 None None None 2020-05-05 17:20:38 UTC

Description David Hill 2020-05-05 17:18:01 UTC
Description of problem:
cinder-backup container doesn't have the source NFS share mounted so backing up such volumes fails.   When we manually mount the source NFS folder in the cinder-backup container, backups starts working.

Version-Release number of selected component (if applicable):
All

How reproducible:
This environment.

Steps to Reproduce:
1. Try to backup a cinder volume
2.
3.

Actual results:
Fails

Expected results:
Succeeds

Additional info:

Comment 4 David Hill 2020-05-05 19:39:58 UTC
I'm wondering if brick shouldn't use those mount options if they are defined ?

[username@hostname cinder]$ cat cinder.conf  | grep mount_options
#backup_mount_options = <None>
backup_mount_options=vers=4.0,rw,sync,nosharecache,context=system_u:object_r:cinder_var_lib_t:s0
#nfs_mount_options = <None>
#nas_mount_options = <None>
#vzstorage_mount_options = <None>
#zfssa_nfs_mount_options =
nfs_mount_options=vers=4.0,rw,sync,nosharecache,context=system_u:object_r:cinder_var_lib_t:s0

Comment 5 Alan Bishop 2020-05-05 19:50:59 UTC
os-brick is a library that is used by several services, e.g. nova-compute, that won't have access to cinder.conf.

I think what we need is an RFE that allows cinder to somehow "pass" NFS options to os-brick whenever clients (nova-compute, glance-api, cinder-backup) need to connect to a volume. This is a good topic for the cinder squad to discuss.

Comment 6 Conrado Gusso Bozza 2022-07-26 13:27:06 UTC
Hi,

Are there any plan to implement this feature? Just to have an update after +1y.


Note You need to log in before you can comment on or make changes to this bug.