Sanjay Tripathi created CLOUDSTACK-7940:
-------------------------------------------
Summary: Exception printed completely on the UI. Not in a readable
format
Key: CLOUDSTACK-7940
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7940
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: API
Affects Versions: 4.5.0
Reporter: Sanjay Tripathi
Assignee: Sanjay Tripathi
Fix For: 4.6.0
Steps:
===========================================
1. Brought up a setup with 2 host and installed a windows 2012 VM (VM did not
have the tools installed at this point of time)
2. Migrated the VM to another host and observed the following exception on the
UI.
[Please see the attached screenshot.]
2014-11-10 06:13:38,432 WARN [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-374:ctx-dde7176f) Unable to migrate VM(i-2-6-VM) from
host(689bc2d8-f9f1-48d4-ad13-a35605ea005c) due to Task failed! Task record:
uuid: 75321ebd-30eb-32db-fb09-1db3fa0af65d
nameLabel: Async.VM.pool_migrate
nameDescription:
allowedOperations: []
currentOperations: {}
created: Mon Nov 10 06:13:37 UTC 2014
finished: Mon Nov 10 06:13:37 UTC 2014
status: failure
residentOn: com.xensource.xenapi.Host@f8cb719f
progress: 1.0
type: <none/>
result:
errorInfo: [VM_MISSING_PV_DRIVERS,
OpaqueRef:da164d58-b78f-965d-2726-5507f932c81a]
otherConfig: {}
subtaskOf: com.xensource.xenapi.Task@aaf13f6f
subtasks: []
Task failed! Task record: uuid:
75321ebd-30eb-32db-fb09-1db3fa0af65d
nameLabel: Async.VM.pool_migrate
nameDescription:
allowedOperations: []
currentOperations: {}
created: Mon Nov 10 06:13:37 UTC 2014
finished: Mon Nov 10 06:13:37 UTC 2014
status: failure
residentOn: com.xensource.xenapi.Host@f8cb719f
progress: 1.0
type: <none/>
result:
errorInfo: [VM_MISSING_PV_DRIVERS,
OpaqueRef:da164d58-b78f-965d-2726-5507f932c81a]
otherConfig: {}
subtaskOf: com.xensource.xenapi.Task@aaf13f6f
subtasks: []
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.checkForSuccess(CitrixResourceBase.java:3190)
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.migrateVM(CitrixResourceBase.java:3343)
Observed behavior:
=====================================================
Full exception is seen on the UI.
Expected behavior:
=====================================================
A proper non-generic error message should be displayed on the screen instead of
an exception.
This is applicable to other scenarios where the exception is printed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)