Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWX 17.0.1: have to log in twice #9197

Closed
lemmy04 opened this issue Feb 1, 2021 · 7 comments
Closed

AWX 17.0.1: have to log in twice #9197

lemmy04 opened this issue Feb 1, 2021 · 7 comments

Comments

@lemmy04
Copy link

lemmy04 commented Feb 1, 2021

ISSUE TYPE
  • Bug Report
SUMMARY

Sometimes I have to log in twice to AWX

ENVIRONMENT
  • AWX version: 17.0.1
  • AWX install method: docker on linux
  • Ansible version: 2.9.17
  • Operating System: openSUSE Leap 15.2
  • Web Browser: Firefox on linux and windows.
STEPS TO REPRODUCE

Sometimes when I log in to AWX I get a popup that i can't read because it disappears too fast, and are redirected to the login page and have to log in again.

EXPECTED RESULTS

I would expect that logging in on AWX would actually log me in.

ACTUAL RESULTS

I log in to AWX, then I get a popup that i can't read because it disappears too fast, and are redirected to the login page and have to log in again.

ADDITIONAL INFORMATION

just guessing: could this be happening because the previous session timed out or the browser was just closed, instead of properly logging out of AWX?

@awxbot awxbot added the type:bug label Feb 1, 2021
@jakemcdermott
Copy link
Contributor

I've observed this as well. There's a scenario where we need to clear some session state after it expires.

@lemmy04
Copy link
Author

lemmy04 commented Mar 10, 2021

this still exists in 17.1.0 - and since standalone docker deployments aren't supported after (from what i understand from the devel repo) I won't be able to update any further...

@ryanpetrello
Copy link
Contributor

ryanpetrello commented Mar 10, 2021

@lemmy04,

Just a heads up, you can still run AWX on Docker (though you'll have to build your own images), but the install method is changing in the next major release. See:

https://github.com/ansible/awx/tree/devel/tools/docker-compose
https://github.com/ansible/awx/blob/devel/tools/docker-compose/docs/data_migration.md

@lemmy04
Copy link
Author

lemmy04 commented Mar 10, 2021

So I won't be able to update to an actual RELEASE anymore, unless I use locally built images, which is NOT an official release, or I build myself a local kubernetes cluster?

@ryanpetrello
Copy link
Contributor

ryanpetrello commented Mar 10, 2021

@lemmy04,

Our releases are not published images, though historically we've provided these as a nicety to the community (there are several third-party distributions of AWX that are not container image-based). Our official releases are source distributions which have been and will continue to be published here:

https://github.com/ansible/awx/releases

Starting in 18.0.0, you can still deploy these in Docker + docker-compose using the instructions at https://github.com/ansible/awx/tree/devel/tools/docker-compose#overview

There's even a one-line make target for building the Docker image locally:

~ make docker-compose-build

@lemmy04
Copy link
Author

lemmy04 commented Apr 9, 2021

Just for the record: I'm having this issue in AWX 19.0.0, too.

@tiagodread
Copy link
Contributor

This is being fixed by #9908

softwarefactory-project-zuul bot added a commit that referenced this issue Jun 2, 2021
Add Session context and redirects

SUMMARY
Issues:
#8272 #9197 #8155 #9311

When user is logged out due to inactivity, redirect to the Login Page with a warning alert stating that their session expired.
When a user logs in on one tab, redirect from login page to home on the other tabs.
Clear session state when it expires and/or when a user logs out.
Redirect users to direct link destination after authentication

@AlexSCorey is looking at possibly rolling #9915 (SSO login redirect override URL is not working) into this PR
ISSUE TYPE


Feature Pull Request

COMPONENT NAME


UI

Reviewed-by: Kersom <None>
Reviewed-by: Jake McDermott <yo@jakemcdermott.me>
Reviewed-by: Keith Grant <keithjgrant@gmail.com>
Reviewed-by: Alex Corey <Alex.swansboro@gmail.com>
Reviewed-by: Marliana Lara <marliana.lara@gmail.com>
Reviewed-by: Tiago Góes <tiago.goes2009@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants