Updated the cluster-* and config-* commands that have the potential for impact. They now check if the user's deployed Arkime Cluster is compatible with the currently CLI version, using the AWS AIO Version number.
I did not update the vpc-* commands with this check because that will require a backwards incompatible change (we need to embed the AWS AIO Version in an existing Param Store entry). I'll address those changes after this PR is resolved.
(.venv) chelma@3c22fba4e266 aws-aio % ./manage_arkime.py --region us-east-1 cluster-create --name MyClusterV2
2024-01-24 07:32:52 - Debug-level logs save to file: /Users/chelma/workspace/Arkime/aws-aio/manage_arkime/manage_arkime.log
2024-01-24 07:32:52 - Using AWS Credential Profile: None
2024-01-24 07:32:52 - Using AWS Region: us-east-1
2024-01-24 07:32:53 - The AWS AIO versions of your CLI (2) and Cluster (1) do not match. This is likely to result in unexpected behavior. Please change your CLI to the latest minor version under the m
ajor version (2). Check out the following README section for more details: https://github.com/arkime/aws-aio#aws-aio-version-mismatch
2024-01-24 07:32:53 - Aborting...
(.venv) chelma@3c22fba4e266 aws-aio % git ls-remote --tags git@github.com:arkime/aws-aio.git
dfef816c31674390202b9048290037686118eec4 refs/tags/v0.1.1
a1aec22ecec9825d7d3920a2ad94800f595f9fa4 refs/tags/v1.0.0
1c851b5cd553fa2d65a68239b9f89eee4bbb2b34 refs/tags/v2.0.0
e679663ab65488802881cc7c7171c45903449a1d refs/tags/v2.1.0
6c70ed45a4d59eae69d8ce0a85c284ad56fc2fa2 refs/tags/v2.2.0
License
I confirm that this contribution is made under an Apache 2.0 license and that I have the authority necessary to make this contribution on behalf of its copyright owner.
Description
cluster-*
andconfig-*
commands that have the potential for impact. They now check if the user's deployed Arkime Cluster is compatible with the currently CLI version, using the AWS AIO Version number.vpc-*
commands with this check because that will require a backwards incompatible change (we need to embed the AWS AIO Version in an existing Param Store entry). I'll address those changes after this PR is resolved.Tasks
Testing
License
I confirm that this contribution is made under an Apache 2.0 license and that I have the authority necessary to make this contribution on behalf of its copyright owner.