Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-9311

User cant resize VM root disk for XenServer

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.8.0
    • Fix Version/s: None
    • Component/s: XenServer
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None
    • Environment:
      Redundant MGMT-Servers, Xenserver Cluster
    • Flags:
      Patch

      Description

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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              disappear Thomas
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: