The documentation for using rbd together with openstack havana/icehouse
states that the parameter libvirt_disk_cachemodes should be added to
the nova.conf file. However, this is the only parameter that has no
legacy name with a 'libvirt_' prefix. (See
https://github.com/openstack/nova/blob/icehouse-eol/nova/virt/libvirt/driver.py#L252
for the configuration option)
Thus the configured disk_cachemodes were not applied, defaulting to
no caching.
Fixes: #17978
Signed-off-by: Michael Eischer <michael.eischer@fau.de>
OpenStack Mitaka introduced the support of RBD snapshots while taking a
snapshot of a Nova instance. For this to work we need to grant write
access to the Glance pool to the Cinder key.
Signed-off-by: Sébastien Han <seb@redhat.com>
As of the Mitaka release show_image_direct_url is not needed, but
instead show_multiple_locations should be used.
Adding the necessary guidance for Mitaka release.
Signed-off-by: Sébastien Han <seb@redhat.com>
Original configuration is not working
'enabled_backends' should be changed accordingly
Signed-off-by: RustShen <rustinpeace@163.com>
Update rbd-openstack.rst
Update the OpenStack doc with more options, recommendations and best
practices.
Update the Keystone configuration for the Kilo release with Rados
Gateway.
Signed-off-by: Sébastien Han <seb@redhat.com>
To actually get the benefit of writeback caching, qemu must be
aware of it so it pases flushes to rbd. Since hammer rbd caching
is enabled by default, so add the nova option to make qemu aware
of it.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Glance has not completely moved to 'store' yet so we need to configure
the store in the DEFAULT section as well.
Fixes: #10478
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Juno is now using a section for configuring the stores, so let's use it.
Put spaces between flag and value for clarity and readibility.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Enabling the RBD cache improves sequential IOs and the socket helps a
lot while troubleshooting. These 2 items are considered as best
practice for OpenStack deployments with Ceph.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
This commit introduces some updates for the OpenStack Juno release. New
flags have been added, many trailing spaces were removed and a new
recommendation for Glance cache management has been added too.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Some updates from Icehouse, best practice configurations and
explanations.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Conflicts:
doc/rbd/rbd-openstack.rst
New features appeared during the Havana cycle.
This patch offers a general update of the doc.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
This cannot work because client.volumes.key is not a command
ssh {your-compute-host} client.volumes.key
replace with a tee to allow for copy/paste as well as using the
cat client.volumes.key
in the following lines.
Signed-off-by: Loic Dachary <loic@dachary.org>
Unprotect examines all pools, so use blanket x before 0.54. After
that, use class-read restricted by object_prefix to rbd_children.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Move client creation to the section on setting up client auth, so you
don't skip it if you already have pools created.
Move CEPH_ARGS setting to the section on configuring OpenStack, since
it's a change for the OpenStack services, not purely ceph client
configuration.
A couple people were confused by the placement of these parts, and
they make more sense in these sections.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
The default of 8 is virtually never the right answer. Require the initial
pg count to be explicitly provided.
Signed-off-by: Sage Weil <sage@inktank.com>