Bug 1925049

Summary: ssh to nodes does not taint/annotate node
Product: OpenShift Container Platform Reporter: Alexander Klein <alklein>
Component: RHCOSAssignee: Micah Abbott <miabbott>
Status: CLOSED DUPLICATE QA Contact: Michael Nguyen <mnguyen>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.7CC: bbreard, behoward, imcleod, jligon, miabbott, nstielau, psundara, wvoesch
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-07 20:30:33 UTC 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:
Bug Depends On:    
Bug Blocks: 1903544    

Description Alexander Klein 2021-02-04 10:05:48 UTC
Description of problem:

ssh to node does not give any taint or annotation.

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

ocp 4.7.0-0.nightly-s390x-2021-01-22-032543
rhcos 47.83.202101211840-0

Steps to Reproduce:
1. ssh to node
2. check annotations (https://access.redhat.com/solutions/3801571)

Actual results:

# oc get nodes -o jsonpath='{range .items[*]}{.metadata.name}{" - "}{.metadata.annotations.machineconfiguration\.openshift\.io/ssh}{"\n"}{end}'
master-01 - 
master-02 - 
master-03 - 
worker-1 - 
worker-2 - 


Expected results:

the nodes that were accesed by ssh currently or anytime in the past should show 
nodename - accessed

Additional info:
there was an older bz https://bugzilla.redhat.com/show_bug.cgi?id=1714659 which says this was turned of entirely but the current documentation mentions the nodes getting annotations.

Comment 1 Alexander Klein 2021-02-04 10:20:08 UTC
verified on older versions this was working

Comment 2 Micah Abbott 2021-02-04 17:43:55 UTC
@Ben this looks like a dupe of https://bugzilla.redhat.com/show_bug.cgi?id=1842603

Comment 3 Prashanth Sundararaman 2021-02-04 18:56:22 UTC
(In reply to Micah Abbott from comment #2)
> @Ben this looks like a dupe of
> https://bugzilla.redhat.com/show_bug.cgi?id=1842603

Yup, restarting the MCD fixes it to show the annotation.

Comment 4 Micah Abbott 2021-02-07 20:30:33 UTC
Per comment #3, marking as duplicate.

*** This bug has been marked as a duplicate of bug 1842603 ***