Project

General

Profile

Actions

Bug #7225

closed

errors in tuple assignment

Added by Alfredo Deza over 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

2014-01-24T02:36:04.732 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/teuthology-next/teuthology/run_tasks.py", line 31, in run_tasks
    manager = run_one_task(taskname, ctx=ctx, config=config)
  File "/home/teuthworker/teuthology-next/teuthology/run_tasks.py", line 19, in run_one_task
    return fn(**kwargs)
  File "/home/teuthworker/teuthology-next/teuthology/task/kernel.py", line 830, in task
    if need_to_install_distro(ctx, role):
  File "/home/teuthworker/teuthology-next/teuthology/task/kernel.py", line 541, in need_to_install_distro
    (role_remote,) = ctx.cluster.only(role).remotes.keys()
ValueError: too many values to unpack

Log file http://qa-proxy.ceph.com/teuthology/teuthology-2014-01-23_23:01:59-rgw-next-distro-basic-plana/50441/teuthology.log

Actions #1

Updated by Alfredo Deza over 10 years ago

  • Description updated (diff)
Actions #2

Updated by Alfredo Deza over 10 years ago

From Tamil:

sagewk:alfredodeza: the problem with the "too many values to unpack" is same role is assigned to two different machines
editing the yaml file would fix it: in this e.g. http://qa-proxy.ceph.com/teuthology/teuthology-2014-01-23_23:01:59-rgw-next-distro-basic-plana/50441/teuthology.log, client.0 is assigned to 2 machines

Actions #3

Updated by Zack Cerza over 10 years ago

The following are also assigned to multiple machines: osd.0, osd.1, mon.a, mds.a. I am surprised we're not checking these for sanity.

Actions #4

Updated by Tamilarasi muthamizhan over 10 years ago

  • Status changed from 12 to Resolved

fixed the yaml.

redundant role assignment from 2 different places: from clusters file and the roles on task yaml itself.

Actions #5

Updated by Alfredo Deza over 10 years ago

  • Status changed from Resolved to In Progress
Actions #6

Updated by Alfredo Deza over 10 years ago

  • Status changed from In Progress to Fix Under Review
Actions #7

Updated by Alfredo Deza about 10 years ago

  • Status changed from Fix Under Review to Resolved

Merged to teuthology's next branch: 9c86336 and cherrypicked into master

Actions

Also available in: Atom PDF