Nux created CLOUDSTACK-9115:
-------------------------------

             Summary: ROOT volumes do not get resized when the KVM instance is 
stopped
                 Key: CLOUDSTACK-9115
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9115
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: KVM, Volumes
    Affects Versions: 4.6.0
         Environment: CentOS 6 mgmt and HVs
            Reporter: Nux


Resizing the ROOT volume in 4.6.0 is failing silently (cloudmonkey reports no 
errors).
Everything seems to be doing their job, except 
/usr/share/cloudstack-common/scripts/storage/qcow2/resizevolume.sh on the agent 
side. 

No errors are generated, log looks like this:
http://fpaste.org/298114/48862614/raw/

The end result is the disk has the same size as before and Cloudstack does not 
report a changed size either, at least we have consistency. :-)

However, IF I replace the script with the one from my production 4.4 version, 
resizing works for offline VMs. This is the script:
http://paste.fedoraproject.org/298111/94873831/raw/

The diff seems to be (I've added "set -x" to both, ignore that):
18a19
> set -x
247c248,251
<   resizeqcow2
---
>   notifyqemu
> elif [ "$ptype" == "NOTIFYONLY" ]
> then
>   notifyqemu


Regression?



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

Reply via email to