Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

[BUG] btp setup automator script is not interactive therefore login not possible #380

Closed
2 tasks done
laRose00 opened this issue Jan 5, 2023 · 1 comment · Fixed by #382
Closed
2 tasks done
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation
Milestone

Comments

@laRose00
Copy link

laRose00 commented Jan 5, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Are you using the latest docker image for BTPSA?

  • I'm using the latest docker image for BTPSA.

Which area is mainly impacted

Documentation

Current Behavior

While running the btp setup automator script I'm asked do a cf login but the script doesn't stop to let me input my credentials. Instead it just keeps going and then throws an error that I'm not logged in.

logonError

Expected Behavior

The script should stop and let me put in my credentials.

Steps To Reproduce

start the btp-setup-automator script (https://github.com/SAP-samples/btp-setup-automator/blob/main/docs/README.md#scripting-btp-setup-automator) - I'm using sso

Logs and configuration files available?

run the btp setup automator script

Anything else?

I fixed the issue by adding an "-i" in the command to make it interactive:
docker exec -i --workdir "/home/user" "test01" ./btpsa \

I also had to add an "./" before the btpsa, otherwise it would not work.

@laRose00 laRose00 added the bug Something isn't working label Jan 5, 2023
@lechnerc77 lechnerc77 added the documentation Improvements or additions to documentation label Jan 9, 2023
@lechnerc77 lechnerc77 moved this to In Progress in btpsa planning Jan 9, 2023
@lechnerc77 lechnerc77 added this to the to be planned milestone Jan 9, 2023
@lechnerc77 lechnerc77 self-assigned this Jan 9, 2023
@lechnerc77
Copy link
Member

Thanks for raising the issue. The documentation is adjusted (see PR #382)
The fix is available in the dev branch and will be available in main with the next release

@github-project-automation github-project-automation bot moved this from In Progress to Done in btpsa planning Jan 9, 2023
@lechnerc77 lechnerc77 linked a pull request Jan 9, 2023 that will close this issue
@lechnerc77 lechnerc77 modified the milestones: to be planned, btpsa-v1.2.3 Jan 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants