• René Nussbaumer's avatar
    Fix inconsistency in the LUXI protocol w.r.t. args · 734a2a7c
    René Nussbaumer authored
    This inconsistency was found during rebalancing. Hbal failed because,
    Ganeti couldn't load the opcode. After digging through the cause, an
    inconsistency with the "args" field in the LUXI protocol was triggered
    by the TemplateHaskell side where it's done uniformed.
    For SubmitJob and SubmitManyJobs we treat args as one argument,
    containing the job definition. In every other LUXI call args is actually
    a list of arguments. This patch fixes this consistency.
    This change is NOT backwards compatible.
    Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
    Reviewed-by: default avatarIustin Pop <iustin@google.com>
luxi.py 16 KB