-
Notifications
You must be signed in to change notification settings - Fork 161
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
Specifying instances by index ambiguous #605
Comments
I couldn't reproduce this. I tested with bosh CLI version
With Also looking into the bosh CLI code here and in bosh director here it should try to match the value after |
This is director version 276.1.1. I'm having trouble reproducing it myself but I saw it with my own eyes on a colleague's machine. Will see if I can get them to reproduce it. |
Neither of us can reproduce this now so I'm going to close this issue. But I'm still suspicious that there may be an issue here. |
Using bosh-cli 7.1.0 on macos 12 (against BOSH 276.1.0), we noticed something that caught us off guard, and doesn't seem to be noted/acknowledged anywhere.
Because bosh-cli both attempts to support specifying instances by-index and by-guid-prefix, trying to e.g ssh in to router instance number 29 via
bosh ssh router/29
will actually log you in to any instance you might happen to have with a guid beginning29...
in preference to the instance with index 29. It's not at all obvious when this has happened and could lead to some serious mistakes.The text was updated successfully, but these errors were encountered: