Full openvz support for nova

Registered by Daniel Salinas

Driver is working for debian based containers with multi-nic support. Some work has gone into external volume support but it is only working for iscsi volumes ATM.

Blueprint information

Status:
Complete
Approver:
Vish Ishaya
Priority:
Low
Drafter:
Daniel Salinas
Direction:
Approved
Assignee:
None
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
John Garbutt

Related branches

Sprints

Whiteboard

Driver is working for debian based containers with multi-nic support. Some work has gone into external volume support but it is only working for iscsi volumes ATM.

Current development is at:
https://github.com/imsplitbit/nova/tree/openvz_driver

Will be proposing for merge soon.

Excellent. I retargeted to essex-2. Let me know if that time frame seems reasonable. --Vish

Just an update for anyone tracking this blueprint. I have a 100% working version with essex and I am just working on getting the unittest coverage higher. I can create and delete working openvz containers using flat networking with injected networking template and using debian or debian variant OS. --imsplitbit

Blocked on testing infrestructure

Please note that while we are working hard at trying to find a solution to the blockage in testing we *do* have a working openvz driver for trunk. I'm not sure how best to expose this for everyone to play with so I've just setup a fork of nova with the driver in it. I will do my best to help anyone get it going and as always would love feedback on code style/function or even patches :-)

https://github.com/imsplitbit/nova/tree/openvz_support

Still blocked in testing infrastructure

---------------------------------
August, 2012

OpenVZ-enabled kernel is being compiled for Ubuntu, and works with Natty, Oneiric, and Precise. A clean host can be prepared for devstack + openvz by running this script, which will download the latest kernel, install it, and make a few other system changes necessary for openvz to work.
  https://raw.github.com/devananda/openvz-tools/master/prepare-host-for-devstack.sh

Also, devstack now supports the openvz nova driver. To use it after installing the kernel and preparing the host with the above script, add this to devstack/localrc.
  VIRT_DRIVER=openvz

For now, one must point devstack to a nova branch with the openvz driver in it, eg:
  NOVA_REPO=https://github.com/imsplitbit/nova.git
  NOVA_BRANCH=openvz_support

This should make it much simpler for anyone else to test this code. We are also working on smoke-testing and reporting back to review.openstack.org, but this is not done yet.

--Devananda

Gerrit topic: https://review.openstack.org/#q,topic:bp/openvz-driver,n,z

Addressed by: https://review.openstack.org/26090
    Adds openvz support to nova.

---------------------------------------
Code refactored to work with nova trunk. CRUD operations work as well as volume support.

---------------------------------------
Virt driver implementation has been rejected. Core team feels that we should fix all related bugs that exist in libvirt for controlling openvz and then reimplement the driver as it is within the current libvirt driver in nova.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.