In the original file, the increasing and decreaing of the size of the rbd block shares the same option:
"rbd resize --size 2048 foo".
However, it is not proper, as the "--allow-shrink" needs to be added while decreasing the size of the rbd block.
As a result, it is necessary to make a distinguish between these two options as follows:
"rbd resize --size 2048 foo (to increase)"
"rbd resize --size 2048 foo --allow-shrink (to decrease)"
Signed-off-by: Yehua <chen.yehua@h3c.com>
Elaborates the note section a bit more as to why stopping I/O before
taking a snapshot is recommended and how to do it.
Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
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>
Fix the typo in doc/rbd/rados-rbd-cmds.rst, also add explanation/example
when creating an image without specifying pool.
Signed-off-by: Frank Yu <flyxiaoyu@gmail.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>
The "fqdn" (fully-qualified domain name) was misspelled in a couple
places as fgdn". Use the correct spelling.
Signed-off-by: Ken Dreyer <kdreyer@redhat.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
Looks like 'foo' is a leftover, see commit ea9fc87d89 ("doc: Removed
foo. Apparently myimage was added and foo not removed.").
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
rbd binary will load rbd.ko itself, with appropriate options. Loading
it by hand with default options is undesirable.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>