Split nova-compute package into nova-compute-{kvm,xen,etc.}

Bug #806911 reported by Soren Hansen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Wishlist
Unassigned
nova (Ubuntu)
Fix Released
Wishlist
Soren Hansen

Bug Description

We should split nova-compute into hypervisor-specific packages. The -kvm one will of course depend on libvirt and kvm, -xen will depend on libvirt and xen-hypervisor (or whatever it's called), -xenserver can depend on other things, etc.

Each can provide an /etc/nova/nova-hypervisor.conf and /etc/nova/nova.conf can specify that as a flagfile (I believe those can be nested, although I've not actually tried).

Tags: server-o-rs

Related branches

Revision history for this message
Thierry Carrez (ttx) wrote :

Sounds like something we should track using a blueprint... Would that allow to run different hypervisors in parallel ? If not, what is the rationale ?

Revision history for this message
Paul Voccio (pvo) wrote :

Thierry,

Is the question would you run KVM and Xen at the same time on the same box? Would we want to support this configuration?

We can work with Soren on the XenServer requirements.

Revision history for this message
Thierry Carrez (ttx) wrote :

No, my question was about running different types of compute nodes to offer different types of virtualization for users (for example running a KVM node and an LXC node, and be able to request instances of one or the other from the API).

But rereading the bug description, I think that's unrelated... but rather a packaging improvement to make sure we don't have crazy depends on a generic "compute node".

Revision history for this message
Jesse Andrews (anotherjesse) wrote :

This is to split the package into nova-compute-{ ... } not the service.

This is so that when you install nova-compute-xenserver you don't get the requirements for nova-compute-kvm, ...

summary: - Split nova-compute into nova-compute-{kvm,xen,etc.}
+ Split nova-compute package into nova-compute-{kvm,xen,etc.}
Revision history for this message
Jesse Andrews (anotherjesse) wrote :

Do we we need to separate conf files for each hypervisor packaging?

You won't install xenserver and kvm at the same time.

Revision history for this message
Paul Voccio (pvo) wrote :

@anotherjesse. Agree with the clarification that we're not splitting the service but the packaging. I don't think we'd need to have separate named config files. I'd hope the configs that come with my compute package have sane defaults and would work without having to look for a myriad of config files.

/etc/nova/nova.conf should be enough.

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Wishlist
status: New → Confirmed
Changed in nova (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
Thierry Carrez (ttx)
Changed in nova (Ubuntu):
assignee: nobody → Soren Hansen (soren)
status: Confirmed → In Progress
Dave Walker (davewalker)
tags: added: server-o-rs
Thierry Carrez (ttx)
Changed in nova (Ubuntu):
status: In Progress → Fix Released
Thierry Carrez (ttx)
Changed in nova:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.