SX after host-install, bash: /usr/bin/kubectl: No such file or directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Jessica Castelino |
Bug Description
Brief Description
-----------------
During SX patch testing, after in-service patch host-install,
kubectl CMD failed by -bash: /usr/bin/kubectl: No such file or directory
Severity
--------
Major
Steps to Reproduce
------------------
Apply and install an in-service patch
then run kubectl cmd
Expected Behavior
------------------
kubectl cmd no error
Actual Behavior
----------------
kubectl cmd working
Reproducibility
---------------
100% reproducible
System Configuration
-------
One node system
Lab-name: R750_007
Branch/Pull Time/Commit
-------
2022-10-27_18-01-10
Last Pass
---------
N/A
Timestamp/Logs
--------------
[2022-10-29 19:16:03,919] 351 DEBUG MainThread ssh.send :: Send 'kubectl get pod --all-namespaces --field-
[2022-10-29 19:16:03,969] 548 DEBUG MainThread ssh.exec_cmd:: Expecting [.@controller-[01] .(keystone_
[2022-10-29 19:16:03,973] 473 DEBUG MainThread ssh.expect :: Output:
-bash: /usr/bin/kubectl: No such file or directory
[sysadmin@
[2022-10-29 19:16:03,973] 351 DEBUG MainThread ssh.send :: Send 'echo $?'
[2022-10-29 19:16:04,025] 473 DEBUG MainThread ssh.expect :: Output:
127
Test Activity
-------------
Regression Testing
Changed in starlingx: | |
assignee: | nobody → Jessica Castelino (jcasteli) |
Changed in starlingx: | |
status: | New → In Progress |
tags: | added: stx.8.0 stx.debian stx.update |
Changed in starlingx: | |
importance: | Undecided → Medium |
Reviewed: https:/ /review. opendev. org/c/starlingx /update/ +/863710 /opendev. org/starlingx/ update/ commit/ c1f907a9cf5262a b80a520751113d3 2e5e094d1f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit c1f907a9cf5262a b80a520751113d3 2e5e094d1f
Author: Jessica Castelino <email address hidden>
Date: Fri Nov 4 20:13:18 2022 +0000
Mount kubernetes bind mounts after in-service patch is installed
This commit adds some additional steps within sw-patch host-install unversioned.
to support the current implementation of kubernetes-
Test Plan: 771cf1f3620a83f fa37ea832ca
[PASS] Run kubectl after installing in-service patch
Closes-Bug: 1995973
Signed-off-by: Jessica Castelino <email address hidden>
Change-Id: Ic89da6cd2e1cbd