Bug 2023417 - Username annotation error when byoh Windows have uppercase hostname
Summary: Username annotation error when byoh Windows have uppercase hostname
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Windows Containers
Version: 4.8
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.8.z
Assignee: elango siva
QA Contact: gaoshang
URL:
Whiteboard:
Depends On: 2016712
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-15 16:29 UTC by OpenShift BugZilla Robot
Modified: 2021-12-08 22:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Encrypted username is getting displayed with extra tags causes this error Consequence: Encrypted username doesn't display it correctly Fix: Removed extra tags before displaying the encrypted username Result: Encrypted username gets displayed correctly
Clone Of:
Environment:
Last Closed: 2021-12-08 22:07:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift windows-machine-config-operator pull 809 0 None open [release-4.8] Bug 2023417: Display only encrypted string in node annotations 2021-11-17 13:59:16 UTC
Red Hat Product Errata RHBA-2021:4710 0 None None None 2021-12-08 22:07:49 UTC

Comment 1 gaoshang 2021-11-22 11:46:44 UTC
This bug has been verified on OCP 4.8 and passed, thanks.

After configured Windows instance, BYOH username encrypted as:

# oc get node ip-10-0-152-101.us-east-2.compute.internal -oyaml
apiVersion: v1
kind: Node
metadata:
  annotations:
    k8s.ovn.org/hybrid-overlay-distributed-router-gateway-mac: 00-15-5D-3A-5D-1F
    k8s.ovn.org/hybrid-overlay-node-subnet: 10.132.3.0/24
    machine.openshift.io/machine: openshift-machine-api/sgao-48-nlt75-windows-byoh-us-east-2a-ggs2g
    volumes.kubernetes.io/controller-managed-attach-detach: "true"
    windowsmachineconfig.openshift.io/pub-key-hash: 1df2c166b1c401180523270e9cf6bc2cd2724b9279ea65668a3b95298525a0f5
    windowsmachineconfig.openshift.io/username: wx4EBwMIp4CKNKbnqfhgmcyYUl+euASXhnZcwAtt+yjS5gE/SD3XXEpGRKP6FMY6<wmcoMarker>3OT+3sg18hri9bEu+a++S9KBlA99QYeuz9bD+bPv7wEUuufFGSH3uzv5ZNtDNcji<wmcoMarker>BnvgxgA=<wmcoMarker>=+E2v
    windowsmachineconfig.openshift.io/version: 3.1.1+cdbcfb7

Comment 4 errata-xmlrpc 2021-12-08 22:07:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Windows Container Support for Red Hat OpenShift 3.1.1 product release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4710


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