
On 08/02/2021 12:11, Ales Musil wrote:
On Mon, Feb 8, 2021 at 12:33 PM lejeczek via Users <users@ovirt.org <mailto:users@ovirt.org>> wrote:
On 08/02/2021 06:44, Ales Musil wrote: > > > On Mon, Feb 8, 2021 at 12:18 AM lejeczek via Users > <users@ovirt.org <mailto:users@ovirt.org> <mailto:users@ovirt.org <mailto:users@ovirt.org>>> wrote: > > Hi guys, > > I'm trying oVirt in a KVM and I get this: > ... > [ INFO ] The host has been set in non_operational > status, > deployment errors: code 505: Host c8ovirt1.private.road > installation failed. Failed to configure management > network > on the host., code 519: Host c8ovirt1.private.road > does > not comply with the cluster road networks, the following > networks are missing on host: 'ovirtmgmt', code 1120: > Failed to configure management network on host > c8ovirt1.private.road due to setup networks failure., > code 9000: Failed to verify Power Management > configuration > for Host c8ovirt1.private.road., code 10802: VDSM > c8ovirt1.private.road command HostSetupNetworksVDS > failed: > Internal JSON-RPC error: {'reason': 'Failed to find > interface to with route table ID 254 to store route > rules'}, > ... > > How much of a worry is it and how to fix such KVM vm so > oVirt would be happy? > many thanks, L. > _______________________________________________ > Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> > <mailto:users@ovirt.org <mailto:users@ovirt.org>> > To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org> > <mailto:users-leave@ovirt.org <mailto:users-leave@ovirt.org>> > Privacy Statement: > https://www.ovirt.org/privacy-policy.html <https://www.ovirt.org/privacy-policy.html> > <https://www.ovirt.org/privacy-policy.html <https://www.ovirt.org/privacy-policy.html>> > oVirt Code of Conduct: > https://www.ovirt.org/community/about/community-guidelines/ <https://www.ovirt.org/community/about/community-guidelines/> > <https://www.ovirt.org/community/about/community-guidelines/ <https://www.ovirt.org/community/about/community-guidelines/>> > List Archives: > https://lists.ovirt.org/archives/list/users@ovirt.org/message/UZHD5KCPMKXOSP... <https://lists.ovirt.org/archives/list/users@ovirt.org/message/UZHD5KCPMKXOSPFK7E6JWA27H6SPHHO6/> > <https://lists.ovirt.org/archives/list/users@ovirt.org/message/UZHD5KCPMKXOSP... <https://lists.ovirt.org/archives/list/users@ovirt.org/message/UZHD5KCPMKXOSPFK7E6JWA27H6SPHHO6/>> > > > > Hello, > > usually KVM hosts work without any issues for me, as long > as there is a single interface that will act as a > management network. > > Can you please share relevant part from supervdsm.log? > > Thank you. > Regards, > Ales > > Just in case it's not clear from that log snippet I pasted, should have made it clearer, it's deployment of the engine. KVM vm has only on single iface. ... [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Generate the error message from the engine events] [ INFO ] ok: [localhost] [ INFO ] The host has been set in non_operational status, deployment errors: code 505: Host c8ovirt1.private.road installation failed. Failed to configure management network on the host., code 519: Host c8ovirt1.private.road does not comply with the cluster road networks, the following networks are missing on host: 'ovirtmgmt', code 1120: Failed to configure management network on host c8ovirt1.private.road due to setup networks failure., code 9000: Failed to verify Power Management configuration for Host c8ovirt1.private.road., code 10802: VDSM c8ovirt1.private.road command HostSetupNetworksVDS failed: Internal JSON-RPC error: {'reason': 'Failed to find interface to with route table ID 254 to store route rules'}, [ INFO ] skipping: [localhost] [ INFO ] You can now connect to https://c8ovirt1.private.road:6900/ovirt-engine/ <https://c8ovirt1.private.road:6900/ovirt-engine/> and check the status of this host and eventually remediate it, please continue only when the host is listed as 'up' [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks] [ INFO ] ok: [localhost] [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Create temporary lock file] [ INFO ] changed: [localhost] [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Pause execution until /tmp/ansible.con_3ppb_he_setup_lock is removed, delete it once ready to proceed] ...
and tail of supervdsm.log ... (cwd None) MainThread::DEBUG::2021-02-07 18:03:40,618::cmdutils::138::root::(exec_cmd) SUCCESS: <err> = b''; <rc> = 0 MainThread::DEBUG::2021-02-07 18:03:40,618::cmdutils::130::root::(exec_cmd) /usr/sbin/lldptool -ping (cwd None) MainThread::DEBUG::2021-02-07 18:03:40,668::cmdutils::138::root::(exec_cmd) SUCCESS: <err> = b''; <rc> = 0 MainThread::DEBUG::2021-02-07 18:03:40,669::cmdutils::130::root::(exec_cmd) /usr/sbin/lldptool get-lldp -i ens3 adminStatus (cwd None) MainThread::DEBUG::2021-02-07 18:03:40,672::cmdutils::138::root::(exec_cmd) SUCCESS: <err> = b''; <rc> = 0 MainThread::DEBUG::2021-02-07 18:03:40,672::cmdutils::130::root::(exec_cmd) /usr/sbin/lldptool set-lldp -i ens3 adminStatus=rx (cwd None) MainThread::DEBUG::2021-02-07 18:03:40,674::cmdutils::138::root::(exec_cmd) SUCCESS: <err> = b''; <rc> = 0 MainThread::DEBUG::2021-02-07 18:03:40,675::supervdsm_server::311::SuperVdsm.Server::(main)
Started serving super vdsm object restore-net::INFO::2021-02-07 18:03:43,508::restore_net_config::290::root::(restore) starting network restoration. restore-net::DEBUG::2021-02-07 18:03:43,510::cmdutils::130::root::(exec_cmd) /sbin/tc qdisc show (cwd None) restore-net::DEBUG::2021-02-07 18:03:43,520::cmdutils::138::root::(exec_cmd) SUCCESS: <err> = b''; <rc> = 0 restore-net::DEBUG::2021-02-07 18:03:43,579::context::144::root::(register_async) Async action: Retrieve applied config: ethernet ens3 started restore-net::DEBUG::2021-02-07 18:03:43,579::context::144::root::(register_async) Async action: Retrieve applied config: bridge virbr0 started restore-net::DEBUG::2021-02-07 18:03:43,579::context::144::root::(register_async) Async action: Retrieve applied config: tun vnet0 started restore-net::DEBUG::2021-02-07 18:03:43,582::context::153::root::(finish_async) Async action: Retrieve applied config: ethernet ens3 finished restore-net::DEBUG::2021-02-07 18:03:43,582::context::153::root::(finish_async) Async action: Retrieve applied config: bridge virbr0 finished restore-net::DEBUG::2021-02-07 18:03:43,583::context::153::root::(finish_async) Async action: Retrieve applied config: tun vnet0 finished restore-net::DEBUG::2021-02-07 18:03:43,600::context::144::root::(register_async) Async action: Retrieve applied config: ethernet ens3 started restore-net::DEBUG::2021-02-07 18:03:43,600::context::144::root::(register_async) Async action: Retrieve applied config: bridge virbr0 started restore-net::DEBUG::2021-02-07 18:03:43,600::context::144::root::(register_async) Async action: Retrieve applied config: tun vnet0 started restore-net::DEBUG::2021-02-07 18:03:43,602::context::153::root::(finish_async) Async action: Retrieve applied config: ethernet ens3 finished restore-net::DEBUG::2021-02-07 18:03:43,602::context::153::root::(finish_async) Async action: Retrieve applied config: bridge virbr0 finished restore-net::DEBUG::2021-02-07 18:03:43,602::context::153::root::(finish_async) Async action: Retrieve applied config: tun vnet0 finished restore-net::INFO::2021-02-07 18:03:43,610::restore_net_config::89::root::(unified_restoration)
Remove networks ({}) and bonds ({}). restore-net::INFO::2021-02-07 18:03:43,610::restore_net_config::96::root::(unified_restoration)
Setup networks ({}) and bonds ({}). restore-net::INFO::2021-02-07 18:03:43,610::restore_net_config::297::root::(restore) restoration completed successfully.
regards, L.
This looks like a log after reboot. Is there a setup networks call with the failure?
Honestly I do not know how to answer this as it my very first try to test-deploy oVirt. I can log in to the web to which deployment process points to, as above, and there in "Administration Portal" I see that host is down with: " Host has disabled power management. There are network configuration changes that haven't been saved yet. Host has no default route. " That last line must relate I guess, to "Failed to find interface to with route table ID 254 to store route rules" But like I said - the host(KVM vm, everything is on Centos Stream) has one iface and of course there is default routing on it. And another snippet of a tailf of the log, not after reboot but from around the time deployment process got to that stage: ..... MainProcess|jsonrpc/5::DEBUG::2021-02-08 10:07:48,630::ifaces::668::root::(_remove_unknown_type_interfaces) Interface lo is type unknown and will be ignored during the activation MainProcess|jsonrpc/5::DEBUG::2021-02-08 10:07:48,630::ifaces::668::root::(_remove_unknown_type_interfaces) Interface virbr0-nic is type unknown and will be ignored during the activation MainProcess|jsonrpc/5::DEBUG::2021-02-08 10:07:48,630::ifaces::668::root::(_remove_unknown_type_interfaces) Interface vnet0 is type unknown and will be ignored during the activation MainProcess|jsonrpc/5::ERROR::2021-02-08 10:07:48,632::supervdsm_server::98::SuperVdsm.ServerCallback::(wrapper) Error in setupNetworks Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/vdsm/supervdsm_server.py", line 96, in wrapper res = func(*args, **kwargs) File "/usr/lib/python3.6/site-packages/vdsm/network/api.py", line 206, in setupNetworks _setup_networks(networks, bondings, options) File "/usr/lib/python3.6/site-packages/vdsm/network/api.py", line 230, in _setup_networks netswitch.configurator.setup(networks, bondings, options, in_rollback) File "/usr/lib/python3.6/site-packages/vdsm/network/netswitch/configurator.py", line 71, in setup _setup_nmstate(networks, bondings, options, in_rollback) File "/usr/lib/python3.6/site-packages/vdsm/network/netswitch/configurator.py", line 94, in _setup_nmstate nmstate.setup(desired_state, verify_change=not in_rollback) File "/usr/lib/python3.6/site-packages/vdsm/network/nmstate/api.py", line 50, in setup state_apply(desired_state, verify_change=verify_change) File "/usr/lib/python3.6/site-packages/libnmstate/netapplier.py", line 69, in apply net_state = NetState(desired_state, current_state, save_to_disk) File "/usr/lib/python3.6/site-packages/libnmstate/net_state.py", line 64, in __init__ self._ifaces.gen_route_rule_metadata(self._route_rule, self._route) File "/usr/lib/python3.6/site-packages/libnmstate/ifaces/ifaces.py", line 617, in gen_route_rule_metadata route_state, self._kernel_ifaces File "/usr/lib/python3.6/site-packages/libnmstate/route_rule.py", line 197, in gen_metadata route_state, route_table, ifaces File "/usr/lib/python3.6/site-packages/libnmstate/route_rule.py", line 233, in _iface_for_route_table "Failed to find interface to with route table ID " libnmstate.error.NmstateValueError: Failed to find interface to with route table ID 254 to store route rules MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,533::supervdsm_server::94::SuperVdsm.ServerCallback::(wrapper) call network_caps with () {} MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,535::cmdutils::130::root::(exec_cmd) /sbin/tc qdisc show (cwd None) MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,538::cmdutils::138::root::(exec_cmd) SUCCESS: <err> = b''; <rc> = 0 MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,602::context::144::root::(register_async) Async action: Retrieve applied config: ethernet ens3 started MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,602::context::144::root::(register_async) Async action: Retrieve applied config: bridge virbr0 started MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,602::context::144::root::(register_async) Async action: Retrieve applied config: tun vnet0 started MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,604::context::153::root::(finish_async) Async action: Retrieve applied config: ethernet ens3 finished MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,604::context::153::root::(finish_async) Async action: Retrieve applied config: bridge virbr0 finished MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,604::context::153::root::(finish_async) Async action: Retrieve applied config: tun vnet0 finished MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,617::context::144::root::(register_async) Async action: Retrieve applied config: ethernet ens3 started MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,617::context::144::root::(register_async) Async action: Retrieve applied config: bridge virbr0 started MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,617::context::144::root::(register_async) Async action: Retrieve applied config: tun vnet0 started MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,620::context::153::root::(finish_async) Async action: Retrieve applied config: ethernet ens3 finished MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,620::context::153::root::(finish_async) Async action: Retrieve applied config: bridge virbr0 finished MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,620::context::153::root::(finish_async) Async action: Retrieve applied config: tun vnet0 finished MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,626::nic::40::root::(speed) cannot read ens3 speed MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,627::supervdsm_server::101::SuperVdsm.ServerCallback::(wrapper) return network_caps with {'networks': {}, 'bondings': {}, 'bridges': {'virbr0': {'ports': ['virbr0-nic', 'vnet0'], 'stp': 'on', 'addr': '192.168.222.1', 'ipv4addrs': ['192.168.222.1/24'], 'ipv6addrs': [], 'ipv6autoconf': False, 'gateway': '', 'ipv6gateway': '::', 'mtu': '1500', 'netmask': '255.255.255.0', 'ipv4defaultroute': False, 'dhcpv4': False, 'dhcpv6': False, 'opts': {'ageing_time': '30000', 'multicast_query_use_ifaddr': '0', 'gc_timer': '5082', 'hello_time': '200', 'multicast_router': '1', 'nf_call_iptables': '0', 'group_addr': '01:80:c2:00:00:00', 'group_fwd_mask': '0x0', 'multicast_querier': '0', 'hash_max': '4096', 'tcn_timer': '0', 'vlan_protocol': '0x8100', 'vlan_stats_per_port': '0', 'root_port': '0', 'vlan_filtering': '0', 'multicast_query_interval': '12500', 'bridge_id': '8000.525400aa16f9', 'max_age': '2000', 'nf_call_arptables': '0', 'multicast_startup_query_interval': '3125', 'multicast_stats_enabled': '0', 'multicast_query_response_interval': '1000', 'topology_change': '0', 'priority': '32768', 'multicast_mld_version': '1', 'hash_elasticity': '16', 'hello_timer': '194', 'default_pvid': '1', 'root_path_cost': '0', 'multicast_igmp_version': '2', 'stp_state': '1', 'multicast_startup_query_count': '2', 'topology_change_detected': '0', 'multicast_last_member_interval': '100', 'topology_change_timer': '0', 'root_id': '8000.525400aa16f9', 'forward_delay': '200', 'multicast_membership_interval': '26000', 'multicast_querier_interval': '25500', 'vlan_stats_enabled': '0', 'multicast_snooping': '1', 'nf_call_ip6tables': '0', 'multicast_last_member_count': '2'}}}, 'nics': {'ens3': {'hwaddr': '52:54:00:c1:ef:57', 'addr': '10.3.1.111', 'ipv4addrs': ['10.3.1.111/24'], 'ipv6addrs': [], 'ipv6autoconf': False, 'gateway': '10.3.1.254', 'ipv6gateway': '::', 'mtu': '1500', 'netmask': '255.255.255.0', 'ipv4defaultroute': True, 'dhcpv4': False, 'dhcpv6': False, 'speed': 0}}, 'vlans': {}, 'nameservers': ['10.3.1.254'], 'supportsIPv6': True} MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,632::supervdsm_server::94::SuperVdsm.ServerCallback::(wrapper) call get_cpu_vulnerabilities with () {} MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,633::supervdsm_server::101::SuperVdsm.ServerCallback::(wrapper) return get_cpu_vulnerabilities with {'SPECTRE_V2': '(Mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling)', 'ITLB_MULTIHIT': '(Not affected)', 'MDS': '(Not affected)', 'L1TF': '(Not affected)', 'SPEC_STORE_BYPASS': '(Mitigation: Speculative Store Bypass disabled via prctl and seccomp)', 'TSX_ASYNC_ABORT': '(Not affected)', 'SPECTRE_V1': '(Mitigation: usercopy/swapgs barriers and __user pointer sanitization)', 'SRBDS': '(Not affected)', 'MELTDOWN': '(Not affected)'} MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,633::supervdsm_server::94::SuperVdsm.ServerCallback::(wrapper) call check_qemu_conf_contains with ('vnc_tls', '1') {} MainProcess|jsonrpc/4::DEBUG::2021-02-08 10:07:52,633::supervdsm_server::101::SuperVdsm.ServerCallback::(wrapper) return check_qemu_conf_contains with True MainProcess|jsonrpc/6::DEBUG::2021-02-08 10:07:53,294::supervdsm_server::94::SuperVdsm.ServerCallback::(wrapper) call getHardwareInfo with () {} ....
Thanks. Regards, Ales
> -- > > Ales Musil > > Software Engineer - RHV Network > > Red Hat EMEA <https://www.redhat.com <https://www.redhat.com>> > > amusil@redhat.com <mailto:amusil@redhat.com> <mailto:amusil@redhat.com <mailto:amusil@redhat.com>> IM: amusil > > <https://red.ht/sig <https://red.ht/sig>> > _______________________________________________ Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org> Privacy Statement: https://www.ovirt.org/privacy-policy.html <https://www.ovirt.org/privacy-policy.html> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ <https://www.ovirt.org/community/about/community-guidelines/> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/KJH7LEPTQMJVUZ... <https://lists.ovirt.org/archives/list/users@ovirt.org/message/KJH7LEPTQMJVUZQWC45HQEUGVIV2Y2ZO/>
--
Ales Musil
Software Engineer - RHV Network
Red Hat EMEA <https://www.redhat.com>
amusil@redhat.com <mailto:amusil@redhat.com> IM: amusil