Some kubectl commands failing when using remote-cli
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Stefan Dinescu |
Bug Description
Brief Description
-----------------
After having a working remote-cli (kubectl client), creating a pod from a remote machine, and attach/get into the pod using kubectl exec. the shell hangs.
Severity
--------
Major
Steps to Reproduce
------------------
from the remote-cli run follwoing comnmand to get into a running pod:
alias kc='kubectl -n kube-system'
create the pods
$kc apply -f /wd/testcases/
networkattachme
networkattachme
pod/pod0 created
pod/pod1 created
#get the pod0
$kc get pods
NAME READY STATUS RESTARTS AGE
..
pod0 1/1 Running 0 19s
pod1 1/1 Running 0 19s
..
attach to the pod0
$ kc exec -it pod0 bash
[root@pod0 /]#
...hangs here
Note: the same command works and does not hang if the user issues:
platform_shell
Expected Behavior
------------------
The kubectl commands should work without hanging when using remote-client
The remote cli code should recognize an environment variable and indicate whether a shell is required for the command or not
Actual Behavior
----------------
Some kubectl commands hang
Reproducibility
---------------
Reproducible
System Configuration
-------
All configs
Branch/Pull Time/Commit
-------
Loads built as of Oct 9/2019
Last Pass
---------
first time this specific command was tested
Timestamp/Logs
--------------
n/a
Test Activity
-------------
Regression
Changed in starlingx: | |
assignee: | nobody → Stefan Dinescu (stefandinescu) |
stx.3.0 / medium priority - issue w/ remote cli