-
Notifications
You must be signed in to change notification settings - Fork 28
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
[Issue]failed to find agent identity #30
Comments
Hi, @edfenergy-robcarter , thank you for sharing the logs. Which version of the library do you use? You can check by typing You're probably using the old version, because some of the issues like #13 has been already fixed. If you are on the newest version which is v1.11.0, please share which instance type and which SageMaker Studio kernel you're running this on. |
Hi Ivan, The instance type is ml.t3.medium and the kernel is named as Python 3, (specifically python 3.8.16). We're constrained to python 3.8 for now because of other dependencies. |
Hi, @edfenergy-robcarter , thanks for confirming. Which SageMaker Studio image do you use this kernel in? Is it your custom-build image? SageMaker SSH Helper has been tested and proved to be working in a number of standard kernels and images: https://github.com/aws-samples/sagemaker-ssh-helper/blob/v1.11.0/tests/test_ide.py#L18_L78 I would appreciate if you can try it in one of these images, e.g. |
Hi, I have tried in the image you recommend, we got this error:
I am assuming this means we need to change our permissions, I will consult DevOps. |
Hi, @edfenergy-robcarter , you are right that you need additional IAM/SSM setup from your admins. This requirement is mentioned in the section Getting started, which refers to the page Setting up your AWS account with IAM and SSM configuration with the necessary configuration. Let me know if you managed to make it work? |
I will close the issue for now. |
Trying to set this up to connect our local VSCode instances to our sagemaker studio instances for better developer experience.
When running:
%%sh
sm-ssh-ide ssm-agent
We receive the following error:
The text was updated successfully, but these errors were encountered: