Description of problem: When set up the cluster using bootstrapping mode, the ovs service will be setup as daemonset. it will not use systemd to manage the ovs service. so prompt from `oc adm diagnostics unitstatu` are also wrong Version-Release number of selected component (if applicable): oc v3.10.0-0.29.0 How reproducible: always Steps to Reproduce: 1. set up the env using bootstrapping mode 2. run `oc adm diagnostics unitstatu` 3. Actual results: # oc adm diagnostics unitstatus [Note] Performing systemd discovery [Note] Running diagnostic: UnitStatus Description: Check status for related systemd units ERROR: [DS3002 from diagnostic UnitStatus@openshift/origin/pkg/oc/admin/diagnostics/diagnostics/systemd/unit_status.go:61] systemd unit atomic-openshift-node depends on unit openvswitch, which is not loaded. systemd unit atomic-openshift-node is running but openvswitch is not. Normally atomic-openshift-node starts openvswitch once initialized. It is likely that openvswitch has crashed or been stopped. The software-defined network (SDN) enables networking between containers on different nodes. Containers will not be able to connect to each other without the openvswitch service carrying this traffic. An administrator can start openvswitch with: # systemctl start openvswitch To ensure it is not repeatedly failing to run, check the status and logs with: # systemctl status openvswitch # journalctl -ru openvswitch An administrator probably needs to install the openvswitch unit with: # yum install openvswitch If it is already installed, you may to reload the definition with: # systemctl reload openvswitch [Note] Summary of diagnostics execution (version v3.10.0-0.29.0): [Note] Errors seen: 1 Expected results: should not have these error Additional info:
Fixed by https://github.com/openshift/origin/pull/19572
Commits pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/c4082b65b090fdbd302fc79cca3ac373097d1236 Bug 1572179 - Remove openvswitch check from UnitStatus diagnostic - For openshift version >= 3.10, openvswitch on the node will be run as a daemonset so it won't appear on node systemd units. https://github.com/openshift/origin/commit/42b36d0d9a5808102e6c847b76fd8d5a6afa3b2d Merge pull request #19572 from pravisankar/fix-diag-unitstatus Bug 1572179 - Remove openvswitch check from UnitStatus diagnostic
Verified this bug on 3.10.0-0.46.0 # oc adm diagnostics unitstatus [Note] Performing systemd discovery [Note] Running diagnostic: UnitStatus Description: Check status for related systemd units [Note] Summary of diagnostics execution (version v3.10.0-0.46.0): [Note] Completed with no errors or warnings seen.
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-2018:1816