Feature #2568

Support for RBD Format 2 images

Added by Ruben S. Montero over 7 years ago. Updated over 7 years ago.

Status:ClosedStart date:12/13/2013
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Drivers - Storage
Target version:Release 4.6
Resolution:fixed Pull request:

Description

This will speedup cloning process of non-persistent images.

opennebula-4.4-cephdrivers-format2.tar.gz (7.38 KB) Bill Campbell, 12/13/2013 02:15 PM

Associated revisions

Revision cbb1d32b
Added by Bill Campbell over 7 years ago

Feature #2568: Support for RBD Format 2 images

Revision ae55d2b0
Added by Jaime Melis over 7 years ago

Feature #2568: Refactor RBD2 format contribution by Bill Campbell:

- Use BRIDGE_LIST instead of HOST
- Minimize the number of SSH connections
- Use default STAGING_DIR
- Add possibility to choose the RBD_FORMAT
- Add possibility to add "-O rbd" to the "rbd" command line args

Revision 97a44183
Added by Jaime Melis over 7 years ago

Feature #2568: RBD format 1 as default. Handle properly both formats

Revision 2aeb0353
Added by Jaime Melis over 7 years ago

Feature #2568: Fetch RBD format attribute from the VM in the TM scripts

History

#1 Updated by Bill Campbell over 7 years ago

Attached the tarball with the modified drivers for format 2 that are fully functional with 4.4

I think an image attribute/option for choice, and then a merging of existing production and this driver would be great.

(I used this for deployment in our environment, and we use SSH as the system datastore for Ceph, so there are pre/post migrate scripts in this as well. Doesn't really effect format 2 images, but could potentially be used as a basis for those that would like to utilize Ceph without requiring a shared system datastore).

#2 Updated by Ruben S. Montero over 7 years ago

  • Status changed from Pending to New

#3 Updated by Bill Campbell over 7 years ago

As an aside, newer versions of Ceph have a parameter in the ceph.conf that can set the default format of RBD images:

[client]
rbd default format = 2

I still think it would be great to have the option to select the format to have it managed by OpenNebula.

#4 Updated by Jaime Melis over 7 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Also available in: Atom PDF