Bug 2077765 - (release-4.8) Gather namespace names with overlapping UID ranges
Summary: (release-4.8) Gather namespace names with overlapping UID ranges
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Insights Operator
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.8.z
Assignee: Tomas Remes
QA Contact: Joao Fula
URL:
Whiteboard:
Depends On: 2076903
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-22 07:53 UTC by Tomas Remes
Modified: 2022-05-25 21:48 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2076903
Environment:
Last Closed: 2022-05-25 21:48:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift insights-operator pull 612 0 None open [release-4.8] Bug 2077765: Gather namespace names with overlapping UI… 2022-04-25 11:08:37 UTC
Red Hat Product Errata RHSA-2022:2272 0 None None None 2022-05-25 21:48:38 UTC

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


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