GitHub user wido opened a pull request:
https://github.com/apache/cloudstack/pull/2039
rbd: Use libvirt to create new volumes and not rados-java
Since libvirt 1.2.2 libvirt will properly create volumes
using RBD format 2.
We can use libvirt to creates the volumes which strips a bit of
code from the CloudStack Agent's responsbility.
RBD format 2 is already used by all volumes created by CloudStack.
This format is the most recent format of RBD and is still actively
being developed.
This removes the support for Ubuntu 12.04 as that does not have the
proper libvirt version available.
Signed-off-by: Wido den Hollander <[email protected]>
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wido/cloudstack rbd-create-libvirt
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/2039.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2039
----
commit 808e88c7fcc17b38319f6e3c9f9f5a941bc8ebaa
Author: Wido den Hollander <[email protected]>
Date: 2017-03-28T12:22:58Z
rbd: Use libvirt to create new volumes and not rados-java
Since libvirt 1.2.2 libvirt will properly create volumes
using RBD format 2.
We can use libvirt to creates the volumes which strips a bit of
code from the CloudStack Agent's responsbility.
RBD format 2 is already used by all volumes created by CloudStack.
This format is the most recent format of RBD and is still actively
being developed.
This removes the support for Ubuntu 12.04 as that does not have the
proper libvirt version available.
Signed-off-by: Wido den Hollander <[email protected]>
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---