cloudstack-issues mailing list archives

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

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

Thomas commented on CLOUDSTACK-9311:
------------------------------------

Hi Wei,

as user there is no information available about hypervisor, only as admin user.

The volume state is: Ready

> 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