Darren Worrall created CLOUDSTACK-8732:
------------------------------------------
Summary: Unable to resize RBD volume: "Cannot determine resize
type from pool type RBD"
Key: CLOUDSTACK-8732
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8732
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Affects Versions: 4.5.1
Environment: Ubuntu 14.04, libvirt 1.2.2, qemu 2.0.0, ceph 0.94.2,
Cloudstack 4.5.1, Kernel 3.16.0, KVM hypervisor
Reporter: Darren Worrall
First time reporter, so apologies early on if I've gotten anything wrong here.
While trying to resize a RBD backed volume in our 4.5.1 installation (using the
{{resizeVolume}} api call), the job fails with the error above. A [pull
request|https://github.com/apache/cloudstack/pull/281] was merged in this space
but it seems incomplete - you can see that {{getResizeScriptType}} in the
source branch [returns
null|https://github.com/remibergsma/cloudstack/blob/a26bbc2ce2f99e706895f9c0bbc6bdb5a522c37f/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java#L1824],
but currently in master the above exception [is
thrown|https://github.com/apache/cloudstack/blob/792c27c9bd97bc703ceb28fa8db24db7d0d46012/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java#L1428]
You can see a management server log snippet
[here|https://gist.githubusercontent.com/DazWorrall/3bfcb153dea8b137f38b/raw/1f41096b247221e26b5407ae777f5fe278614d54/management-server.log],
compete with traces.
This was discussed on the [mailing
list|http://mail-archives.us.apache.org/mod_mbox/cloudstack-dev/201505.mbox/%3ccamvtbpou4tkan2kzknzpl0scu3y032ghu3av2qzgtsfas3t...@mail.gmail.com%3E]
but I cant see if anything came of it. I can confirm the findings there though
- going underneath Cloudstack and dealing with libvirt directly works fine, I
can live resize root and data volumes without issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)