After upgrading to from Ambari 184.108.40.206 to Ambari 220.127.116.11 i can no longer edit Capacity Scheduler queues. I receive:
Warning! You do not have permission to edit the Capacity Scheduler configuration. Contact your Cluster administrator.
However, my user is Amabri Administrator user:
Even the Audit log confirms this:
If i login with the default local Admin user - it works and i can change queues configuration. The only thing that has changed is the Ambari version due to the upgrade. No changes were made to my user which is and always have been an Administrator user.
Any ideas ?
Thank you for replying
LDAP is working - i'm able to login using my LDAP user & password and so do other users from LDAP. Also - after the upgrade, as part of the post-upgrade i have ran the ambari ldap setup again (as required in the upgrade manual) and restarted Ambari + All of the services of the cluster + the Ambari host itself - several times.
I'm pretty sure the Capacity Scheduler permissions query against the Ambari API is incorrect. The change that introduced this is here:
The related JIRA: https://issues.apache.org/jira/browse/AMBARI-16866
The correct url:
This returns the list of privileges.
The incorrect url:
This returns a blank page.
I am having the same issues after upgrading from Ambari 18.104.22.168 to Ambari 22.214.171.124: The CapSched View is effectively unusable, as no Admin can access it anymore.
@Roland Simonis Do you use LDAP for Ambari authentication ? If so, go to /etc/ambari-server/conf
edit ambari.properties Add: authentication.ldap.username.forceLowercase=true Ssave Restart Ambari Check CapSched again.