-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Update-users failure (Could not find or access 'configs/...
)
#14726
Comments
5 tasks
As a temporary fix, checking commit |
Can confirm that this is still completely broken. Tests? |
Fixed by #14727 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When trying to update users by calling
./algo update-users
, the CLI throws an error.I am on MacOS M1, the remote server is a custom Ubuntu 22.04
To Reproduce
Steps to reproduce the behavior:
./algo update-users
1
, corresponding to the server to be updatedExpected behavior
The process continues and updates users on the selected server
Additional context
Observing the behavior, I see that the options for the server-selection step includes the IP repeated 2 times. This string is then used as the server identifier when fetching the server config. The bug comes from this.
In short, let's say the server IP is
x.x.x.x
. There is a directoryconfig/x.x.x.x
. The CLI gives the following choice:(notice how the IP is repeated twice). When the user selects the option 1, instead of just using the ip, the CLI uses the full string, i.e. the IP repeated twice. The CLI now looks for the server config at
config/x.x.x.xx.x.x.x/
instead ofconfig/x.x.x.x
The line causing this is line 30 from
users.yml
:'{{ config.IP_subject_alt_name }}'
I tracked down the introduction of this behavior in the PR #14718 from may 5 2024, so about 1 month old.
Full log
The text was updated successfully, but these errors were encountered: