Skip to content

odo preference view -o json takes a long time if cluster is inaccessible #7205

Open
@datho7561

Description

/kind bug

What versions of software are you using?

Operating System: Fedora 39

Output of odo version:

===============================================
⚠  unable to fetch the cluster server version
===============================================
odo v3.15.0 (10b5e8a8f)

Podman Client: 4.9.0

How did you run odo exactly?

Set my ~/.kube/config to point to my crc cluster, which is stopped. Then I run : odo preference view -o json

Actual behavior

Takes around 40 seconds

Expected behavior

Takes < 1 second

Any logs, error output, etc?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions