generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
Hi, during connection to the SageMaker Notebook I have met an error of parsing "--filters" flag.
Here are some environment details for the client machine, because the error is encountered on the client:
System: Ubuntu 24.04.1 LTS
Python: 3.11.11
AWSCLI: 2.23.6
Session Manager Plugin: 1.2.694
Sm-ssh-helper: 2.2.1
I am running the Notebook server and see this notebook in the online status given by the command sm-ssh list .notebook.sagemaker. But then while connecting to it by the command sm-ssh connect Trial.notebook.sagemaker i got an error with a stacktrace:
Error parsing parameter '--filters': Expected: ',', received: ''' for input:
Key=InstanceIds,Values=mi-00325a983b971929f','mi-0fade2f049603a9a1','mi-0b8a67b5311876a9a','mi-085b5fdc7aa23d5cb','mi-05f216c7073d21e60','mi-00545bee3400d0456']manager.py:41INFOGotfinalSSMinstanceIDs:['mi-00325a983b971929f','mi-0fade2f049603a9a1','mi-0b8a67b5311876a9a','mi-085b5fdc7aa23d5cb','mi-05f216c7073d21e60','mi-00545bee3400d0456']manager.py:51mi-00325a983b971929f
^
Traceback (most recent call last):
File "/home/alex/.pyenv/versions/3.11.11/bin/sm-ssh", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/alex/.pyenv/versions/3.11.11/lib/python3.11/site-packages/sagemaker_ssh_helper/sm_ssh.py", line 225, in main
SageMakerSecureShellHelper().connect_ports(args.fqdn, extra_args)
File "/home/alex/.pyenv/versions/3.11.11/lib/python3.11/site-packages/sagemaker_ssh_helper/sm_ssh.py", line 195, in connect_ports
subprocess.check_call(arguments + extra_args, env=os.environ, bufsize=0)
File "/home/alex/.pyenv/versions/3.11.11/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['bash', 'sm-local-ssh-notebook', 'connect-notebook', 'Trial']' returned non-zero exit status 252.
Could you please help me to resolve this issue?
Metadata
Metadata
Assignees
Labels
No labels