-
Notifications
You must be signed in to change notification settings - Fork 293
[BUG] can't install repository-s3 plugin in OpenSearch 1.2.3 #1406
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
Comments
It affects other plugins as well. |
This is blocking me from upgrading to 1.2.3, with the whole log4j debacle I'd rather patch asap. :) |
We have identify the issue now: The issue being that opensearch core is checking Core requires 2spaces
However as long as you have one space the check locally with
Since we are using a new workflow for 1.2.3 signing and checksum generation, we are using 1space this time, thus cause opensearch-plugin to refuse to install the plugin by failing checksum verification. @CEHENKLE @dblock I have not checked the code in details, but seems like it is related to this: We will fix this with another deploy for sha512 only. Thanks. |
…#1406 Signed-off-by: Peter Zhu <[email protected]>
More digging, this line specifically cause the issue:
When having 1 space between checksumsha and filename, it will return an array of length 1, with the 1st entry being the entire input, not splitting correctly.
It is exactly matching the space for 2 times in the regex |
We have fixed the issue now, sorry about inconvinience @arnitolog @uncycler @ict-one-nl and thanks for reporting this bug to us.
|
Will leave this issue open until more discussion on this. Thanks. |
Great thanks! |
thanks a lot! |
Fix confirmed |
@peterzhuamazon The 2 spaces is/was by design. From the comment:
It's a convention like any other, and introducing a change is just going to make things more difficult, and this issue is now resolved, so I am going to close it. The tools need to generate something compatible with the existing code. However, if you feel strongly that this 2 spaces business is a bad idea, open an issue in OpenSearch and we can discuss it there? |
I am having the issue to install repository-s3 plugin in OpenSearch 1.2.3 with the following error:
[opensearch@65554c8b2581 ~]$ bin/opensearch-plugin install repository-s3 --batch
-> Installing repository-s3
-> Downloading repository-s3 from opensearch
-> Failed installing repository-s3
-> Rolling back repository-s3
-> Rolled back repository-s3
ERROR: Invalid checksum file at https://artifacts.opensearch.org/releases/plugins/repository-s3/1.2.3/repository-s3-1.2.3.zip.sha512
The text was updated successfully, but these errors were encountered: