Re: Windows Client on 16.2.+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 15, 2021 at 11:55 PM Robert W. Eckert <rob@xxxxxxxxxxxxxxx> wrote:
>
> I would like to directly mount cephfs from the windows client, and keep getting the error below.
>
>
> PS C:\Program Files\Ceph\bin> .\ceph-dokan.exe -l x
> 2021-07-15T17:41:30.365Eastern Daylight Time 4 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2]
> 2021-07-15T17:41:30.365Eastern Daylight Time 5 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2]
> 2021-07-15T17:41:30.365Eastern Daylight Time 6 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2]
> failed to fetch mon config (--no-mon-config to skip)
>
> My Ceph.conf on the windows client looks like
>
> # minimal ceph.conf for fe3a7cb0-69ca-11eb-8d45-c86000d08867
> [global]
>         fsid = fe3a7cb0-69ca-11eb-8d45-c86000d08867
>         mon_host = [v2:192.168.2.142:3300/0,v1:192.168.2.142:6789/0] [v2:192.168.2.141:3300/0,v1:192.168.2.141:6789/0] [v2:192.168.2.199:3300/0,v1:192.168.2.199:6789/0]
>                 auth_cluster_required = cephx
>                 auth_service_required = cephx
>                 auth_client_required = cephx
> [client.admin]
>         keyring = c:/programdata/ceph/ceph.client.admin.keyring
>
> With the same global settings, I can mount ceph on a Ubuntu WSL2 VM, and even access it from windows, but would rather have the direct connection.
>
> This appears to be an issue with the ceph client for windows found from https://docs.ceph.com/en/latest/install/windows-install/  because the RBD command gives a similar error
>
> PS C:\Program Files\Ceph\bin> rbd ls
> 2021-07-15T17:53:51.244Eastern Daylight Time 5 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2]
> 2021-07-15T17:53:51.244Eastern Daylight Time 3 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2]
> 2021-07-15T17:53:51.245Eastern Daylight Time 4 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2]

Hi Robert,

I suspect this has to do with the fix for [1].  What is
auth_allow_insecure_global_id_reclaim set to on the monitors?
The Windows build appears to be missing that fix and therefore
gets treated as an insecure client.

[1] https://docs.ceph.com/en/latest/security/CVE-2021-20288/

Thanks,

                Ilya
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux