Backlog #1118

Sheepdog support.

Added by Markus Hubig over 9 years ago. Updated over 6 years ago.

Status:ClosedStart date:02/08/2012
Priority:LowDue date:
Assignee:-% Done:

100%

Category:Drivers - Storage
Target version:-

Description

I'm in the process of building a small private cloud for my company as part of a studie project. While I'm in the process
of evaluating the various cloud storage options sheepdog stands out for easy setup an scaling. Sheepdog provides a nativ
interface for creating, storing and using VM Images. It would be nice if we can use Sheepdog
with one. Since sheepdog is supported be QEMU/KVM and libvirt, this should be no big problem.

I can contribute the needed tm_sheep scripts as the use of sheepdog via qemu-img is as simple as:

qemu-img create sheepdog:Node01:7000:Platte.img 1G #creating
qemu-system-x86_64 sheepdog:ReactOS.img #using
qemu-img snapshot -c new_ReactOS.img sheepdog:Node01:7000:ReactOS.img #snapshoting

But I'm not sure if the image manager can handle these kind of things. Is it possible/usefull to replace/extend the one image
manager so it uses the build in capabilities of sheepdog to manage the list of images collie vdi list?

And last but not least does the Sunstone GUI Server needs some fixes for that?

datastore.sheepdog.patch Magnifier - sheepdog datastore (23.7 KB) Fabian Zimmermann, 05/25/2014 05:52 PM

scripts_common.sh.patch Magnifier - dog cmd (260 Bytes) Fabian Zimmermann, 05/25/2014 05:52 PM

Associated revisions

Revision b2fda993
Added by Ruben S. Montero over 6 years ago

feature #1118: Add default port to sheepdog domains

Revision 816ed7f6
Added by Ruben S. Montero over 6 years ago

feature #1118: Add default port to sheepdog domains

(cherry picked from commit b2fda993380b4c72a2a6d959e57d9ba1faa6d79c)

Revision fb31d5a2
Added by Carlos Martín over 6 years ago

Feature #1118: Undo lowercase type names

History

#1 Updated by Ruben S. Montero about 8 years ago

  • Tracker changed from Feature to Request
  • Category changed from Drivers - Auth to Drivers - Storage
  • Priority changed from High to Low

#2 Updated by Ruben S. Montero about 8 years ago

  • Tracker changed from Request to Backlog

#3 Updated by Ruben S. Montero about 8 years ago

  • Status changed from New to Pending

#4 Updated by Daniel Dehennin over 7 years ago

Hello,

I'm very interested by the support of sheepdog.

In a two nodes setup, it could have advantages on a DRBD, mostly when adding a new one ;-)

Is there any news for this feature?

Regards.

#5 Updated by Fabian Zimmermann about 7 years ago

Hi @all,

attached you find my patch to add sheepdog support at least to datastores (create, clone, delete images/files/x..).

I will continue to work to get the other parts working, too.

@Markus: How far are you in developing the "tm_sheep"-scripts?

Thanks,

Fabian

#6 Updated by Fabian Zimmermann about 7 years ago

ok, short status update.

  • patched tm_sheep-scripts, oned and sunstone of current git-HEAD
  • first VM deployed successfully.

will do some testing and then try to get my changes pushed to HEAD.

Please hold the line.

#7 Updated by Fabian Zimmermann about 7 years ago

just forked opennebula on github and created a merge-request.

https://github.com/OpenNebula/one/pull/25/files

Feel free to checkout my repo and use sheepdog as datastore in opennebula.

#8 Updated by Fabian Zimmermann over 6 years ago

  • Target version set to Release 4.12
  • % Done changed from 0 to 100

#9 Updated by Ruben S. Montero over 6 years ago

  • Status changed from Pending to Closed
  • Target version deleted (Release 4.12)

Fabian Zimmermann wrote:

https://github.com/OpenNebula/addon-sheepdog

This is fixed, isn't it?

indeed.

THANKS FOR YOUR CONTRIBUTION!!!

Also available in: Atom PDF