Closed
Description
openedon Aug 6, 2020
General information
- OS: Linux
- Hypervisor: KVM
- Did you run
crc setup
before starting it (Yes)?
CRC version
CodeReady Containers version: 1.13.0+8070bae
OpenShift version: 4.5.1 (embedded in binary)
# Not the latest atm, but tried with 1.14 with the same result
CRC status
Machine 'crc' does not exist. Use 'crc start' to create it.
CRC config
- memory : 16000
Host Operating System
NAME=Fedora
VERSION="32 (Workstation Edition)"
ID=fedora
VERSION_ID=32
VERSION_CODENAME=""
PLATFORM_ID="platform:f32"
PRETTY_NAME="Fedora 32 (Workstation Edition)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:32"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f32/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=32
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=32
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation
Steps to reproduce
- crc setup
Expected
Actual
$ crc setup
INFO Checking if oc binary is cached
INFO Checking if podman remote binary is cached
INFO Checking if goodhosts binary is cached
INFO Checking if CRC bundle is cached in '$HOME/.crc'
INFO Checking if running as non-root
INFO Checking if Virtualization is enabled
INFO Checking if KVM is enabled
INFO Checking if libvirt is installed
INFO Checking if user is part of libvirt group
INFO Checking if libvirt daemon is running
INFO Checking if a supported libvirt version is installed
INFO Checking if crc-driver-libvirt is installed
INFO Checking for obsolete crc-driver-libvirt
INFO Checking if libvirt 'crc' network is available
INFO Checking if libvirt 'crc' network is active
INFO Starting libvirt 'crc' network
FATA Failed to start libvirt 'crc' network
Logs
crc setup --log-level debug
DEBU CodeReady Containers version: 1.13.0+8070bae
DEBU OpenShift version: 4.5.1 (embedded in binary)
INFO Checking if oc binary is cached
DEBU Running '/home/rhrazdil/.crc/bin/oc/oc version --client'
DEBU oc binary already cached
INFO Checking if podman remote binary is cached
DEBU Currently podman remote is not supported
INFO Checking if goodhosts binary is cached
DEBU goodhost binary already cached
INFO Checking if CRC bundle is cached in '$HOME/.crc'
INFO Checking if running as non-root
INFO Checking if Virtualization is enabled
DEBU Checking if the vmx/svm flags are present in /proc/cpuinfo
DEBU CPU virtualization flags are good
INFO Checking if KVM is enabled
DEBU Checking if /dev/kvm exists
DEBU /dev/kvm was found
INFO Checking if libvirt is installed
DEBU Checking if 'virsh' is available
DEBU 'virsh' was found in /usr/bin/virsh
INFO Checking if user is part of libvirt group
DEBU Checking if current user is part of the libvirt group
DEBU Running '/usr/bin/groups rhrazdil'
DEBU Current user is already in the libvirt group
INFO Checking if libvirt daemon is running
DEBU Checking if libvirtd.service is running
DEBU Running '/usr/bin/systemctl is-active virtqemud.socket'
DEBU Command failed: exit status 3
DEBU stdout: inactive
DEBU stderr:
DEBU virtqemud.socket is not running
DEBU Running '/usr/bin/systemctl is-active libvirtd.socket'
DEBU libvirtd.socket is running
INFO Checking if a supported libvirt version is installed
DEBU Checking if libvirt version is >=3.4.0
DEBU Running 'virsh -v'
INFO Checking if crc-driver-libvirt is installed
DEBU Checking if crc-driver-libvirt is installed
DEBU Running '/home/rhrazdil/.crc/bin/crc-driver-libvirt version'
DEBU crc-driver-libvirt is already installed in /home/rhrazdil/.crc/bin/crc-driver-libvirt
INFO Checking for obsolete crc-driver-libvirt
DEBU Checking if an older libvirt driver crc-driver-libvirt is installed
DEBU No older crc-driver-libvirt installation found
INFO Checking if libvirt 'crc' network is available
DEBU Checking if libvirt 'crc' network exists
DEBU Running 'virsh --connect qemu:///system net-info crc'
DEBU Checking if libvirt 'crc' definition is up to date
DEBU Running 'virsh --connect qemu:///system net-dumpxml --inactive crc'
DEBU libvirt 'crc' network has the expected value
INFO Checking if libvirt 'crc' network is active
DEBU Checking if libvirt 'crc' network is active
DEBU Running 'virsh --connect qemu:///system net-info crc'
DEBU Libvirt crc network is not active
INFO Starting libvirt 'crc' network
DEBU Starting libvirt 'crc' network
DEBU exit status 1 : error: Failed to start network crc
error: error from service: changeZoneOfInterface: COMMAND_FAILED: 'python-nftables' failed:
JSON blob:
{"nftables": [{"metainfo": {"json_schema_version": 1}}, {"add": {"rule": {"family": "inet", "table": "firewalld", "chain": "filter_IN_libvirt_allow", "expr": [{"match": {"left": {"payload": {"protocol": "udp", "field": "dport"}}, "op": "==", "right": 67}}, {"match": {"left": {"ct": {"key": "state"}}, "op": "in", "right": {"set": ["new", "untracked"]}}}, {"accept": null}]}}}, {"add": {"rule": {"family": "inet", "table": "firewalld", "chain": "filter_IN_libvirt_allow", "expr": [{"match": {"left": {"payload": {"protocol": "udp", "field": "dport"}}, "op": "==", "right": 547}}, {"match": {"left": {"ct": {"key": "state"}}, "op": "in", "right": {"set": ["new", "untracked"]}}}, {"accept": null}]}}}, {"add": {"rule": {"family": "inet", "table": "firewalld", "chain": "filter_IN_libvirt_allow", "expr": [{"match": {"left": {"payload": {"protocol": "tcp", "field": "dport"}}, "op": "==", "right": 53}}, {"match": {"left": {"ct": {"key": "state"}}
FATA Failed to start libvirt 'crc' network
journalctl -xe
-- The unit UNIT has successfully entered the 'dead' state.
Aug 06 12:14:30 localhost.localdomain NetworkManager[875]: <info> [1596708870.2135] manager: (crc): new Bridge device (/org/freedesktop/NetworkManager/Devices/6)
Aug 06 12:14:30 localhost.localdomain kernel: crc: port 1(crc-nic) entered blocking state
Aug 06 12:14:30 localhost.localdomain kernel: crc: port 1(crc-nic) entered disabled state
Aug 06 12:14:30 localhost.localdomain kernel: device crc-nic entered promiscuous mode
Aug 06 12:14:30 localhost.localdomain audit: ANOM_PROMISCUOUS dev=crc-nic prom=256 old_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295
Aug 06 12:14:30 localhost.localdomain NetworkManager[875]: <info> [1596708870.2144] manager: (crc-nic): new Tun device (/org/freedesktop/NetworkManager/Devices/7)
Aug 06 12:14:30 localhost.localdomain systemd-udevd[2632]: Using default interface naming scheme 'v245'.
Aug 06 12:14:30 localhost.localdomain systemd-udevd[2633]: Using default interface naming scheme 'v245'.
Aug 06 12:14:30 localhost.localdomain systemd-udevd[2632]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Aug 06 12:14:30 localhost.localdomain systemd-udevd[2633]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Aug 06 12:14:30 localhost.localdomain firewalld[753]: ERROR: 'python-nftables' failed:
JSON blob:
{"nftables": [{"metainfo": {"json_schema_version": 1}}, {"add": {"rule": {"family": "inet", "table": "firewalld", "chain": "filter_IN_libvirt_allow", "expr": [{"match": {"left": {"payload": {"protocol": "udp", "field": "dport"}}, "op": "==", "right": 67}}, {"matc>
Aug 06 12:14:30 localhost.localdomain firewalld[753]: ERROR: COMMAND_FAILED: 'python-nftables' failed:
JSON blob:
{"nftables": [{"metainfo": {"json_schema_version": 1}}, {"add": {"rule": {"family": "inet", "table": "firewalld", "chain": "filter_IN_libvirt_allow", "expr": [{"match": {"left": {"payload": {"protocol": "udp", "field": "dport"}}, "op": "==", "right": 67}}, {"matc>
Aug 06 12:14:30 localhost.localdomain libvirtd[977]: error from service: changeZoneOfInterface: COMMAND_FAILED: 'python-nftables' failed:
JSON blob:
{"nftables": [{"metainfo": {"json_schema_version": 1}}, {"add": {"rule": {"family": "inet", "table": "firewalld", "chain": "filter_IN_libvirt_allow", "expr": [{"match": {"left": {"payload": {"protocol": "udp", "field": "dport"}}, "op": "==", "right": 67}}, {"match>
Aug 06 12:14:30 localhost.localdomain audit: ANOM_PROMISCUOUS dev=crc-nic prom=0 old_prom=256 auid=4294967295 uid=0 gid=0 ses=4294967295
Aug 06 12:14:30 localhost.localdomain kernel: device crc-nic left promiscuous mode
Aug 06 12:14:30 localhost.localdomain kernel: crc: port 1(crc-nic) entered disabled state
Aug 06 12:14:30 localhost.localdomain libvirtd[977]: ethtool ioctl error: No such device
Aug 06 12:14:30 localhost.localdomain NetworkManager[875]: <info> [1596708870.2344] device (crc-nic): released from master device crc
Aug 06 12:14:30 localhost.localdomain gnome-shell[1306]: Removing a network device that was not added
Aug 06 12:14:30 localhost.localdomain libvirtd[977]: ethtool ioctl error: No such device
Aug 06 12:14:30 localhost.localdomain gnome-shell[1757]: Removing a network device that was not added
Aug 06 12:14:30 localhost.localdomain libvirtd[977]: ethtool ioctl error: No such device
Aug 06 12:14:30 localhost.localdomain libvirtd[977]: ethtool ioctl error: No such device
Aug 06 12:14:30 localhost.localdomain libvirtd[977]: ethtool ioctl error: No such device
Aug 06 12:14:30 localhost.localdomain gnome-shell[1306]: Removing a network device that was not added
Aug 06 12:14:30 localhost.localdomain gnome-shell[1757]: Removing a network device that was not added
Aug 06 12:14:30 localhost.localdomain libvirtd[977]: ethtool ioctl error: No such device
Aug 06 12:14:30 localhost.localdomain libvirtd[977]: ethtool ioctl error: No such device
Aug 06 12:14:30 localhost.localdomain libvirtd[977]: ethtool ioctl error: No such device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels