You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Wei Zhou (JIRA)" <ji...@apache.org> on 2016/03/18 15:50:33 UTC
[jira] [Commented] (CLOUDSTACK-9311) User cant resize VM root disk
for XenServer
[ https://issues.apache.org/jira/browse/CLOUDSTACK-9311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15201572#comment-15201572 ]
Wei Zhou commented on CLOUDSTACK-9311:
--------------------------------------
on the volume details page, is the Hypervisor correct ?
what 's the volume state ?
> 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)