kubectl cmd failed by container not found "calicoctl"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Incomplete
|
Low
|
Peng Peng |
Bug Description
Brief Description
-----------------
create copy the calicoctl IP pool config file to pod calicoctl failed by error: unable to upgrade connection: container not found ("calicoctl")
Severity
--------
Major
Steps to Reproduce
------------------
Create calicoctl service account calicoctl;
create calicoctl cluster role calicoctl;
create calicoctl cluster role binding calicoctl;
create calicoctl pod calicoctl;
create calicoctl IP pool config file;
create copy the calicoctl IP pool config file to pod calicoctl failed
TC-name: WCP_112
Expected Behavior
------------------
kubectl copy successfully
Actual Behavior
----------------
kubectl copy failed
Reproducibility
---------------
Intermittent first time saw this issue, rerun pass.
System Configuration
-------
One node system
Lab-name: WCP_112
Branch/Pull Time/Commit
-------
2020-08-13_20-00-00
Last Pass
---------
2020-08-11_20-00-00
Timestamp/Logs
--------------
[2020-08-14 06:06:17,613] 314 DEBUG MainThread ssh.send :: Send 'kubectl cp /tmp/calicoctl-
[2020-08-14 06:06:17,838] 436 DEBUG MainThread ssh.expect :: Output:
error: unable to upgrade connection: container not found ("calicoctl")
controller-0:~$
Test Activity
-------------
Sanity
log added at /files. starlingx. kube.cengn. ca/launchpad/ 1891676
https:/