Workspace does not save unused profile names
Opened this issue · 3 comments
Description:
Workspace does not save profile name of SSO Integration in Leapp Pro. Before upgrading to Pro the SSO entry profile names were persistently saved locally.
- Login into Workspace (Leapp pro)
- Login into an AWS SSO integration
- Right click on an entry of this active SSO integration
- Select Change -> Named Profile
- Set a name
- Click Manage Workspaces and Sync Workspace
- Login into the same AWS SSO integration -> profile name is "default" again
This happens also when you close the app after step 5 and restart it instead of doing step 6.
Details:
Leapp Version | 0.20.0 |
---|---|
SsmPluginVersion | 1.2.398.0 |
Platform | darwin |
Awscli | aws-cli/2.13.19 Python/3.11.5 Darwin/22.6.0 source/arm64 prompt/off |
Thank you for reporting, Leapp Pro should be persisting all data including profile names for AWS SSO. We'll look into this to fix it.
@andreacavagna01 Update: I've just encountered that I can reproduce this without a SSO Integration like this:
I think as soon there is an unused profile on exit, it will be deleted.
Scenario 1:
- create a profile and don't assign it to a session
- exit leapp
- restart leapp
- the profile is gone
Scenario 2:
- (for an existing or new profile) remove it from all sessions
- exit leapp
- restart leapp
- the profile is gone
Details:
Leapp Version | 0.23.0 |
---|---|
SsmPluginVersion | 1.2.398.0 |
Platform | darwin |
Awscli | aws-cli/2.15.1 Python/3.11.6 Darwin/23.1.0 source/arm64 prompt/off |
Thanks for the issue. We have faced this issue, and we are switching workspace and configurations in 2 different files to be modified separately. Also, having a way to remember sessions to not delete the previously saved information will be added soon!