Bug 2077765

Summary: (release-4.8) Gather namespace names with overlapping UID ranges
Product: OpenShift Container Platform Reporter: Tomas Remes <tremes>
Component: Insights OperatorAssignee: Tomas Remes <tremes>
Status: CLOSED ERRATA QA Contact: Joao Fula <jfula>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.8CC: inecas, jfula, mklika, tremes
Target Milestone: ---   
Target Release: 4.8.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2076903 Environment:
Last Closed: 2022-05-25 21:48:21 UTC Type: ---
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: 2076903    
Bug Blocks:    

Comment 2 Joao Fula 2022-04-27 11:01:34 UTC
Verified on 4.8.0-0.nightly-2022-04-26-191618.

Steps to reproduce:
1. Create two new namespaces called test-1 and test-2
2. Edit the YAML with the following:

apiVersion: v1
kind: Namespace
metadata:
  annotations:
    openshift.io/description: ""
    openshift.io/display-name: ""
    openshift.io/requester: kube:admin
    openshift.io/sa.scc.uid-range: 1000670000/10000
  labels:
    kubernetes.io/metadata.name: test-1
  name: test-1
spec:

apiVersion: v1
kind: Namespace
metadata:
  annotations:
    openshift.io/description: ""
    openshift.io/display-name: ""
    openshift.io/requester: kube:admin
    openshift.io/sa.scc.uid-range: 1000675000/10000
  labels:
    kubernetes.io/metadata.name: test-2
  name: test-2
spec:

3. Restart insights operator
4. Download archive
5. Check config/namespaces_with_overlapping_uids.json


There should be an array with the names of the overlapping namespaces (test-1, test-2)

Comment 6 errata-xmlrpc 2022-05-25 21:48:21 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 (Moderate: OpenShift Container Platform 4.8.41 bug fix and security update), 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/RHSA-2022:2272