Skip to content

Fix in unfriendly error #1

@orsenthil

Description

@orsenthil
Create Cluster Failed with an Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
Error: Custom { kind: Other, error: "Error" }
Setting AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG=true
E0824 02:15:44.378693    3318 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"http://localhost:8080/api?timeout=32s\": dial tcp 127.0.0.1:8080: connect: connection refused"
E0824 02:15:44.380090    3318 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"http://localhost:8080/api?timeout=32s\": dial tcp 127.0.0.1:8080: connect: connection refused"
E0824 02:15:44.381455    3318 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"http://localhost:8080/api?timeout=32s\": dial tcp 127.0.0.1:8080: connect: connection refused"
E0824 02:15:44.382719    3318 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"http://localhost:8080/api?timeout=32s\": dial tcp 127.0.0.1:8080: connect: connection refused"
E0824 02:15:44.383994    3318 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"http://localhost:8080/api?timeout=32s\": dial tcp 127.0.0.1:8080: connect: connection refused"
The connection to the server localhost:8080 was refused - did you specify the right host or port?
thread 'main' panicked at src/main.rs:72:35:
called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: "Error" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[ble: exit 101]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions