OpenNebula 4.0 RC is Out for Testing!

April 19th, 2013. OpenNebula 4.0 RC (3.9.90) is a feature-complete preview of the upcoming OpenNebula 4.0. This release fixes most of the bugs reported since the Beta release and brings some features that did not make in the Beta release, like for example more VM operations and the new Sunstone views to customize the GUI for different users or user groups, so the interface implements the provisioning model for each role. Sunstone views replaces the 3.x self-service portal. You have all the details in the OpenNebula 4.0 RC Release Notes.

OpenNebula 4.0 includes new features, like a complete facelift of the web interface (Sunstone), NIC hotplug, VM action scheduling, VM snapshotting, more consistent action naming, outsider VMs tracking (wild and zombie VMs), new drivers for Ceph backends, and a myriad of bug fixes and minor enhancements.

Although this release is considered stable, we are still fixing some bugs and it is aimed at testers and developers to try the new features. Your feedback is more than welcomed for the final release.

Relevant Links

Loadays and CentOS Dojo Aftermath

This past weekend Loadays took place in Antwerp, Belgium, followed by CentOS Dojo on Monday. OpenNebula participated in both events, giving a talk on OpenNebula Fundamentals, a 3 hour OpenNebula Tutorial, and a talk on KVM Optimizations using CentOS and OpenNebula.

The whole experience of both events has been wonderful. The audience was involved, engaged, friendly, gave a wonderful amount of feedback, so, big thanks to you all for continously making OpenNebula a better product, for all those great conversations and for all the interest. We are very much looking forward to participate in future editions of Loadays and CentOS Dojo, and to possibly host a CentOS Dojo edition in the future!


Special thanks to the organizers of both events: Kris Buytaert (@KrisBuytaert), Toshaan Bharvani (@toshywoshy), Karanbir Singh (@kbsingh) and the great guys of the venue, the Don Bosco school: Robert Keersse (@RobertKeersse).

Oh, did we mention already that every speaker got a Raspberry Pi?

Ceph Support in OpenNebula 4.0

Written in conjunction with scuttlemonkey (Patrick McGarry), of the Ceph Project, and cross-posted on the Ceph blog.

scuttlemonkey: “The Ceph team has been extremely blessed with the number of new people who choose to become involved with our community in some way. Even more exciting are the sheer numbers of people committing code and integration work, and the folks from OpenNebula are a great example of this in action.

At the end of February, one of the OpenNebula developers reached out to let us know that their integration work with Ceph was nearly complete. Below you can find a brief overview of how Ceph behaves in an OpenNebula environment, as well as a link to how to get it set up. Read on for details!”

It’s worth noting that the 4.0 release is still in beta and there was a bug discovered in the Ceph driver. Thankfully this has a workaround noted in the doc as well as a fix already committed for the release. If you have any issues feel free to stop by the #opennebula channel and let them know.

OpenNebula continues with its growing support of new storage technologies. OpenNebula 4.0 comes with a fresh integration with Ceph, an impressive distributed object store and file system.

OpenNebula provides an interface for Ceph RBDs (RADOS Block Device), which allows registering images directly in a Ceph pool, and running VMs using that backend.

There is an extensive Ceph for OpenNebula guide, but it can be summarized as follows:

  • OpenNebula worker nodes should be part of a working Ceph cluster.
  • The ”one” Ceph pool should be available (the name is configurable).
  • Use Libvirt/KVM as the hypervisor. Xen is not yet supported.

Once we have that up and running using it is extremely simple!

  1. Make sure we have the ”one” Ceph pool
    $ ceph osd lspools
    0 data,1 metadata,2 rbd,3 one,
  2. Create a Ceph datastore
    $ cat ceph.one
    NAME      = ceph
    DS_MAD    = ceph
    TM_MAD    = ceph
    
    DISK_TYPE = RBD
    
    HOST = ceph0
    POOL_NAME = one
    SAFE_DIRS="/"
    
    $ onedatastore create ceph.one
    ID: 101
  3. Register an image
    $ oneimage create --name centos-6.4 --path /tmp/centos-6.4.img -d ceph
    ID: 4
  4. Run your VM
    $ onevm create --name centos-6.4 --cpu 1 --memory 768 --nic 1 --disk centos-6.4 --nic net_172
    ID: 10

What happens behind the scenes is that OpenNebula interacts with the Ceph cluster and clones the base image. The Libvirt/KVM deployment file uses that clone image as the OS:

    <disk type='network' device='disk'>
        <source protocol='rbd' name='one/one-4-10-0' />
        <target dev='hdb' bus='ide'/>
    </disk>

All the image handling and manipulation (cloning, renaming, removing, etc…) is performed in a specific server defined in the datastore template, in our case ”HOST = ceph0”, using the ”rbd” capabilities of ”qemu-img” the
registration of new images.

scuttlemonkey: “Thanks to the OpenNebula team for hammering out this integration, we love to see new use cases for Ceph!

If you have your own use case story, we would love to hear about it (and share it with the world). Feel free to drop us your thoughts in the form of a suggested blog title, raw data that you wish us to write some prose about, or a fully formed blog post that we can push out to the community. Thanks, and happy Ceph-ing.”

OpenNebula Speaking at LOAD Days and CentOS Dojo

The OpenNebula project will participate in two events that will take place the 6th-8th April in Antwerp, Belgium.

The first event will be LOAD days (Linux Open Administration Days), taking place the 6th and 7th April. There will be two OpenNebula talks as part of LOAD Days’ really cool program:

The other event will be CentOS Dojo, taking place the 8th April. An event oriented at bringing together people from the CentOS Communities.

  • Cloud environment with CentOS, OpenNebula and KVM. (1h talk)

It would be great to see you there!

New Datastore for Ceph in OpenNebula 4.0

OpenNebula 4.0 is around the corner and we wanted to give you a sneak peek on one of the upcoming new features: Ceph integration.

The new Ceph datastore driver will be initially available for libvirt/kvm, the support for Xen will come in subsequent versions. Users will be able to use it really easily, by using the standard OpenNebula workflow:

  1. Create a new image in the Ceph datastore,
  2. create a template using that image,
  3. and run the virtual machine!.

This driver uses libvirt to handle RBD devices (Ceph block devices) so simplifying a lot the Datatores and Transfer Manager drivers.

We would like to thank Grzegorz Kocur, Bill Campbell and Vladislav Gorbunov for their community contributions to develop this driver.

More about this in the OpenNebula Ceph Datastore documentation.

This new feature is ready to be tested in the ‘master’ branch.

Give it a try if you want!

OpenNebula talks @ FOSDEM ’13

We’re happy to announce that OpenNebula will participate in the next edition of FOSDEM ’13 which will be celebrated the 2 & 3 February 2013.

You will be able to find us in the Cloud and in the Cross distro developer rooms:

We will be very happy to see you there!

CentOS + OpenNebula feedback

OpenNebula is in its way to be included in the official CentOS repos. The packages are already in the ‘testing’ repo, and we need some feedback to move them to the official repos.
To make it more fun for everybody we will send an OpenNebula T-Shirt and some stickers to the 10 best feedbacks we receive by next monday!
Some guidelines:
Good luck!

OpenNebula Virtual Router

Using the power of OpenNebula’s contextualization we have built an appliance that when deployed in OpenNebula it will automatically configure a wide variety of networking services, namely:

  • DHCP server
  • NTP server
  • Public network masquerading
  • Port forwarding
  • DNS server

Using this virtual router is very easy: import the appliance to your local infrastructure, create a new template using this image and define the CONTEXT following the documentation.

Download

one-tools: A Collection of Scripts for OpenNebula CLI Administrators

One of the strong points of OpenNebula is its UNIXy feel. It’s easy to create scripts that wrap around OpenNebula CLI commands, using die-hard UNIX tools such as AWK, sed, etc, to do specific tasks. I would like to share a collection of scripts I’ve been using almost on a daily basis for quite a while now, that improves the user experience in the shell.

one-tools

Contributions, ideas and improvements are more than welcome. I’m looking forward to seeing (and including) your OpenNebula tricks and hacks in the shell!

OpenNebula 3.4.1 packages are now available in the openSUSE Build Service

OpenNebula’s openSUSE maintainer, Robert Schweikert, has just finished upgrading the packages to the latest OpenNebula 3.4.1 version.

You can download them from the openSUSE Build Service for SLES 11 SP1 & SP2, openSUSE 11.4 & 12.1 as well as openSUSE Factory.

He has also contributed some KIWI examples and the openSUSE install guide has been updated to reflect the latest changes.

Thanks!