[Sahara] AttributeError if open tab "job executions" and cluster for job execution is deleted

Bug #1391507 reported by Vadim Rovachev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Nikita Konovalov

Bug Description

Steps to reproduce:
Create cluster with oozie
Create dependencies for job
Create and launch job
Wait end of job execution
Delete cluster for job execution
Open tab "job executions"

Expected result: tab opened

Actual result:
AttributeError at /project/data_processing/job_executions/
'NoneType' object has no attribute 'name'

sahara version: master
horizon version: master

Tags: sahara
Revision history for this message
Vadim Rovachev (vrovachev) wrote :
no longer affects: sahara
summary: - [UI] AttributeError if open tab "job executions" and cluster for job
+ [Sahara] AttributeError if open tab "job executions" and cluster for job
execution are deleted
tags: added: sahara
Changed in horizon:
assignee: nobody → Andrew Lazarev (alazarev)
summary: [Sahara] AttributeError if open tab "job executions" and cluster for job
- execution are deleted
+ execution is deleted
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/136876

Changed in horizon:
status: New → In Progress
Changed in horizon:
assignee: Andrew Lazarev (alazarev) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Andrew Lazarev (<email address hidden>) on branch: master
Review: https://review.openstack.org/136876
Reason: Addressed by https://review.openstack.org/#/c/125927

Changed in horizon:
assignee: nobody → Nikita Konovalov (nkonovalov)
Julie Pichon (jpichon)
Changed in horizon:
importance: Undecided → High
milestone: none → kilo-3
importance: High → Medium
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-3 → kilo-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/125927
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=4f947f8cb21e68f3dffbeac52ad9b1e938946060
Submitter: Jenkins
Branch: master

commit 4f947f8cb21e68f3dffbeac52ad9b1e938946060
Author: Nikita Konovalov <email address hidden>
Date: Fri Oct 3 14:48:27 2014 +0400

    [Data_processing] fix job_executions table

    The table does not crash anymore after the cluster is deleted.
    Both the cluster object and the job are queried before extending a job execution.
    When the cluster or the job are deleted 'Not available' is assigned as the name.

    Closes-Bug: #1376738
    Closes-Bug: #1391356
    Closes-Bug: #1391507
    Change-Id: Iee60572f3a6e02447a6cd8508735bbb91ec020e9

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-rc1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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