My Oracle Support Banner

OLVM: Start vdsmd Fails with OSError: [Errno 2] No such file or directory: '/sbin/tc' (Doc ID 2541029.1)

Last updated on FEBRUARY 10, 2021

Applies to:

Linux OS - Version Oracle Linux 7.6 with Unbreakable Enterprise Kernel [4.14.35] and later
Linux x86-64

Symptoms

            # systemctl start vdsmd
            A dependency job for vdsmd.service failed. See 'journalctl -xe' for details.

 

            # journalctl -xe|less
            -----------------------------------------------------------<snip>-----------------------------------------------------------
             - Unit vdsm-network.service has begun starting up.
             May 10 15:14:33 <host> vdsm-tool[6272]: Traceback (most recent call last):
             May 10 15:14:33 <host> vdsm-tool[6272]: File "/usr/bin/vdsm-tool", line 219, in main
             May 10 15:14:33 <host> vdsm-tool[6272]: return tool_command[cmd]["command"](*args)
             May 10 15:14:33 <host> vdsm-tool[6272]: File "/usr/lib/python2.7/site-packages/vdsm/tool/network.py", line 55, in upgrade_networks
             May 10 15:14:33 <host> vdsm-tool[6272]: netupgrade.upgrade()
             May 10 15:14:33 <host> vdsm-tool[6272]: File "/usr/lib/python2.7/site-packages/vdsm/network/netupgrade.py", line 73, in upgrade
             May 10 15:14:33 <host> vdsm-tool[6272]: _create_unified_configuration(rconfig, NetInfo(netinfo(vdsmnets)))
             May 10 15:14:33 <host> vdsm-tool[6272]: File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch/configurator.py", line 325, in netinfo
             May 10 15:14:33 <host> vdsm-tool[6272]: _netinfo = netinfo_get(vdsmnets, compatibility)
             May 10 15:14:33 <host> vdsm-tool[6272]: File "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/cache.py", line 147, in get
             May 10 15:14:33 <host> vdsm-tool[6272]: return _get(vdsmnets)
             May 10 15:14:33 <host> vdsm-tool[6272]: File "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/cache.py", line 63, in _get
             May 10 15:14:33 <host> vdsm-tool[6272]: nets_info = _networks_report(vdsmnets, routes, ipaddrs, devices_info)
             May 10 15:14:33 <host> vdsm-tool[6272]: File "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/cache.py", line 104, in _networks_report
             May 10 15:14:33 <host> vdsm-tool[6272]: report_network_qos(nets_info, devices_info)
             May 10 15:14:33 <host> vdsm-tool[6272]: File "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/qos.py", line 36, in report_network_qos
             May 10 15:14:33 <host> vdsm-tool[6272]: for qdisc in tc.qdiscs(dev=None): # None -> all dev qdiscs
             May 10 15:14:33 <host> vdsm-tool[6272]: File "/usr/lib/python2.7/site-packages/vdsm/network/tc/__init__.py", line 175, in _iterate
             May 10 15:14:33 <host> vdsm-tool[6272]: out = module.show(dev, **kwargs)
             May 10 15:14:33 <host> vdsm-tool[6272]: File "/usr/lib/python2.7/site-packages/vdsm/network/tc/qdisc.py", line 79, in show
             May 10 15:14:33 <host> vdsm-tool[6272]: return _wrapper.process_request(command)
             May 10 15:14:33 <host> vdsm-tool[6272]: File "/usr/lib/python2.7/site-packages/vdsm/network/tc/_wrapper.py", line 32, in process_request
             May 10 15:14:33 <host> vdsm-tool[6272]: retcode, out, err = cmd.exec_sync(command)
             May 10 15:14:33 <host> vdsm-tool[6272]: File "/usr/lib/python2.7/site-packages/vdsm/network/cmd.py", line 38, in exec_sync
             May 10 15:14:33 <host> vdsm-tool[6272]: retcode, out, err = exec_sync_bytes(cmds)
             May 10 15:14:33 <host> vdsm-tool[6272]: File "/usr/lib/python2.7/site-packages/vdsm/common/cmdutils.py", line 154, in exec_cmd
             May 10 15:14:33 <host> vdsm-tool[6272]: env=env)
             May 10 15:14:33 <host> vdsm-tool[6272]: File "/usr/lib64/python2.7/site-packages/subprocess32.py", line 822, in __init__
             May 10 15:14:33 <host> vdsm-tool[6272]: restore_signals, start_new_session)
             May 10 15:14:33 <host> vdsm-tool[6272]: File "/usr/lib64/python2.7/site-packages/subprocess32.py", line 1567, in _execute_child
             May 10 15:14:33 <host> vdsm-tool[6272]: raise child_exception_type(errno_num, err_msg)
             May 10 15:14:33 <host> vdsm-tool[6272]: OSError: [Errno 2] No such file or directory: '/sbin/tc'
             May 10 15:14:33 <host> systemd[1]: vdsm-network.service: control process exited, code=exited status=1
             May 10 15:14:33 <host> systemd[1]: Failed to start Virtual Desktop Server Manager network restoration.
             -- Subject: Unit vdsm-network.service has failed
             -- Defined-By: systemd

Changes

The file /sbin/tc is not in the system

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.