You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eksupgrade would complete the pre-flight checks and complete the upgrade.
The site-packages/eksupgrade does include the following files
Current Behaviour
Upgrade pre-flight check fails with the following errors.
INFO:eksupgrade.src.preflight_module:Available IPs for Subnet verified
INFO:botocore.credentials:Found credentials in environment variables.
ERROR:eksupgrade.src.preflight_module:Some error occurred during preflight check process - Error: [Errno 2] No such file or directory: 'eksupgrade/src/S3Files/cluster_roles.json'
ERROR:eksupgrade.src.preflight_module:Pre flight unsuccessful because of the following errors: ["Some error occurred during preflight check process [Errno 2] No such file or directory: 'eksupgrade/src/S3Files/cluster_roles.json'"]
ERROR:eksupgrade.starter:Pre-flight check for cluster eksup-cluster failed!
Code snippet
eksupgradeeksup-cluster1.22us-east-1
Possible Solution
No response
Steps to Reproduce
Created a cluster using eksctl eksctl create cluster -f cluster.yaml. Config yaml below
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
INFO:eksupgrade.src.preflight_module:AvailableIPsforSubnetverifiedINFO:botocore.credentials:Foundcredentialsinenvironmentvariables.
ERROR:eksupgrade.src.preflight_module:Someerroroccurredduringpreflightcheckprocess-Error: [Errno2] Nosuchfileordirectory: 'eksupgrade/src/S3Files/cluster_roles.json'ERROR:eksupgrade.src.preflight_module:Preflightunsuccessfulbecauseofthefollowingerrors: ["Some error occurred during preflight check process [Errno 2] No such file or directory: 'eksupgrade/src/S3Files/cluster_roles.json'"]
ERROR:eksupgrade.starter:Pre-flightcheckforclustereksup-clusterfailed!
The text was updated successfully, but these errors were encountered:
Is this a path issue as when I call eksupgrade from the sitepackages, it detects the files and moves to the next set of steps. python version is handled by pyenv.
lib/python3.9/site-packages via 🐍 v3.9.10
❯ eksupgrade eksup-cluster 1.22 us-east-1
INFO:botocore.credentials:Found credentials in environment variables.
INFO:botocore.credentials:Found credentials in environment variables.
INFO:eksupgrade.src.preflight_module:Verifying User IAM Role....
INFO:eksupgrade.src.preflight_module:IAM role for user verified
INFO:botocore.credentials:Found credentials in environment variables.
INFO:eksupgrade.src.preflight_module:Fetching cluster details .....
INFO:eksupgrade.src.preflight_module:Cluster control plane version 1.21
INFO:eksupgrade.src.preflight_module:Cluster with verison 1.21 can be updated to target version 1.22
Expected Behaviour
eksupgrade
would complete the pre-flight checks and complete the upgrade.The
site-packages/eksupgrade
does include the following filesCurrent Behaviour
Upgrade pre-flight check fails with the following errors.
Code snippet
Possible Solution
No response
Steps to Reproduce
eksctl create cluster -f cluster.yaml
. Config yaml belowpip install eksupgrade
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
The text was updated successfully, but these errors were encountered: