juju add-k8s --eks broken

Bug #1923561 reported by Yang Kelvin Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Yang Kelvin Liu

Bug Description

kelvinliu@ubuntu:~|⇒ juju add-k8s --eks eks
Enter region: ap-southeast-2

Available Clusters In Ap-Southeast-2

Select cluster: k1
Invalid cluster: "k1"

Select cluster: k1
Invalid cluster: "k1"

Select cluster: 1
Invalid cluster: "1"

This issue was caused by breaking changes on newer eksctl
Old:
eksctl get cluster -o json --region ap-southeast-2
[
    {
        "name": "nw-deploy-kubeflow-1272",
        "region": "ap-southeast-2",
    },
    {
        "name": "k1",
        "region": "ap-southeast-2",
    }
]

New:
eksctl get cluster -o json --region ap-southeast-2
[
    {
        "metadata": {
            "name": "nw-deploy-kubeflow-1272",
            "region": "ap-southeast-2"
        },
        "status": {
            "eksctlCreated": "True"
        }
    },
    {
        "metadata": {
            "name": "k1",
            "region": "ap-southeast-2"
        },
        "status": {
            "eksctlCreated": "True"
        }
    }
]

Changed in juju:
importance: Undecided → High
status: New → Triaged
status: Triaged → In Progress
assignee: nobody → Yang Kelvin Liu (kelvin.liu)
milestone: none → 2.8.12
milestone: 2.8.12 → 2.8.11
Revision history for this message
Yang Kelvin Liu (kelvin.liu) wrote :

https://github.com/juju/juju/pull/12867 was landed to 2.8 to fix this

Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.