-
Notifications
You must be signed in to change notification settings - Fork 420
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
Session Manager plugin prompts to update even though it's on the latest version #4627
Comments
We're seeing this issue when running Multiple team members are also able to replicate it on MacOS locally. |
The source code for session-manager-plugin v1.2.458.0 is not available, making it impossible to debug: aws/session-manager-plugin#64 |
I'm having what seems to be a similar issue where CodePipelines are failing during the TestCommands phase across all my projects using Copilot -- get a session-manager-plugin error |
This is the issue for me -- @JakeBrown have you figured out a way to automate commands when this error pops up? |
Hello folks! Sorry for the late response 🙇 I have changed this line over here to set the command Stderr instead of Stdout something like this seems to fix the issue (will not prompt to update). Even though running below command to check for local ssm manager plugin version
is fetching version 1.2.458.0, but I could not find the release of the version I will update soon once I find out whether if there is any bug introduced in session-manager-plugin version |
Just ran into this same issue in our Copilot pipeline testing stage. Running a second
Was working fine yesterday with version 1.2.398.0. |
This is the same full error I'm getting. Unfortunately quite urgent because my multi-stage pipelines can't get past the first stage. |
A quick work around could be to run |
@KollaAdithya I'm running with --yes=true so that my commands respond yes to everything (command that is run has manual prompts), am I misunderstanding something? I'll try this out. |
@KollaAdithya when running with --yes=false my pipeline still fails and i get this:
|
Hi@wstewarttennes ! Regarding
|
We have had success in our pipeline when we have multiple If we
|
Thanks! The |
@kruhly, @FraserThompson |
Hello folks! After successfully reverting the changes and releasing a new version, we expect that there will be no further errors going forward. We will keep you informed about the progress of the change reversion. |
@kruhly suggestion (#4627 (comment)) is working for us. Also, we are considering pinning the session-manager-plugin version to avoid any such issues moving forward. I think we can do this by manually installing it using yum (eg https://github.com/aws/copilot-cli/blob/2e10abfd2b388519a206fe79b64e2b7161626718/internal/pkg/exec/ssm_plugin_install_latest_binary_linux.go) and then setting |
Working for me too, thank you @kruhly , wouldn't have thought to do that |
Hello folks! |
I am running Copilot in a Docker container on top of the official aws-cli Docker image.
When I try to do svc exec I get:
It's already at the latest version, so this feels like a bug (also the strange formatting of the message).
Also, if possible it would be great if there was an option to skip these update checks because it makes automated exec calls harder to do if there's a chance it might prompt for user input.
This is my Dockerfile in case it helps:
The text was updated successfully, but these errors were encountered: