Skip to content

Pod Not Found #605

@AeroNotix

Description

@AeroNotix

Bug Description

When trying to start mirrord exec, tool claims the pod is not found

Steps to Reproduce

 ./target/debug/mirrord exec ping some-service --pod-name some-pod-name -n some-namespace
[WARNING]: DEPRECATED - `--pod-name` is deprecated, consider using `--target instead.
Deprecated since: [28/09/2022] | Scheduled removal: [28/10/2022]
✓ layer initialized
x agent initializing...
thread '<unnamed>' panicked at 'failed to create agent in k8s: mirrord-layer: Kube failed with error `ApiError: pods "some-pod-name" not found: NotFound (ErrorResponse { status: "Failure", message: "pods \"some-pod-name\" not found", reason: "NotFound", code: 404 })`!', mirrord-layer/src/connection.rs:84:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
zsh: IOT instruction (core dumped)  ./target/debug/mirrord exec ping some-service  --pod-name some-pod-name  -n dv-menv0

Backtrace

No response

Relevant Logs

No response

Your operating system and version

Linux

Local process

ping

Local process version

No response

Additional Info

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions