cloudstack/plugins
Niels de Vos 14689d7810 Gluster should store volumes in qcow2 format
By default all network disks are in RAW format. Gluster works fine with
QCOW2 which has some advantages.

Disks are by default in QCOW2 format. It is possible to run into
a mismatch, where the disk is in QCOW2 format, but QEMU gets started
with format=raw. This causes the virtual machines to lockup on boot.

Failures to start a virtual machine can be verified by checking the log
of the virtual machine, and compare the output of 'qemu-img info'.

In /var/log/libvirt/qemu/<VM>.log find the URL for the drive:

    -drive file=gluster+tcp://...,format=raw,..

Compare this with the 'qemu-img info' output of the same file, mounted
under /mnt/<pool-uuid>/<img-uuid>:

    # qemu-img info /mnt/<pool-uuid>/<img-uuid>
    ...
    file format: qcow2
    ...

This change makes passes the format when creating a disk located on RBD
(RAW only) and Gluster (QCOW2).

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2014-02-25 12:08:46 +01:00
..
acl/static-role-based All Checkstyle problems corrected 2013-12-12 12:26:07 -08:00
affinity-group-processors Reformat of source code to set a stable base for the future. I couldn't get checkstyle enabled. There's still about a thousand errors from checkstyle. Most of it from length errors from comments and strings. Will attempt to remove those tonight. This change is so large I just want to get it in before any merge nightmares. The changes are fairly minor though and I did a full compile and start a server with the reformat code. 2013-11-21 07:56:47 -08:00
alert-handlers Reformat of source code to set a stable base for the future. I couldn't get checkstyle enabled. There's still about a thousand errors from checkstyle. Most of it from length errors from comments and strings. Will attempt to remove those tonight. This change is so large I just want to get it in before any merge nightmares. The changes are fairly minor though and I did a full compile and start a server with the reformat code. 2013-11-21 07:56:47 -08:00
api All Checkstyle problems corrected 2013-12-12 12:26:07 -08:00
dedicated-resources Findbugs - Long equality fix. 2014-02-14 18:37:45 +01:00
deployment-planners All Checkstyle problems corrected 2013-12-12 12:26:07 -08:00
event-bus Fixes on Contrail and Mon InMemory plugins; adding comments about the changes. 2014-02-14 18:37:47 +01:00
file-systems/netapp All Checkstyle problems corrected 2013-12-12 12:26:07 -08:00
ha-planners/skip-heurestics CLOUDSTACK-4941: 2013-12-18 16:27:20 -08:00
host-allocators/random Reformat of source code to set a stable base for the future. I couldn't get checkstyle enabled. There's still about a thousand errors from checkstyle. Most of it from length errors from comments and strings. Will attempt to remove those tonight. This change is so large I just want to get it in before any merge nightmares. The changes are fairly minor though and I did a full compile and start a server with the reformat code. 2013-11-21 07:56:47 -08:00
hypervisors Gluster should store volumes in qcow2 format 2014-02-25 12:08:46 +01:00
network-elements Fixed allocatePublicIp call done from CiscoVnmcElement 2014-02-21 21:03:04 -08:00
storage Add support for Primary Storage on Gluster using the libvirt backend 2014-02-20 14:52:01 +01:00
storage-allocators/random Reformat of source code to set a stable base for the future. I couldn't get checkstyle enabled. There's still about a thousand errors from checkstyle. Most of it from length errors from comments and strings. Will attempt to remove those tonight. This change is so large I just want to get it in before any merge nightmares. The changes are fairly minor though and I did a full compile and start a server with the reformat code. 2013-11-21 07:56:47 -08:00
user-authenticators Fixed unittest 2014-01-21 20:05:16 -08:00
pom.xml Slight optimization, don't run checkstyle on container or non-java projects. 2014-02-18 12:24:11 +01:00