[lustre-discuss] Apache via NFS via Lustre
John Dubinski
dubinski at cita.utoronto.ca
Wed Mar 9 04:40:59 PST 2016
Dear Martin,
Thanks, we do use ldap for our users and the mds is configured appropriately so I was confused that things seem to work normally for users but not apache.
You and Philippe have sorted me out.
Thanks for your help.
-John
> On Mar 9, 2016, at 4:13 AM, Martin Hecht <hecht at hlrs.de> wrote:
>
> I think, if the apache uid and gid needs to be known on the mds, this
> depends on the question if you have configured mdt.group_upcall or not.
> If not, the group memberships are checked on the lustre client against
> its /etc/group (or ldap if that's configured).
>
> On 03/09/2016 06:59 AM, Philippe Weill wrote:
>> We use this on our lustre 2.5.3 but now your apache user uid and gid
>> have to be known on mds server
>>
>> Le 09/03/2016 03:05, John Dubinski a écrit :
>>> Hi,
>>>
>>> I'm wondering if there are any developments on this front.
>>>
>>> We also NFS export some lustre filesystems from a client to an apache
>>> server so that users can link to their large datasets on their
>>> personal websites. This has been working for years for us using
>>> lustre 1.8.
>>>
>>> We recently built some new systems using lustre 2.5.3 and now this
>>> functionality is broken in the same way that Eric describes -
>>> symlinks to directories and files on the lustre filesystem are denied
>>> by the apache server. This doesn't seem to be due to our apache
>>> configuration since symlinks to files and directories in ordinary
>>> (non-lustre) nfs-mounted filesystems work. Also the nfs-exported
>>> filesystems behave normally - you can copy files in, as well as
>>> create and delete files as you wish.
>>> The only problems arise in relation to apache access.
>>>
>>> We've also noticed that whenever the forbidden access messages comes
>>> up in the browser /var/log/messages on the lustre client spits out
>>> this error consistently:
>>>
>>> Mar 8 19:53:14 nuexport02 kernel: LustreError:
>>> 2626:0:(mdc_locks.c:918:mdc_enqueue()) ldlm_cli_enqueue: -13
>>>
>>> This appears to be related to file locking looking at the code...
>>>
>>> We have also built a test apache server with lustre client modules
>>> that directly mount our lustre filesystems. symlinks to the
>>> directories in the lustre fs within /var/www/html similarly return
>>> the forbidden access message with the above mdc_locks error.
>>>
>>> We're running CentOS 6 with lustre 2.5.3 on the client and server
>>> side. To repeat, direct client mounts of the lustre filesystems
>>> behave normally as well as nfs-exported mounts. Only apache access
>>> to symlinks of files on a lustre filesystem give trouble.
>>>
>>> Are there any special nfs export flags that can be set to help in
>>> /etc/exports?
>>>
>>> Thanks for any help or insight!
>>>
>>> Regards,
>>>
>>> John
>>>
>>> ----------
>>> John Dubinski
>>> Canadian Institute for Theoretical Astrophysics
>>> University of Toronto phone: 416-946-7290
>>> 60 St. George St. fax: 416-946-7287
>>> Toronto, Ontario e-mail: dubinski at cita.utoronto.ca
>>> CANADA M5S 3H8 url: www.cita.utoronto.ca
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> lustre-discuss mailing list
>>> lustre-discuss at lists.lustre.org
>>> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>>>
>>
>
>
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
More information about the lustre-discuss
mailing list