Comments (7)
Looking at the node description, looks like no cni plugin. will check with microshift eng.
Conditions:
Type Status LastHeartbeatTime LastTransitionTime Reason Message
---- ------ ----------------- ------------------ ------ -------
MemoryPressure False Thu, 27 Jul 2023 13:58:56 +0530 Thu, 27 Jul 2023 13:48:56 +0530 KubeletHasSufficientMemory kubelet has sufficient memory available
DiskPressure False Thu, 27 Jul 2023 13:58:56 +0530 Thu, 27 Jul 2023 13:48:56 +0530 KubeletHasNoDiskPressure kubelet has no disk pressure
PIDPressure False Thu, 27 Jul 2023 13:58:56 +0530 Thu, 27 Jul 2023 13:48:56 +0530 KubeletHasSufficientPID kubelet has sufficient PID available
Ready False Thu, 27 Jul 2023 13:58:56 +0530 Thu, 27 Jul 2023 13:48:56 +0530 KubeletNotReady container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: No CNI configuration file in /etc/cni/net.d/. Has your network provider started?
from crc.
Following service is failing.
$ systemctl status ovsdb-server.service
× ovsdb-server.service - Open vSwitch Database Unit
Loaded: loaded (/usr/lib/systemd/system/ovsdb-server.service; static)
Drop-In: /etc/systemd/system/ovsdb-server.service.d
└─microshift-cpuaffinity.conf
Active: failed (Result: exit-code) since Thu 2023-07-27 05:34:17 EDT; 28s ago
Process: 3436 ExecStartPre=/usr/bin/rm -f /run/openvswitch.useropts (code=exited, status=0/SUCCESS)
Process: 3437 ExecStartPre=/usr/bin/chown ${OVS_USER_ID} /run/openvswitch /var/log/openvswitch (code=exited, status=0/SUCCESS)
Process: 3438 ExecStartPre=/bin/sh -c /usr/bin/echo "OVS_USER_ID=${OVS_USER_ID}" > /run/openvswitch.useropts (code=exited, status=0/SUCCESS)
Process: 3440 ExecStartPre=/bin/sh -c if [ "$${OVS_USER_ID/:*/}" != "root" ]; then /usr/bin/echo "OVS_USER_OPT=--ovs-user=${OVS_USER_ID}" >> /run/openvswitch.useropts; fi (code=exited, status=0/SUCCESS)
Process: 3442 ExecStart=/usr/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd --no-monitor --system-id=random ${OVS_USER_OPT} start $OPTIONS (code=exited, status=1/FAILURE)
CPU: 64ms
Jul 27 05:34:17 api.crc.testing systemd[1]: ovsdb-server.service: Control process exited, code=exited, status=1/FAILURE
Jul 27 05:34:17 api.crc.testing systemd[1]: ovsdb-server.service: Failed with result 'exit-code'.
Jul 27 05:34:17 api.crc.testing systemd[1]: Failed to start Open vSwitch Database Unit.
Jul 27 05:34:17 api.crc.testing systemd[1]: ovsdb-server.service: Scheduled restart job, restart counter is at 4.
Jul 27 05:34:17 api.crc.testing systemd[1]: Stopped Open vSwitch Database Unit.
Jul 27 05:34:17 api.crc.testing systemd[1]: ovsdb-server.service: Start request repeated too quickly.
Jul 27 05:34:17 api.crc.testing systemd[1]: ovsdb-server.service: Failed with result 'exit-code'.
Jul 27 05:34:17 api.crc.testing systemd[1]: Failed to start Open vSwitch Database Unit.
Journalctl logs
Jul 27 05:36:28 api.crc.testing systemd[1]: ovsdb-server.service: Scheduled restart job, restart counter is at 4.
Jul 27 05:36:28 api.crc.testing systemd[1]: Stopped Open vSwitch Database Unit.
Jul 27 05:36:28 api.crc.testing systemd[1]: Starting Open vSwitch Database Unit...
Jul 27 05:36:29 api.crc.testing ovsdb-server[4771]: ovs|00001|daemon_unix|EMER|(null): Invalid --user option openvswitch:hugetlbfs (user openvswitch is not in group hugetlbfs), aborting.
Jul 27 05:36:29 api.crc.testing ovs-ctl[4771]: ovsdb-server: (null): Invalid --user option openvswitch:hugetlbfs (user openvswitch is not in group hugetlbfs), aborting.
Jul 27 05:36:29 api.crc.testing ovs-ctl[4724]: Starting ovsdb-server ... failed!
Jul 27 05:36:29 api.crc.testing systemd[1]: ovsdb-server.service: Control process exited, code=exited, status=1/FAILURE
Jul 27 05:36:29 api.crc.testing systemd[1]: ovsdb-server.service: Failed with result 'exit-code'.
Jul 27 05:36:29 api.crc.testing systemd[1]: Failed to start Open vSwitch Database Unit.
Jul 27 05:36:29 api.crc.testing systemd[1]: ovsdb-server.service: Scheduled restart job, restart counter is at 5.
Jul 27 05:36:29 api.crc.testing systemd[1]: Stopped Open vSwitch Database Unit.
Jul 27 05:36:29 api.crc.testing systemd[1]: ovsdb-server.service: Start request repeated too quickly.
Jul 27 05:36:29 api.crc.testing systemd[1]: ovsdb-server.service: Failed with result 'exit-code'.
Jul 27 05:36:29 api.crc.testing systemd[1]: Failed to start Open vSwitch Database Unit.
Jul 27 05:36:29 api.crc.testing systemd[1]: ovsdb-server.service: Start request repeated too quickly.
Jul 27 05:36:29 api.crc.testing systemd[1]: ovsdb-server.service: Failed with result 'exit-code'.
Jul 27 05:36:29 api.crc.testing systemd[1]: Failed to start Open vSwitch Database Unit.
lines 411-463/463 (END)
from crc.
For 4.13.3 where it all worked have
$ ssh crc -- cat /usr/lib/group | grep open
Warning: Permanently added '192.168.130.11' (ED25519) to the list of known hosts.
openvswitch:x:992:
hugetlbfs:x:1000:openvswitch
but for 4.13.4 have
$ ssh crc -- cat /usr/lib/group | grep open
Warning: Permanently added '192.168.130.11' (ED25519) to the list of known hosts.
openvswitch:x:992:
from crc.
So https://issues.redhat.com/browse/OCPBUGS-15948 is actual issue and looks like it is with openvswitch
side and for microshift they recently pinned the version to working one openshift/microshift@8ba6e57
from crc.
Workaround is openshift/os#1318
from crc.
We don't need workaround in snc or crc side. microshift already taken that into account and I created 4.13.6 bundles which works as expected now. So I am closing this issue.
from crc.
@praveenkumar so this was fixed before, but not in the release we used?
from crc.
Related Issues (20)
- [BUG] Start failing on Macos 12.X (arch x86) for openshift preset HOT 2
- [BUG] crc VM does not start because of encrypted home folder and SElinux HOT 14
- Failed to query DNS from host: lookup `api.crc.testing` HOT 14
- Nested virtualization causes startup delays and inconsitent deployments; Hyper-V from a Windows VM HOT 15
- OpenShift Monitoring stuck at pending state - enabling errors with pod has unbound immediate PersistentVolumeClaims HOT 11
- cant access App cakephp-ex after deployment - app has no external IP HOT 1
- access https://console-openshift-console.apps-crc.testing remotely HOT 1
- [BUG] crc start fails on mac with timeout trying to ssh into machine HOT 2
- After going through dcoumentation not abel to find answers to a couple of issues HOT 11
- [QE] Build and publish crc-e2e and crc-integration as a PR check HOT 2
- [QE] Split win-e2e GH action by preset
- The command `crc status -w` on Windows writes out escape codes HOT 13
- [QE] integration oci bad syntax on entrypoint script
- kubeconfig: Add `/cluster` suffix to the `user` `AuthInfos` entries HOT 18
- [BUG] - CRC start on Windows fails with `expected crcDaemon task to be Running but got Ready` in `v2.29` HOT 10
- [QE] CRC free PVs disappeared HOT 7
- [QE] Build test images on version cut merges to main and push them to quay.io
- [BUG] Can not find ndb-operator under community operator inside the CRC HOT 9
- Installation issue for crcVersion:2.30.0 HOT 2
- [BUG] CRC fails to complete setup on mac m2 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crc.