Bug 1835749

Summary: image.config.openshift.io/cluster in manifests folder - ignored and degrading machine-api
Product: OpenShift Container Platform Reporter: Asher Shoshan <ashoshan>
Component: InstallerAssignee: Abhinav Dahiya <adahiya>
Installer sub component: openshift-installer QA Contact: Johnny Liu <jialiu>
Status: CLOSED DUPLICATE Docs Contact:
Severity: high    
Priority: unspecified    
Version: 4.5   
Target Milestone: ---   
Target Release: ---   
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: 2020-05-14 13:03:47 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 Asher Shoshan 2020-05-14 12:49:50 UTC
Description of problem:

copy the below registries.yaml in <cluster-dir>/openshift after "installer create manifests", and deploying the cluster "installer create cluster" - causing cvo machine-api to be degraded.  image.config is not applied to all nodes.

registries.yaml
---------------
apiVersion: config.openshift.io/v1
kind: Image
metadata:
  annotations:
    release.openshift.io/create-only: "true"
  name: cluster
spec:
  #additionalTrustedCA:
    #name: registry-config
  registrySources:
    allowedRegistries:
    - cnv-qe-server.rhevdev.lab.eng.rdu2.redhat.com:8443
    - cnv-qe-server.rhevdev.lab.eng.rdu2.redhat.com:8444    
    insecureRegistries:
    - cnv-qe-server.rhevdev.lab.eng.rdu2.redhat.com:5000
    - cnv-qe-server.rhevdev.lab.eng.rdu2.redhat.com:5001



Version-Release number of the following components:
rpm -q openshift-ansible
rpm -q ansible
ansible --version

How reproducible:

Steps to Reproduce:
1. openshift-install --dir <cluster-dir> create manifests
2. copy the above yaml to <cluster-dir>/openshift
3. openshift-install --dir <cluster-dir> create cluster

Actual results:
machine-api degraded, and image.config is not applied to nodes

Please include the entire output from the last TASK line through the end of output if an error is generated

Expected results:
to be applied to nodes

Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 1 Asher Shoshan 2020-05-14 13:04:42 UTC

*** This bug has been marked as a duplicate of bug 1835233 ***