sodafoundation / dashboard

SODA Dashboard to provide a GUI based experience of SODA Release capabilities
MIT License
38 stars 62 forks source link

Cant Login to Dashboard #698

Open sho6000 opened 1 year ago

sho6000 commented 1 year ago

Issue/Feature Description: Cant login to the Dashbaord UI in localhost. OS: CentOS 9

Why this issue to fixed / feature is needed(give scenarios or use cases): Cant login with the credentials in the dashboard after running sudo -E env "PATH=$PATH" ansible-playbook site.yml -i local.hosts -vvv --tags dashboard , Soda Dashboard: https://{hostip}:8088

Other Notes / Environment Information: (Please give the env information, log link or any useful information for this issue) Note did not have any error after running the above command.

anvithks commented 1 year ago

Please check if the authchecker docker container is up and running. use the following command docker ps -a | grep auth. If the opensds-authchecker docker container is Exited or not running then you will need to reinstall.

If the opensds-authchecker docker container is running then try the next steps.

  1. Open the login screen of the dashboard.
  2. Keep the developer toolbar open (in chrome you can press F12 to open it or right click on the page and click on the inspect toolbar then switch to the network tab)
  3. enter the credentials and then click on login.
  4. check the network toolbar for the v3/identity API call and check the response
  5. Take a screenshot of the same and share it here.
sho6000 commented 1 year ago

Error: Authcheckers will be installed using keystone,in which I am getting error>

Keystone won't install, getting some error while installation. Am also sharing the error to the keystone (TASK [auth-installer : install keystone with the docker]) after running sudo -E env "PATH=$PATH" ansible-playbook site.yml -i local.hosts --tags keystone

  1. Delfin was installed successfully
  2. Dashboard code was executed successfully
  3. Running on CentOS-9
anvithks commented 1 year ago

The dashboard needs the Keystone service for authentication. Without the keystone service you will not be able to login. could you try reinstalling everything with the -vvv option and paste the output for the Keystone installation step.

sudo -E env "PATH=$PATH" ansible-playbook site.yml -i local.hosts -vvv

sho6000 commented 1 year ago

image (1)

anvithks commented 1 year ago

Please ensure that the prerequisites to install SODA are met. https://docs.sodafoundation.io/soda-gettingstarted/installation-using-ansible/

- SODA installation is tested on Ubuntu 18.04& Ubuntu 20.04
- Python 3.6 or above should be installed
- If Ansible, Docker & Go are not installed in the OS, script install_dependencies.sh will install it.
- If Ansible, Docker & Go are installed ensure that the version as listed below.
    - Docker: Latest (Verfied on 20.10.21)
    - Ansible: Latest (Verfied on 5.10.0, Ansible Core 2.13.5)
    - Go: go1.17.9
nimrafathima commented 1 year ago

Dashboard login error