FS#79534 - [aws-cli-v2] aws eks update-kubeconfig command broken

Attached to Project: Arch Linux
Opened by Leif Warner (pdxleif) - Friday, 01 September 2023, 19:47 GMT
Last edited by Chih-Hsuan Yen (yan12125) - Saturday, 02 September 2023, 04:54 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Chih-Hsuan Yen (yan12125)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: aws-cli-v2 package 2.13.13-1
Running the command:
aws eks update-kubeconfig
gives:
preferences is wrong type: <class 'dict'> (Should be <class 'collections.OrderedDict'>)

(e.g. running `aws eks update-kubeconfig --region us-west-2 --name foo-cluster`)

Searching for this error led me to this upstream issue, which was apparently caused by the OS package having the wrong version of a python dependency present?
This task depends upon

Closed by  Chih-Hsuan Yen (yan12125)
Saturday, 02 September 2023, 04:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  aws-cli-v2 2.13.15-1
Comment by Leif Warner (pdxleif) - Friday, 01 September 2023, 19:51 GMT
If I remove the ~/.kube/config file, I can sucessfully run the command. However, if I try to add a second cluster, I get the above error.
This works fine for other people on other OSes.
Comment by Toolybird (Toolybird) - Friday, 01 September 2023, 22:22 GMT
> led me to this upstream issue

Missing? I assume you mean [1] and/or [2]

[1] https://github.com/aws/aws-cli/issues/7966
[2] https://github.com/aws/aws-cli/issues/8018
Comment by Chih-Hsuan Yen (yan12125) - Saturday, 02 September 2023, 03:33 GMT
Could you test if extra-testing/aws-cli-v2 2.13.15-1 works for you?
Comment by Leif Warner (pdxleif) - Saturday, 02 September 2023, 04:27 GMT
Sorry, https://github.com/aws/aws-cli/issues/8018 was the upstream issue.
And extra-testing/aws-cli-v2 2.13.15-1 fixes the issue for me - I can just use that. Thanks!
Comment by Chih-Hsuan Yen (yan12125) - Saturday, 02 September 2023, 04:54 GMT
Thanks for testing! I moved the fixed version to [extra].

Loading...