Project

General

Profile

Actions

Bug #8952

closed

[Node manager] TypeError: execv() arg 2 must contain only strings

Added by Ward Vandewege about 8 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
-
Story points:
-

Description

Seen on su92l, node manager version 0.1.20160410021132-1:

2016-04-12_21:30:25.78287 2016-04-12 21:30:25 ComputeNodeMonitorActor.dd2f7ac40e26.compute-dw4958vokgatzl7-su92l[30349] ERROR: Unexpected exception
2016-04-12_21:30:25.78395 Traceback (most recent call last):
2016-04-12_21:30:25.78409   File "/usr/local/lib/python2.7/dist-packages/arvnodeman/computenode/dispatch/__init__.py", line 406, in consider_shutdown
2016-04-12_21:30:25.78422     eligible = self.shutdown_eligible()
2016-04-12_21:30:25.78432   File "/usr/local/lib/python2.7/dist-packages/arvnodeman/computenode/dispatch/slurm.py", line 76, in shutdown_eligible
2016-04-12_21:30:25.78447     state = self._get_slurm_state(self.arvados_node['hostname'])
2016-04-12_21:30:25.78457   File "/usr/local/lib/python2.7/dist-packages/arvnodeman/computenode/dispatch/slurm.py", line 27, in _get_slurm_state
2016-04-12_21:30:25.78473     return subprocess.check_output(['sinfo', '--noheader', '-o', '%t', '-n', nodename])
2016-04-12_21:30:25.78483   File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
2016-04-12_21:30:25.78496     process = Popen(stdout=PIPE, *popenargs, **kwargs)
2016-04-12_21:30:25.78506   File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
2016-04-12_21:30:25.78520     errread, errwrite)
2016-04-12_21:30:25.78528   File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
2016-04-12_21:30:25.78541     raise child_exception
2016-04-12_21:30:25.78551 TypeError: execv() arg 2 must contain only strings

Subtasks 1 (0 open1 closed)

Task #8955: Review 8952-node-manager-safer-slurm-shutdown-check-wipClosed04/12/2016Actions
Actions

Also available in: Atom PDF