← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1456171] [NEW] [sahara] relaunch job fail if job is created by saharaclient and no input args

 

Public bug reported:

If we launch a job from a job_template without input args by saharaclient directly (not in Horizon), and then relaunch it on Horizon, you will get an error. This is because Horizon thinks job_configs always have elements 'args'. You can refer to horizon/openstack_dashboard/dashboards/project/data_processing/jobs/workflows/launch.py, line 190
job_args = json.dumps(job_configs['args'])

** Affects: horizon
     Importance: Undecided
     Assignee: Ken Chen (ken-chen-i)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Ken Chen (ken-chen-i)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1456171

Title:
  [sahara] relaunch job fail if job is created by saharaclient and no
  input args

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  If we launch a job from a job_template without input args by saharaclient directly (not in Horizon), and then relaunch it on Horizon, you will get an error. This is because Horizon thinks job_configs always have elements 'args'. You can refer to horizon/openstack_dashboard/dashboards/project/data_processing/jobs/workflows/launch.py, line 190
  job_args = json.dumps(job_configs['args'])

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1456171/+subscriptions


Follow ups

References