incubator-cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirk Kosinski (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-1754) Improve API/UI error messages for unsupported OS
Date Wed, 20 Mar 2013 23:17:15 GMT
Kirk Kosinski created CLOUDSTACK-1754:
-----------------------------------------

             Summary: Improve API/UI error messages for unsupported OS
                 Key: CLOUDSTACK-1754
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1754
             Project: CloudStack
          Issue Type: Improvement
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: API, UI
    Affects Versions: 4.0.0
            Reporter: Kirk Kosinski
            Priority: Minor


Currently if you attempt to deploy a VM using an OS type that is unsupported by the hypervisor,
the API and UI provide a generic error message:

Unable to create a deployment for VM[User|vmname]

The full API response:

{ "queryasyncjobresultresponse" : {"accountid":"fab9e8a0-8301-4dc6-9ff2-de38b4fa2109","userid":"400dacb5-0901-45c8-94b4-b2c6052ddb31","cmd":"com.cloud.api.commands.DeployVMCmd","jobstatus":2,"jobprocstatus":0,"jobresultcode":530,"jobresulttype":"object","jobresult":{"errorcode":533,"errortext":"Unable
to create a deployment for VM[User|vmname]"},"created":"2013-03-20T16:03:21-0700","jobid":"c65bd950-142b-4914-99d8-5ccf525ab61c"}
}

This will not help an end-user resolve the problem, so they will have to ask the CloudStack
administrator to look into the problem. The admin can easily find the problem in the management-server.log:

2013-03-20 16:04:43,730 WARN  [xen.resource.CitrixHelper] (DirectAgent-171:null) XenServer
6.0 DOES NOT support Guest OS type Fedora 9

However, this is a common problem and could be resolved by the end-user if they were given
additional information. Therefore it would be useful if the error shown in management-server.log
was also returned via API and UI.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message