Bug 1753411 - [IPI][BAREMETAL] namespace not created for kni static pods
Summary: [IPI][BAREMETAL] namespace not created for kni static pods
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Machine Config Operator
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.2.0
Assignee: Yossi Boaron
QA Contact: Michael Nguyen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-18 20:02 UTC by Yossi Boaron
Modified: 2019-10-16 06:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-16 06:41:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift machine-config-operator pull 1123 0 None closed Bug 1753411: manifests: Create namespace for static pods IPI-BM 2020-11-18 06:58:13 UTC
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:41:45 UTC

Description Yossi Boaron 2019-09-18 20:02:20 UTC
Description of problem:
This bug is a duplication of [1] for IPI BAREMETAL

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1753067

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Micah Abbott 2019-09-20 13:43:09 UTC
I did not have access to a baremetal environment to test this, so I had to rely on verifying that the install manifest in the latest 4.2 nightly image had the changes applied.

Verified using 4.2.0-0.nightly-2019-09-20-102942

```
$  oc image info $(oc adm release info -a ~/openshift-cluster-installs/all-the-pull-secrets.json --image-for=machine-config-operator registry.svc.ci.openshift.org/ocp/release:4.2.0-0.nightly-2019-09-20-102942) | grep Name
Name:        quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:208eaafa06705c78c2b20ec8cd8b65bf92e7780596e05c89984fd2da3be31485

$ sudo podman pull --authfile ~/openshift-cluster-installs/all-the-pull-secrets.json quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:208eaafa06705c78c2b20ec8cd8b65bf92e7780596e05c89984fd2da3be31485
Trying to pull quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:208eaafa06705c78c2b20ec8cd8b65bf92e7780596e05c89984fd2da3be31485...
Getting image source signatures
Copying blob bff3b73cbcc4 done             
Copying blob faad7f1b577b done 
Copying blob 7b1c937e0f67 done
Copying blob 7b9efdd4c84e done
Copying blob f0e9b0eb4504 done
Copying config 901462b111 done
Writing manifest to image destination
Storing signatures
901462b11103011b4e633e0057f80538695a4ba5dbcb13c2b6f505fc08b03142

$ ctr=$(sudo podman create quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:208eaafa06705c78c2b20ec8cd8b65bf92e7780596e05c89984fd2da3be31485)

$ mnt=$(sudo podman mount $ctr)

$ sudo ls $mnt/manifests
0000_80_machine-config-operator_00_clusterreader_clusterrole.yaml  0000_80_machine-config-operator_02_images.configmap.yaml  0000_80_machine-config-operator_05_osimageurl.yaml                  0000_80_machine-config-operator_08_etcdquorumguard_pdb.yaml
0000_80_machine-config-operator_00_namespace.yaml                  0000_80_machine-config-operator_03_rbac.yaml              0000_80_machine-config-operator_06_clusteroperator.yaml             image-references
0000_80_machine-config-operator_01_mcoconfig.crd.yaml              0000_80_machine-config-operator_04_deployment.yaml        0000_80_machine-config-operator_07_etcdquorumguard_deployment.yaml

$ sudo cat $mnt/manifests/0000_80_machine-config-operator_00_namespace.yaml
apiVersion: v1
kind: Namespace
metadata:
  name: openshift-machine-config-operator
  annotations:
    openshift.io/node-selector: ""
  labels:
    name: openshift-machine-config-operator
    openshift.io/run-level: "1"
---
apiVersion: v1
kind: Namespace
metadata:
  name: openshift-openstack-infra
  annotations:
    openshift.io/node-selector: ""
  labels:
    name: openshift-openstack-infra
    openshift.io/run-level: "1"
---
apiVersion: v1
kind: Namespace
metadata:
  name: openshift-kni-infra
  annotations:
    openshift.io/node-selector: ""
  labels:
    name: openshift-kni-infra
    openshift.io/run-level: "1"
```

Comment 3 errata-xmlrpc 2019-10-16 06:41:33 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, 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-2019:2922


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