Skip to content

User is directed to username/password screen when trying to access UI quickly after a docker install of rancher #28798

@sowmyav27

Description

@sowmyav27

What kind of request is this (question/bug/enhancement/feature request): bug

Steps to reproduce (least amount of steps as possible):

  • Do a docker install of rancher - command - docker run -d --privileged --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher:master-head
  • When you try to access rancher URL - user is redirected to username/password screen (in about few seconds after the docker command has finished)

Screen Shot 2020-09-08 at 1 30 33 PM

  • When user tries to login it throws the above error ^^^
  • On a refresh of the page, user is navigated to "Welcome to rancher" UI with 2 options Set Default View to choose and to set new password.

Expected Result:
User should not see username/password screen before the user sets the password for the rancher server.

Other details that may be helpful:
Might not always reproduce.

Environment information

  • Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master-head - commit id: 4fbd822c
  • Installation option (single install/HA): single

Metadata

Metadata

Assignees

Labels

kind/bug-qaIssues that have not yet hit a real release. Bugs introduced by a new feature or enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions