Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1753411

Summary: [IPI][BAREMETAL] namespace not created for kni static pods
Product: OpenShift Container Platform Reporter: Yossi Boaron <yboaron>
Component: Machine Config OperatorAssignee: Yossi Boaron <yboaron>
Status: CLOSED ERRATA QA Contact: Michael Nguyen <mnguyen>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: asegurap, miabbott
Target Milestone: ---   
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-16 06:41: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:

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