I run into trouble when I try to alter the string in src/pybind/mgr/dashboard/openapi.yaml. I have included the output of the error message in the tracker issue that was raised by Anthony: https://tracker.ceph.com/issues/70043#note-1 Zac On Wednesday, February 19th, 2025 at 6:49 PM, Zac Dover <zac.dover@xxxxxxxxx> wrote: > I’ll do it when I get back to my office. This should be taken care of within three hours. > > Zac > > Sent from [Proton Mail](https://proton.me/mail/home) for iOS > > On Wed, Feb 19, 2025 at 18:38, Nizamudeen A <[nia@xxxxxxxxxx](mailto:On Wed, Feb 19, 2025 at 18:38, Nizamudeen A <<a href=)> wrote: > >> Hi, >> >> A similar one was already fixed in the latest and squid: >> https://github.com/ceph/ceph/pull/58951/, and this one was missed out on >> it. Will try to see and get it fixed in squid as well. >> And thanks to @Anthony D'Atri <anthony.datri@xxxxxxxxx>, we now have a >> tracker for it: https://tracker.ceph.com/issues/70043 >> >> Regards, >> Nizam >> >> On Wed, Feb 19, 2025 at 10:21 AM Kalló Attila <kallonak@xxxxxxxxx> wrote: >> >>> Hi, >>> >>> Could you please change this doc >>> https://docs.ceph.com/en/quincy/mgr/ceph_api/#post--api-cluster-user-export >>> as it doesn't accept simple strings, but a json array. >>> i.e. I think this: >>> >>> { >>> > "entities": "string" >>> > } >>> >>> should be replaced by something like: >>> > >>> > { >>> > "entities": ["string"] >>> > } >>> >>> >>> Here is an example cURL query just in case: >>> > >>> > ~$ curl -kL -H "Content-Type: application/json" -H "Accept: >>> application/vnd.ceph.api.v1.0+json" -H "Authorization: Bearer $TOKEN" >>> "${URL}api/cluster/user/export" -X POST -d '{ "entities": ["client.admin"] >>> }' |jq -r . >>> > % Total % Received % Xferd Average Speed Time Time Time >>> Current >>> > Dload Upload Total Spent Left >>> Speed >>> > 100 206 100 174 100 32 6960 1280 --:--:-- --:--:-- >>> --:--:-- 9809 >>> > [client.admin] >>> > key = ****KEY**** >>> > caps mds = "allow *" >>> > caps mgr = "allow *" >>> > caps mon = "allow *" >>> > caps osd = "allow *" >>> >>> >>> Regards, >>> Attila >>> _______________________________________________ >>> ceph-users mailing list -- ceph-users@xxxxxxx >>> To unsubscribe send an email to ceph-users-leave@xxxxxxx >>> >>> >> _______________________________________________ >> ceph-users mailing list -- ceph-users@xxxxxxx >> To unsubscribe send an email to ceph-users-leave@xxxxxxx _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx