Bug 2169328 - [OCP4.13 , BareMetal], There is no option to login to node via "oc debug" command
Summary: [OCP4.13 , BareMetal], There is no option to login to node via "oc debug" com...
Keywords:
Status: NEW
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Accounts and Billing
Version: 4.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: yasun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-13 10:20 UTC by Oded
Modified: 2023-02-13 10:32 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Oded 2023-02-13 10:20:57 UTC
Description of problem:
The command "oc debug node/argo006.ceph.redhat.com return" return  "Error from server (NotFound): namespaces "baremetal-debug-ns" not found"

Version-Release number of selected component (if applicable):

Platfortm: BareMetal
$ oc version 
Client Version: 4.12.0-ec.0
Kustomize Version: v4.5.4
Server Version: 4.13.0-0.nightly-2023-02-12-024338
Kubernetes Version: v1.26.0+149fe52

How reproducible:


Steps to Reproduce:
1.Get Nodes
[odedviner@fedora ~]$ oc get nodes
NAME                      STATUS   ROLES                  AGE   VERSION
argo002.ceph.redhat.com   Ready    control-plane,master   10h   v1.26.0+149fe52
argo003.ceph.redhat.com   Ready    control-plane,master   10h   v1.26.0+149fe52
argo004.ceph.redhat.com   Ready    control-plane,master   10h   v1.26.0+149fe52
argo005.ceph.redhat.com   Ready    worker                 10h   v1.26.0+149fe52
argo006.ceph.redhat.com   Ready    worker                 10h   v1.26.0+149fe52
argo007.ceph.redhat.com   Ready    worker                 10h   v1.26.0+149fe52

2.login to node [Failed]
[odedviner@fedora ~]$ oc debug node/argo006.ceph.redhat.com
Error from server (NotFound): namespaces "baremetal-debug-ns" not found
3.

Actual results:
"oc debug node/argo006.ceph.redhat.com" return "Error from server (NotFound): namespaces "baremetal-debug-ns" not found"

Expected results:
$ oc debug node/argo005.ceph.redhat.com
Starting pod/argo005cephredhatcom-debug ...
To use host binaries, run `chroot /host`
Pod IP: 10.8.128.205
If you don't see a command prompt, try pressing enter.
sh-4.4# chroot /host


Additional info:

http://rhsqe-repo.lab.eng.blr.redhat.com/OCS/ocs-qe-bugs/bz-2169328/


Note You need to log in before you can comment on or make changes to this bug.