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

On upgrade to 0.8.0, all sessions reverted to "default" profile #202

Closed
Nuru opened this issue Dec 1, 2021 · 6 comments
Closed

On upgrade to 0.8.0, all sessions reverted to "default" profile #202

Nuru opened this issue Dec 1, 2021 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@Nuru
Copy link

Nuru commented Dec 1, 2021

Describe the bug
Upgrading Leapp caused all configured sessions to change to "default" named profile.

Expected behavior
Upgrade should not change existing settings

Desktop (please complete the following information):

  • OS: [e.g. iOS] macOS 10.1
  • OS Version [e.g. 22] 10.15.7
  • Leapp Version [e.g. 0.2.5] 0.7.4 upgraded to 0.8.0
@Nuru Nuru added the bug Something isn't working label Dec 1, 2021
@urz9999
Copy link
Contributor

urz9999 commented Dec 2, 2021

Thanks, @Nuru will check the retro compatibility service to address this issue.

@urz9999 urz9999 self-assigned this Dec 2, 2021
@Nuru
Copy link
Author

Nuru commented Dec 12, 2021

Please let me know if you have a workaround for this. I'm stuck on version 0.7.4 until then.

@hustvedt
Copy link

hustvedt commented Feb 5, 2022

This also occurs when logging out of the integration, which is a frequent thing due to #220 .

@ericvilla
Copy link
Contributor

ericvilla commented Feb 6, 2022

@hustvedt thank you for reporting. These are two different issues.

  • With 0.8.1 version we solved a bug that caused every AWS SSO session to be reset upon sync (automatic provisioning of AWS SSO sessions based on online access information).

  • As described here, we've to introduce a try/catch logic that triggers browser login if the access token is expired. Currently token expiration is stored in Leapp configuration, but this information is no more coherent as soon as you log out from the AWS Console (during an AWS SSO session)

We need to find a way, for those who are in stuck in a lower version than 0.8.0, to migrate the configuration without resetting the underlying sessions

@ericvilla
Copy link
Contributor

In this commit we fixed the bug that reset sessions' profiles to default.
We are going to introduce this fix in the next release!

@ericvilla
Copy link
Contributor

As stated in the last comment, this issue is solved. I'm going to close this issue as a new v0.10.0 version of Leapp is available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants