Fixes a typo preventing attaching RBD volumes.

A typo in spelling 'rbd' as 'rdb' prevents attaching RBD volumes
to instances.

Fixes bug 900359.

Change-Id: I872369a21b5935c37c4299f3f748d2d133a78bb3
This commit is contained in:
François Charlier 2011-12-05 17:26:44 +01:00
parent 803f6f6af7
commit 35df6a4714
3 changed files with 3 additions and 2 deletions

View File

@ -47,6 +47,7 @@ Eldar Nugaev <reldan@oscloud.ru>
Eric Day <eday@oddments.org>
Eric Windisch <eric@cloudscaling.com>
Ewan Mellor <ewan.mellor@citrix.com>
François Charlier <francois.charlier@enovance.com>
Gabe Westmaas <gabe.westmaas@rackspace.com>
Gary Kotton <garyk@radware.com>
Hisaharu Ishii <ishii.hisaharu@lab.ntt.co.jp>

View File

@ -139,7 +139,7 @@ flags.DEFINE_list('libvirt_volume_drivers',
['iscsi=nova.virt.libvirt.volume.LibvirtISCSIVolumeDriver',
'local=nova.virt.libvirt.volume.LibvirtVolumeDriver',
'fake=nova.virt.libvirt.volume.LibvirtFakeVolumeDriver',
'rdb=nova.virt.libvirt.volume.LibvirtNetVolumeDriver',
'rbd=nova.virt.libvirt.volume.LibvirtNetVolumeDriver',
'sheepdog=nova.virt.libvirt.volume.LibvirtNetVolumeDriver'],
'Libvirt handlers for remote volumes.')
flags.DEFINE_string('default_local_format',

View File

@ -260,7 +260,7 @@ class VolumeManager(manager.SchedulerDependentManager):
driver_volume_type: a string to identify the type of volume. This
can be used by the calling code to determine the
strategy for connecting to the volume. This could
be 'iscsi', 'rdb', 'sheepdog', etc.
be 'iscsi', 'rbd', 'sheepdog', etc.
data: this is the data that the calling code will use to connect
to the volume. Keep in mind that this will be serialized to
json in various places, so it should not contain any non-json