Bug 1737806 - scale up rhel node failed since the machine-config-daemon image was removed
Summary: scale up rhel node failed since the machine-config-daemon image was removed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.2.0
Assignee: Vadim Rutkovsky
QA Contact: Weihua Meng
URL:
Whiteboard:
Depends On: 1739347
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-06 09:17 UTC by shahan
Modified: 2019-10-16 06:35 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:34:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift openshift-ansible pull 11801 0 None closed Bug 1737806: Update MCO image name and entrypoint 2020-08-13 03:58:22 UTC
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:35:01 UTC

Description shahan 2019-08-06 09:17:13 UTC
Description of problem:
scale up rhel node failed since the machine-config-daemon image was removed from 
4.2.0-0.nightly-2019-08-05-223032

Version-Release number of the following components:
rpm -q openshift-ansible
openshift-ansible-4.2.0-201908041300.git.179.bdffb37.el7.noarch

rpm -q ansible
ansible-2.8.3-1.el7ae.noarch

ansible --version
$ ansible --version
ansible 2.8.3
  config file = /usr/share/ansible/openshift-ansible/ansible.cfg
  configured module search path = [u'/home/hasha/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.15 (default, Oct 15 2018, 15:24:06) [GCC 8.1.1 20180712 (Red Hat 8.1.1-5)]

How reproducible:
Always

Steps to Reproduce:
1. ansible-playbook -vvv -i inventory/hosts playbooks/scaleup.yml

2. 
3.

Actual results:
<ip-10-0-155-115.us-east-2.compute.internal> Failed to connect to the host via ssh: 
fatal: [ip-10-0-155-115.us-east-2.compute.internal]: FAILED! => {
    "changed": true, 
    "cmd": [
        "podman", 
        "run", 
        "--rm", 
        "registry.svc.ci.openshift.org/ocp/release@sha256:11072aad600189195fc9b5cada38c6a2c1396db72e0c67b472635f224c2ee045", 
        "image", 
        "machine-config-daemon"
    ], 
    "delta": "0:00:00.786326", 
    "end": "2019-08-06 04:18:27.362216", 
    "invocation": {
        "module_args": {
            "_raw_params": "podman run --rm registry.svc.ci.openshift.org/ocp/release@sha256:11072aad600189195fc9b5cada38c6a2c1396db72e0c67b472635f224c2ee045 image machine-config-daemon", 
            "_uses_shell": false, 
            "argv": null, 
            "chdir": null, 
            "creates": null, 
            "executable": null, 
            "removes": null, 
            "stdin": null, 
            "stdin_add_newline": true, 
            "strip_empty_ends": true, 
            "warn": true
        }
    }, 
    "msg": "non-zero return code", 
    "rc": 255, 
    "start": "2019-08-06 04:18:26.575890", 
    "stderr": "F0806 08:18:27.190314       1 image.go:32] error: error: Unknown name requested, could not find machine-config-daemon in UpdatePayload", 
    "stderr_lines": [
        "F0806 08:18:27.190314       1 image.go:32] error: error: Unknown name requested, could not find machine-config-daemon in UpdatePayload"
    ], 
    "stdout": "", 
    "stdout_lines": []
}
<ip-10-0-145-164.us-east-2.compute.internal> (1, '\n{"changed": true, "end": "2019-08-06 04:18:27.421033", "stdout": "", "cmd": ["podman", "run", "--rm", "registry.svc.ci.openshift.org/ocp/release@sha256:11072aad600189195fc9b5cada38c6a2c1396db72e0c67b472635f224c2ee045", "image", "machine-config-daemon"], "failed": true, "delta": "0:00:00.811286", "stderr": "F0806 08:18:27.239636       1 image.go:32] error: error: Unknown name requested, could not find machine-config-daemon in UpdatePayload", "rc": 255, "invocation": {"module_args": {"creates": null, "executable": null, "_uses_shell": false, "strip_empty_ends": true, "_raw_params": "podman run --rm registry.svc.ci.openshift.org/ocp/release@sha256:11072aad600189195fc9b5cada38c6a2c1396db72e0c67b472635f224c2ee045 image machine-config-daemon", "removes": null, "argv": null, "warn": true, "chdir": null, "stdin_add_newline": true, "stdin": null}}, "start": "2019-08-06 04:18:26.609747", "msg": "non-zero return code"}\n', '')
<ip-10-0-145-164.us-east-2.compute.internal> Failed to connect to the host via ssh: 
fatal: [ip-10-0-145-164.us-east-2.compute.internal]: FAILED! => {
    "changed": true, 
    "cmd": [
        "podman", 
        "run", 
        "--rm", 
        "registry.svc.ci.openshift.org/ocp/release@sha256:11072aad600189195fc9b5cada38c6a2c1396db72e0c67b472635f224c2ee045", 
        "image", 
        "machine-config-daemon"
    ], 
    "delta": "0:00:00.811286", 
    "end": "2019-08-06 04:18:27.421033", 
    "invocation": {
        "module_args": {
            "_raw_params": "podman run --rm registry.svc.ci.openshift.org/ocp/release@sha256:11072aad600189195fc9b5cada38c6a2c1396db72e0c67b472635f224c2ee045 image machine-config-daemon", 
            "_uses_shell": false, 
            "argv": null, 
            "chdir": null, 
            "creates": null, 
            "executable": null, 
            "removes": null, 
            "stdin": null, 
            "stdin_add_newline": true, 
            "strip_empty_ends": true, 
            "warn": true
        }
    }, 
    "msg": "non-zero return code", 
    "rc": 255, 
    "start": "2019-08-06 04:18:26.609747", 
    "stderr": "F0806 08:18:27.239636       1 image.go:32] error: error: Unknown name requested, could not find machine-config-daemon in UpdatePayload", 
    "stderr_lines": [
        "F0806 08:18:27.239636       1 image.go:32] error: error: Unknown name requested, could not find machine-config-daemon in UpdatePayload"
    ], 
    "stdout": "", 
    "stdout_lines": []
}

PLAY RECAP ***********************************************************************************************************************************************************************************
ip-10-0-145-164.us-east-2.compute.internal : ok=20   changed=7    unreachable=0    failed=1    skipped=1    rescued=0    ignored=0   
ip-10-0-155-115.us-east-2.compute.internal : ok=20   changed=7    unreachable=0    failed=1    skipped=1    rescued=0    ignored=0   
localhost                  : ok=1    changed=1    unreachable=0    failed=0    skipped=3    rescued=0    ignored=0   


Expected results:

Additional info:
[hasha@fedora_pc ~]$ oc adm release info --pullspecs  registry.svc.ci.openshift.org/ocp/release:4.2.0-0.nightly-2019-08-05-223032 |grep machine-config-daemon
[hasha@fedora_pc ~]$

Comment 1 Russell Teague 2019-08-06 12:38:31 UTC
PR submitted: https://github.com/openshift/openshift-ansible/pull/11801

Comment 3 Weihua Meng 2019-08-12 04:28:53 UTC
Verified.

openshift-ansible-4.2.0-201908091419.git.185.ea01161.el7

Comment 4 errata-xmlrpc 2019-10-16 06:34:52 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.