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

User cant resize VM root disk for XenServer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.8.0
    • None
    • XenServer
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • Redundant MGMT-Servers, Xenserver Cluster
    • 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

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

            Dates

              Created:
              Updated: