cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9311) User cant resize VM root disk for XenServer
Date Mon, 21 Mar 2016 07:14:25 GMT

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

Wei Zhou commented on CLOUDSTACK-9311:
--------------------------------------

@Thomas good to know it is an issue for normal users, not admin.
this UI issue also exist for kvm/vmware.

> User cant resize VM root disk for XenServer
> -------------------------------------------
>
>                 Key: CLOUDSTACK-9311
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9311
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: XenServer
>    Affects Versions: 4.8.0
>         Environment: Redundant MGMT-Servers, Xenserver Cluster
>            Reporter: Thomas
>
> A user can`t resize the root disk of a vm via gui.
> We found a temporarily bugfix:
> /usr/share/cloudstack-management/webapps/client/scripts/storage.js
> From:
>         if (jsonObj.hypervisor == "KVM" || jsonObj.hypervisor == "XenServer" || jsonObj.hypervisor
== "VMware") {
>             if (jsonObj.state == "Ready" || jsonObj.state == "Allocated") {
>                 allowedActions.push("resize");
>             }
>         }
> To:
> //        if (jsonObj.hypervisor == "KVM" || jsonObj.hypervisor == "XenServer" || jsonObj.hypervisor
== "VMware") {
>             if (jsonObj.state == "Ready" || jsonObj.state == "Allocated") {
>                 allowedActions.push("resize");
>             }
> //        }
> Attention, there is also a .gz version of that file, you need to move it away or recreate
it with the adjustments.
> So we think there must be a problem with the:
> jsonObj.hypervisor var => not filled or wrong filled or so..



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message