Horizon: incorrect error message when VM deletion failed
Bug #1414164 reported by
Danny Choi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Wu Wenxiang |
Bug Description
nova-manage version: 2014.2.2
Issue: incorrect error message when VM delete failed. It should be "delete", not "launch".
e.g. ERROR: Failed to launch instance XYZ. Please try again later. [Error: delete_
Changed in horizon: | |
assignee: | nobody → Wu Wenxiang (wu-wenxiang) |
Changed in horizon: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | kilo-3 → 2015.1.0 |
To post a comment you must log in.
Hello, After checking code, I found scenario maybe as below: error() in openstack_ dashboard/ dashboards/ project/ instances/ tables. py :get_data, also in openstack_ dashboard/ dashboards/ project/ instances/ tables. py :get_data, include delete, so "ERROR: Failed to launch instance" should be changed to "Unable to retrieve instance information"
verbose_ name = _("Instances")
status_ columns = ["status", "task"]
table_ actions_ menu = (StartInstance, StopInstance, SoftRebootInstance)
table_ actions = (LaunchLink, TerminateInstance, InstancesFilter Action)
CreateSnapsho t, SimpleAssociateIP, AssociateIP,
SimpleDisasso ciateIP, EditInstance,
DecryptInstan cePassword, EditInstanceSec urityGroups,
ConsoleLink, LogLink, TogglePause, ToggleSuspend,
ResizeLink, LockInstance, UnlockInstance,
SoftRebootIns tance, RebootInstance,
StopInstance, RebuildInstance, TerminateInstance)
1. "Failed to launch instance" only in get_instance_
2. get_instance_error only called in UpdateRow:
3. all the operation below related to UpdateRow:
class Meta:
name = "instances"
row_class = UpdateRow
row_actions = (StartInstance, ConfirmResize, RevertResize,