Lothiraldan / saltpad

A gui and cli to manage saltstack deployments
Other
659 stars 146 forks source link

Unable to login to WebUI [api_acl] Authentication not checked for user test from IP 172.16.13.205 #197

Open thatsk opened 6 years ago

thatsk commented 6 years ago

When i try to login i am getting api_acl error not sure what should be added in config. I need to access web ui from all minions so that i can execute any commands

thatsk commented 6 years ago

[23/Apr/2018:13:33:05] ENGINE Started monitor thread 'Autoreloader'. [INFO ] [23/Apr/2018:13:33:05] ENGINE Started monitor thread 'Autoreloader'. [23/Apr/2018:13:33:05] ENGINE Serving on http://0.0.0.0:9191 [INFO ] [23/Apr/2018:13:33:05] ENGINE Serving on http://0.0.0.0:9191 [23/Apr/2018:13:33:05] ENGINE Bus STARTED [INFO ] [23/Apr/2018:13:33:05] ENGINE Bus STARTED [INFO ] [api_acl] Authentication not checked for user test from IP 172.16.13.205 [DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/master', 'salt_master', 'tcp://127.0.0.1:4506', 'clear') 172.16.13.205 - - [23/Apr/2018:13:33:17] "POST /login HTTP/1.1" 401 753 "http://salt/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0" [INFO ] 172.16.13.205 - - [23/Apr/2018:13:33:17] "POST /login HTTP/1.1" 401 753 "http://salt/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"

thatsk commented 6 years ago

<VirtualHost *:80> ServerName salt ServerAdmin admin@linux.com DocumentRoot "/var/www/html/saltpad/" ErrorLog "/var/log/httpd/saltpad-error.log" CustomLog "/var/log/httpd/saltpad-access.log" combined

<Directory "/var/www/html/saltpad/"> DirectoryIndex index.html index.php Options FollowSymLinks AllowOverride All Require all granted