You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/01/20 07:20:36 UTC

[jira] [Commented] (CLOUDSTACK-7940) Exception printed completely on the UI. Not in a readable format

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-7940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14283474#comment-14283474 ] 

ASF subversion and git services commented on CLOUDSTACK-7940:
-------------------------------------------------------------

Commit 8790b84b20dcf347459b5a69cb338a2f65af1414 in cloudstack's branch refs/heads/4.5 from [~sanjay.tripathi]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8790b84 ]

CLOUDSTACK-7940: Exception printed completely on the UI. Not in a readable format.

(cherry picked from commit dda29949366f16c06445dde9161c3b1151ed3f36)
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


> 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
>
>         Attachments: screenshot-1.png
>
>
> 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)