eksupgrade would complete the pre-flight checks and complete the upgrade. Currently running the eksupgrade from sitepackages to avoid my local issue#48
Cluster is upgraded to version 1.22 from 1.21
Addons are updated
Image type is identified and then it fails with the message below in Current behavior
Current Behaviour
The upgrade path fails on
INFO:eksupgrade.starter:The Image Type Detected = Amazon Linux 2
ERROR:eksupgrade.starter:Exception encountered in main method - Error: Invalid format specifier
Code snippet
eksupgrade eksup-cluster 1.22 us-east-1
Possible Solution
No response
Steps to Reproduce
Created a cluster using eksctl eksctl create cluster -f cluster.yaml. Config yaml below
2. Installed eksupgrade using `pip install eksupgrade`
3. Ran the eksupgrade command to upgrade the version to 1.22 `eksupgrade eksup-cluster 1.22 us-east-1`
Amazon EKS upgrade version
0.4.0
Python runtime version
3.9
Packaging format used
PyPi
Debugging logs
DEBUG:botocore.hooks:Event needs-retry.ec2.DescribeImages: calling handler <botocore.retryhandler.RetryHandler object at 0x1051279d0>
DEBUG:botocore.retryhandler:No retry needed.
INFO:eksupgrade.starter:The Image Type Detected = Amazon Linux 2
DEBUG:botocore.hooks:Event choose-service-name: calling handler <function handle_service_name_alias at 0x102aee4c0>
DEBUG:botocore.loaders:Loading JSON file: /Users/***/.pyenv/versions/3.9.10/lib/python3.9/site-packages/botocore/data/ssm/2014-11-06/service-2.json.gz
DEBUG:botocore.loaders:Loading JSON file: /Users/***/.pyenv/versions/3.9.10/lib/python3.9/site-packages/botocore/data/ssm/2014-11-06/endpoint-rule-set-1.json.gz
DEBUG:botocore.hooks:Event creating-client-class.ssm: calling handler <function add_generate_presigned_url at 0x102a47550>
DEBUG:botocore.endpoint:Setting ssm timeout as (60, 60)
DEBUG:botocore.client:Registering retry handlers for service: ssm
DEBUG:botocore.hooks:Event choose-service-name: calling handler <function handle_service_name_alias at 0x102aee4c0>
DEBUG:botocore.hooks:Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x102a47550>
DEBUG:botocore.endpoint:Setting ec2 timeout as (60, 60)
DEBUG:botocore.client:Registering retry handlers for service: ec2
ERROR:eksupgrade.starter:Exception encountered in main method - Error: Invalid format specifier
Expected Behaviour
eksupgrade
would complete the pre-flight checks and complete the upgrade. Currently running the eksupgrade from sitepackages to avoid my local issue#481.22
from1.21
Current Behaviour
The upgrade path fails on
Code snippet
Possible Solution
No response
Steps to Reproduce
eksctl create cluster -f cluster.yaml
. Config yaml belowmetadata: name: eksup-cluster region: us-east-1 version: "1.21" nodeGroups:
Amazon EKS upgrade version
0.4.0
Python runtime version
3.9
Packaging format used
PyPi
Debugging logs