Bug #8952

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

Added by Ward Vandewege about 6 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Brett Smith
Category:
-
Target version:
-
Start date:
04/12/2016
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
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

Task #8955: Review 8952-node-manager-safer-slurm-shutdown-check-wipClosed

History

#1 Updated by Ward Vandewege about 6 years ago

  • Subject changed from [Node manager] to [Node manager] TypeError: execv() arg 2 must contain only strings
  • Description updated (diff)

#2 Updated by Brett Smith about 6 years ago

  • Status changed from New to In Progress
  • Assigned To set to Brett Smith
  • Target version set to 2016-04-13 sprint

#3 Updated by Peter Amstutz about 6 years ago

This fix looks good, but in #8953 I suggested that we might want to get rid of this method override entirely.

#4 Updated by Brett Smith about 6 years ago

  • Target version changed from 2016-04-13 sprint to 2016-04-27 sprint

#5 Updated by Brett Smith about 6 years ago

  • Target version deleted (2016-04-27 sprint)

#6 Updated by Brett Smith about 6 years ago

  • Status changed from In Progress to Resolved

Code is gone after #8953.

Also available in: Atom PDF