[sahara] Unable to submit job execution from Horizon

Bug #1486934 reported by Vitalii Gridnev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Vitalii Gridnev

Bug Description

Steps to reproduce:

1) Create job-binary;
2) Create job-template;
3) Launch job-execution;

Get error in message in UI:

u'None' is not a 'uuid'

In sahara-api logs:

2015-08-20 10:03:59.868 27471 DEBUG sahara.utils.api [-] Rest.route.decorator.handler, kwargs={'tenant_id': u'666d8e9778d343d18b298b58d5c0a45f', 'job_id': u'07a19f4d-6b5f-4117-8a03-e8ca3d7a3995'} handler /usr/lib/python2.7/dist-packages/sahara/utils/api.py:67
2015-08-20 10:03:59.885 27471 ERROR sahara.utils.api [-] Validation Error occurred: error_code=400, error_message=u'None' is not a 'uuid', error_name=VALIDATION_ERROR
2

Tags: sahara
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/horizon (openstack-ci/fuel-7.0/2015.1.0)

Fix proposed to branch: openstack-ci/fuel-7.0/2015.1.0
Change author: Vitaly Gridnev <email address hidden>
Review: https://review.fuel-infra.org/10599

Changed in mos:
status: New → In Progress
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/horizon (openstack-ci/fuel-7.0/2015.1.0)

Reviewed: https://review.fuel-infra.org/10599
Submitter: mos-infra-ci <>
Branch: openstack-ci/fuel-7.0/2015.1.0

Commit: 90575f6929a4a18b8485eb02997823672e21b01e
Author: Vitaly Gridnev <email address hidden>
Date: Thu Aug 20 11:33:54 2015

Replace with None value unicode string 'None'

Sahara doesn't allow non-uuid-like values by validation schema in
input_id and output_id fields. If input_id or output_id is unicode 'None'
we should replace it with None.

Closes-bug: 1486934
Change-Id: Ie51912c5de6642912bddff4b91df260e0085fcbc

Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Evgeny Sikachev (esikachev) wrote :

verified on 265 iso

Changed in mos:
status: Fix Committed → Fix Released
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/horizon (openstack-ci/fuel-8.0/liberty)

Fix proposed to branch: openstack-ci/fuel-8.0/liberty
Change author: Vitaly Gridnev <email address hidden>
Review: https://review.fuel-infra.org/13376

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/horizon (openstack-ci/fuel-8.0/liberty)

Reviewed: https://review.fuel-infra.org/13376
Submitter: Pkgs Jenkins <email address hidden>
Branch: openstack-ci/fuel-8.0/liberty

Commit: 5505ada3e9308b1d3c6c39169627ea77957bc90c
Author: Vitaly Gridnev <email address hidden>
Date: Fri Nov 6 13:06:35 2015

Replace with None value unicode string 'None'

Sahara doesn't allow non-uuid-like values by validation schema in
input_id and output_id fields. If input_id or output_id is unicode 'None'
we should replace it with None.

Closes-bug: 1486934
Change-Id: Ie51912c5de6642912bddff4b91df260e0085fcbc

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/horizon (9.0/mitaka)

Fix proposed to branch: 9.0/mitaka
Change author: Vitaly Gridnev <email address hidden>
Review: https://review.fuel-infra.org/18494

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/horizon (9.0/mitaka)

Change abandoned by Timur Sufiev <email address hidden> on branch: 9.0/mitaka
Review: https://review.fuel-infra.org/18494
Reason: sahara-dashboard is removed from Horizon in mitaka.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.