I can not see error message when create instance fails

Bug #1255391 reported by chenhaiq
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
chenhaiq

Bug Description

When an instance fails to boot, the status can be displayed as "Error" in instances page.

However, I can not see error message from dashboard to find out why the instance can not be started.

It should display error message from "Instance Details" page.

For example:
I can see "fault" field in nova client:
| fault | {u'message': u'No valid host was found. ', u'code': 500, u'created': u'2013-11-27T02:38:21Z'} |

but I can not see it in "Instance Details" page.

Revision history for this message
Zhenguo Niu (niu-zglinux) wrote :

I agree that error message should be displayed on details page.

Changed in horizon:
status: New → Confirmed
Changed in horizon:
assignee: nobody → Zhenguo Niu (niu-zglinux)
Revision history for this message
chenhaiq (chenhaiq) wrote :

I have a fix in hand. You can assign this bug to me.

Changed in horizon:
assignee: Zhenguo Niu (niu-zglinux) → nobody
Revision history for this message
Lin Hua Cheng (lin-hua-cheng) wrote :

This is definitely helpful, I encountered cases when there is an error in creating instance and no way to find out why it failed.

Changed in horizon:
importance: Undecided → Medium
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/58682

Changed in horizon:
assignee: nobody → chenhaiq (chenhaiq)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/58682
Committed: http://github.com/openstack/horizon/commit/9bf8633377d57c9be5176ba72b54ba476cc24220
Submitter: Jenkins
Branch: master

commit 9bf8633377d57c9be5176ba72b54ba476cc24220
Author: chenhaiq <email address hidden>
Date: Wed Nov 27 14:40:54 2013 +0800

    Display error message in instance detials page

    display the message when there is "fault" field from nova instance

    Change-Id: I483691d7a11e3a0fa2c4f2468ec3680a4cd4a3a3
    Closes-Bug: #1255391

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-1 → 2014.1
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.