[Solved] Unable to add realm

tortue

New Member
May 25, 2018
1
0
1
49
Hi there,
I'm unable to add a realm on my cluster. I tried with pvesh and the api:

root@node1:~# pvesh set /access/domains/test -bind_dn uid=proxmox,cn=users,dc=my-domain,dc=com -base_dn cn=users,dc=my-domain,dc=com
update auth server failed: error with cfs lock 'file-domains_cfg': domain 'test' does not exist

curl -v -k --cookie "$(<cookie)" --header "$(<csrftoken)" -X PUT https://node1.pa1.my-domain.com:8006/api2/json/access/domains/test
(...)
< HTTP/1.1 500 update auth server failed: error with cfs lock 'file-domains_cfg': domain 'test' does not exist
(...)
{
"data": null
}

I was able to add the new realm with the web interface.

Virtual Environment 5.2-1
No subscription repo
Latest updates


EDIT: Pebkac
 
Last edited: