[Solved] Unable to add realm

tortue

New Member
May 25, 2018
1
0
1
47
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!