Skip to content

kubernetes-tramp just hangs when trying to load file in container. #4

Open
@rthille

Description

@rthille

I can complete the pod name, and see that Emacs gets a shell (sh) in the container, but after I hit return after typing out the filename '/kubectl:integrator-5d8cd58975-v75t7:/root/setup.py' and hitting return, Emacs just hangs. I see in the container that a new 'bash' process is created, but that seems to be the entire command line (as shown by cat /proc/<pid>/cmdline). It seems from looking at the code that there should be arguments "-i" "-c" passed to the bash shell, but they aren't getting there? Or perhaps Tramp is trying to invoke some command in the container that isn't present (though our containers aren't really stripped down).

I've tried turning up the tramp debug level and viewing the trace log but nothing there jumped out at me.

Any suggestions on what to try next?

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