[Bug 1155675] New: ovsdb: Could not connect: No such file or directory

http://bugzilla.opensuse.org/show_bug.cgi?id=1155675 Bug ID: 1155675 Summary: ovsdb: Could not connect: No such file or directory Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: bnc-team-screening@forge.provo.novell.com Reporter: andythe_great@pm.me QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hello, I have been trying to build live ISO with OpenSUSE's KIWI. When the live image first boot, no wifi. I pull out my USB wifi receiver and plugging it back in, see wifi and connect normally. Even after reboot, internet is gone until I unplug-replug the USB wifi. I don't know much technical detail how to solve it but I have some info. The very first "systemctl status NetworkManager.service" is run when the internet connect normally. I found that restarting NetworkManager.service broke the wifi, which the status of no wifi is shown in second "systemctl status NetworkManager.service" tux@localhost:~> sudo systemctl status NetworkManager.service [sudo] password for root: ● NetworkManager.service - Network Manager Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled) Drop-In: /usr/lib/systemd/system/NetworkManager.service.d └─NetworkManager-ovs.conf Active: active (running) since Fri 2019-11-01 04:59:40 +07; 8min ago Docs: man:NetworkManager(8) Main PID: 3443 (NetworkManager) Tasks: 5 (limit: 4915) Memory: 11.0M CGroup: /system.slice/NetworkManager.service ├─3443 /usr/sbin/NetworkManager --no-daemon └─4933 /sbin/dhclient -d -q -sf /usr/lib/nm-dhcp-helper -pf /var/run/dhclient-wlan0.pid -lf /var/lib/NetworkManager/dhclient-b9f91975-3548-4f1b-b19c-79f4e71c2b55-wlan0.lease -cf /var/lib/NetworkManager/dhclient-wlan0.conf wlan0 Nov 01 05:04:15 localhost.localdomain NetworkManager[3443]: <info> [1572559455.5974] dhcp4 (wlan0): nameserver '194.168.8.100' Nov 01 05:04:15 localhost.localdomain NetworkManager[3443]: <info> [1572559455.5974] dhcp4 (wlan0): state changed unknown -> bound Nov 01 05:04:15 localhost.localdomain NetworkManager[3443]: <info> [1572559455.5992] device (wlan0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed') Nov 01 05:04:15 localhost.localdomain NetworkManager[3443]: <info> [1572559455.6009] device (wlan0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed') Nov 01 05:04:15 localhost.localdomain NetworkManager[3443]: <info> [1572559455.6015] device (wlan0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed') Nov 01 05:04:15 localhost.localdomain NetworkManager[3443]: <info> [1572559455.6024] manager: NetworkManager state is now CONNECTED_LOCAL Nov 01 05:04:15 localhost.localdomain NetworkManager[3443]: <info> [1572559455.6374] manager: NetworkManager state is now CONNECTED_SITE Nov 01 05:04:15 localhost.localdomain NetworkManager[3443]: <info> [1572559455.6376] policy: set 'VM2080987' (wlan0) as default for IPv4 routing and DNS Nov 01 05:04:15 localhost.localdomain NetworkManager[3443]: <info> [1572559455.8407] device (wlan0): Activation: successful, device activated. Nov 01 05:04:15 localhost.localdomain NetworkManager[3443]: <info> [1572559455.9148] manager: NetworkManager state is now CONNECTED_GLOBAL tux@localhost:~> sudo systemctl restart NetworkManager.service tux@localhost:~> sudo systemctl status NetworkManager.service ● NetworkManager.service - Network Manager Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled) Drop-In: /usr/lib/systemd/system/NetworkManager.service.d └─NetworkManager-ovs.conf Active: active (running) since Fri 2019-11-01 05:07:56 +07; 2s ago Docs: man:NetworkManager(8) Main PID: 5143 (NetworkManager) Tasks: 4 (limit: 4915) Memory: 4.0M CGroup: /system.slice/NetworkManager.service └─5143 /usr/sbin/NetworkManager --no-daemon Nov 01 05:07:57 localhost.localdomain NetworkManager[5143]: <info> [1572559677.1986] device (lo): carrier: link connected Nov 01 05:07:57 localhost.localdomain NetworkManager[5143]: <info> [1572559677.1989] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1) Nov 01 05:07:57 localhost.localdomain NetworkManager[5143]: <info> [1572559677.1999] manager: (lan0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2) Nov 01 05:07:57 localhost.localdomain NetworkManager[5143]: <info> [1572559677.2010] device (lan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external') Nov 01 05:07:57 localhost.localdomain NetworkManager[5143]: <info> [1572559677.2030] device (wlan0): driver supports Access Point (AP) mode Nov 01 05:07:57 localhost.localdomain NetworkManager[5143]: <info> [1572559677.2034] manager: (wlan0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/3) Nov 01 05:07:57 localhost.localdomain NetworkManager[5143]: <info> [1572559677.2063] ovsdb: Could not connect: No such file or directory Nov 01 05:07:57 localhost.localdomain NetworkManager[5143]: <info> [1572559677.2082] modem-manager: ModemManager available Nov 01 05:07:57 localhost.localdomain NetworkManager[5143]: <info> [1572559677.2088] supplicant: wpa_supplicant running Nov 01 05:07:57 localhost.localdomain NetworkManager[5143]: <info> [1572559677.2117] agent-manager: req[0x555fe82c03d0, :1.19/org.kde.plasma.networkmanagement/1000]: agent registered -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1155675 http://bugzilla.opensuse.org/show_bug.cgi?id=1155675#c1 --- Comment #1 from andy great <andythe_great@pm.me> --- Created attachment 823066 --> http://bugzilla.opensuse.org/attachment.cgi?id=823066&action=edit journalctl of NetworkManager when stop,start, unplug-replug wifi USB. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1155675 http://bugzilla.opensuse.org/show_bug.cgi?id=1155675#c2 --- Comment #2 from andy great <andythe_great@pm.me> --- lsusb Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 005 Device 003: ID 1a2c:0e24 China Resource Semico Co., Ltd Bus 005 Device 002: ID 24ae:4104 Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 2001:3c15 D-Link Corp. DWA-140 RangeBooster N Adapter(rev.B3) [Ralink RT5372] Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1155675 http://bugzilla.opensuse.org/show_bug.cgi?id=1155675#c3 --- Comment #3 from andy great <andythe_great@pm.me> --- This problem was ask in openSUSE forum here, https://forums.opensuse.org/showthread.php/538063-I-can-only-connect-to-inte... -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1155675 http://bugzilla.opensuse.org/show_bug.cgi?id=1155675#c4 --- Comment #4 from andy great <andythe_great@pm.me> --- Created attachment 823067 --> http://bugzilla.opensuse.org/attachment.cgi?id=823067&action=edit The live image is build with KIWI, this is the config.xml -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1155675 http://bugzilla.opensuse.org/show_bug.cgi?id=1155675#c5 --- Comment #5 from andy great <andythe_great@pm.me> --- Created attachment 823068 --> http://bugzilla.opensuse.org/attachment.cgi?id=823068&action=edit The live image is build with KIWI, this is the config.sh -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1155675 http://bugzilla.opensuse.org/show_bug.cgi?id=1155675#c6 andy great <andythe_great@pm.me> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from andy great <andythe_great@pm.me> --- I found the culprit, it was 70-persistent-net.rules inside /kiwi-descriptions/root/etc/udev/rules.d/ which come with KIWI live image template. https://github.com/OSInside/kiwi-des...tent-net.rules I delete the 70-persistent-net.rules and it work again. The content of the 70-persistent-net.rules is this, not sure how it broke my USB wifi dongle. SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="?*", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="?*", NAME="lan0" -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com