Enable RBD tuning options in Qemu
The RBD QEMU driver supports some nice options (such as caching). I would be nice to take advantage of these options since nova doesn't support this yet.
Currently the XML file while booting from volume looks like this:
<disk type="network" device="disk">
<driver name="qemu" type="raw" cache="none"/>
<source protocol="rbd" name="cinder-
<auth username="admin">
<secret type="ceph" uuid="4ea5bfc1-
</auth>
<target bus="virtio" dev="vda"/>
<
</disk>
But the most interesting line is:
<source protocol="rbd" name="cinder-
Typically QEMU with RBD supports options like:
<source protocol="rbd" name="cinder-
To see the list of all available options, get a look at http://
Thus it would be nice to add a flag in nova.conf let's say rbd_options and pass it as many options as we want. This might look like:
rbd_options=
Cheers.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
-
Unknown
- Milestone target:
- None
- Started by
- Completed by
- Sébastien Han
Related branches
Related bugs
Sprints
Whiteboard
[Xiaoxi]
Such tuning option shoud reside in cinder as attach option, and tell nova when the volume is attaching. Please take a look at the bp https:/
[leseb]
That makes sense, thanks for the pointer.
[jdurgin]
Unfortunately libvirt 1.0.6 removed the ability to specify these outside of the default ceph config file - http://