errors at running run_server_task |
||
Issue description
nxia@nxia:~/chromiumos/chromeos-admin$ bin/run_server_task -h
ERROR:root:Task Python file tasks/atomic_common.py failed to import.
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/google/home/nxia/chromiumos/chromeos-admin/venv/server_management_lib/interfaces/run_server_task.py", line 18, in <module>
from server_management_lib.core import settings_manager
File "/usr/local/google/home/nxia/chromiumos/chromeos-admin/venv/server_management_lib/core/__init__.py", line 13, in <module>
settings_manager.load_task_classes()
File "/usr/local/google/home/nxia/chromiumos/chromeos-admin/venv/server_management_lib/core/settings_manager.py", line 57, in load_task_classes
task_classes = settings_loader.load_task_classes(task_registry_file)
File "/usr/local/google/home/nxia/chromiumos/chromeos-admin/venv/server_management_lib/core/settings_loader.py", line 155, in load_task_classes
_load_task_classes_from_python_files(task_classes, python_files)
File "/usr/local/google/home/nxia/chromiumos/chromeos-admin/venv/server_management_lib/core/settings_loader.py", line 68, in _load_task_classes_from_python_files
imp.load_source(module_name, full_file_path)
File "/usr/local/google/home/nxia/chromiumos/chromeos-admin/venv/server_management_lib/tasks/atomic_common.py", line 39, in <module>
autotest.setup_autotest()
File "/usr/local/google/home/nxia/chromiumos/chromeos-admin/venv/server_management_lib/tasks/autotest.py", line 22, in setup_autotest
import setup_modules
ImportError: No module named setup_modules
,
May 17 2017
Will add later when I change the doc to update the new interface
,
May 22 2017
Was the instruction updated? Going to move oak-paladin. Will it be affected by the command change?
,
May 22 2017
why is this related to server lib? The instruction was not updated since I still have change to be made. If you want to move a board (server lib cannot handle move builder), use ShardRemoveFromProductionMasterTask
,
May 22 2017
I mean moving oak-paladin from its current shard to skunk1 |
||
►
Sign in to add a comment |
||
Comment 1 by nxia@chromium.org
, May 16 2017