Bug 2169328

Summary: [OCP4.13 , BareMetal], There is no option to login to node via "oc debug" command
Product: OpenShift Online Reporter: Oded <oviner>
Component: Accounts and BillingAssignee: Abhishek Gupta <abhgupta>
Status: NEW --- QA Contact: yasun
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.x   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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/