You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Jessica Wang (JIRA)" <ji...@apache.org> on 2013/07/27 01:25:48 UTC

[jira] [Resolved] (CLOUDSTACK-3713) scaling up system vm is successful but UI popup message "Failed to scale vm"

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-3713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jessica Wang resolved CLOUDSTACK-3713.
--------------------------------------

    Resolution: Incomplete
      Assignee: Jessica Wang

Prashant,

Please provide API call and API response.

Something like this:

http://10.216.133.43:8080/client/api?command=disableAccount&response=json&sessionkey=oa%2BYgabi7vLpI9kTiXBCAXweAY8%3D&lock=false&domainid=25a1e8b0-6cce-44cb-b724-8f5543fd85b8&account=bbb_user&_=1374879510182
{
    "disableaccountresponse": {
        "jobid": "55b74210-d181-4c9e-8226-75ba4b2b0c5f"
    }
}

http://10.216.133.43:8080/client/api?command=queryAsyncJobResult&jobId=55b74210-d181-4c9e-8226-75ba4b2b0c5f&response=json&sessionkey=oa%2BYgabi7vLpI9kTiXBCAXweAY8%3D&_=1374879513399
{
    "queryasyncjobresultresponse": {
        "accountid": "207fc526-efff-11e2-9472-3c970e739c3e",
        "userid": "20800090-efff-11e2-9472-3c970e739c3e",
        "cmd": "org.apache.cloudstack.api.command.admin.account.DisableAccountCmd",
        "jobstatus": 1,
        "jobprocstatus": 0,
        "jobresultcode": 0,
        "jobresulttype": "object",
        "jobresult": {
            "account": {
                "id": "7005b368-5da6-4a8b-a588-e7c5c113c40e",
                "name": "bbb_user",
                "accounttype": 0,
                "domainid": "25a1e8b0-6cce-44cb-b724-8f5543fd85b8",
                "domain": "bbb",
                "vmlimit": "20",
                "vmtotal": 0,
                "vmavailable": "20",
                "iplimit": "20",
                "iptotal": 0,
                "ipavailable": "16",
                "volumelimit": "20",
                "volumetotal": 0,
                "volumeavailable": "20",
                "snapshotlimit": "20",
                "snapshottotal": 0,
                "snapshotavailable": "20",
                "templatelimit": "20",
                "templatetotal": 0,
                "templateavailable": "20",
                "projectlimit": "Unlimited",
                "projecttotal": 0,
                "projectavailable": "Unlimited",
                "networklimit": "20",
                "networktotal": 0,
                "networkavailable": "20",
                "cpulimit": "40",
                "cputotal": 0,
                "cpuavailable": "40",
                "memorylimit": "40960",
                "memorytotal": 0,
                "memoryavailable": "40960",
                "primarystoragelimit": "200",
                "primarystoragetotal": 0,
                "primarystorageavailable": "200",
                "secondarystoragelimit": "400",
                "secondarystoragetotal": 0,
                "secondarystorageavailable": "400",
                "state": "disabled",
                "user": [
                    {
                        "id": "53d52b5e-3cd8-40cc-a242-3df15f4417fb",
                        "username": "bbb_user",
                        "firstname": "John",
                        "lastname": "Smith",
                        "email": "bbb_user@gmail.com",
                        "created": "2013-07-25T09:40:36-0700",
                        "state": "enabled",
                        "account": "bbb_user",
                        "accounttype": 0,
                        "domainid": "25a1e8b0-6cce-44cb-b724-8f5543fd85b8",
                        "domain": "bbb",
                        "accountid": "7005b368-5da6-4a8b-a588-e7c5c113c40e",
                        "iscallerchilddomain": false,
                        "isdefault": false
                    }
                ],
                "isdefault": false
            }
        },
        "created": "2013-07-26T15:58:40-0700",
        "jobid": "55b74210-d181-4c9e-8226-75ba4b2b0c5f"
    }
}


Jesisca

                
> scaling up system vm is successful but UI  popup message "Failed to scale  vm"
> ------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3713
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3713
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: UI
>    Affects Versions: 4.2.0
>         Environment: hypervisor vmware esxi4.1
>            Reporter: prashant kumar mishra
>            Assignee: Jessica Wang
>             Fix For: 4.2.0
>
>         Attachments: Logs_DB.rar, screenshot-1.jpg
>
>
> Steps to reproduce
> -----------------------------
> 1-Prepare a CS setup with vmware esxi5.1
> 2-create system offering for ssvm and cpvm
> 3-Try to scale up ssvm /cpvm
> Actual
> -------------
> scaling up was successful but UI popup message "Failed to scale up vm"

--
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