You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/local/bin/config", line 8, in <module>
sys.exit(config())
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/config/main.py", line 7222, in timezone
if timezone not in get_tzs(None, None, ''):
File "/usr/local/lib/python3.9/dist-packages/config/main.py", line 7206, in get_tzs
ret = clicommon.run_command('timedatectl list-timezones',
File "/usr/local/lib/python3.9/dist-packages/utilities_common/cli.py", line 545, in run_command
proc = subprocess.Popen(command, shell=shell, text=True, stdout=subprocess.PIPE)
File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'timedatectl list-timezones'
Describe the results you expected
No error
Additional information you deem important (e.g. issue happens only occasionally)
Description
I install SONiC-ONIE-Mellanox on my Mellanox SN2410 switch. When I execute
clock timezone Asia/Kuala_Lumpur
, I encounter this error:This should related to implementation of #2793
Steps to reproduce the issue
Execute
clock timezone Asia/Kuala_Lumpur
Describe the results you received
Describe the results you expected
No error
Additional information you deem important (e.g. issue happens only occasionally)
Output of
show version
The text was updated successfully, but these errors were encountered: