← Back to team overview

openstack team mailing list archive

Re: Decoupling of Network and Compute services for the new Network Service design

 

Hi Vish,

> We need some sort of supervisor to tell the network to allocate the network before dispatching a message to compute.  I see three possibilities (from easiest to hardest):
>
> 1. Make the call in /nova/compute/api.py (this code runs on the api host)
> 2. Make the call in the scheduler (the scheduler then becomes sort of a supervisor to make sure all setup occurs for a vm to launch)
> 3. Create a separate compute supervisor that is responsible for managing the calls to different components
>
> The easiest seems to be 1, but unfortunately it forces us to wait for the network allocation to finish before returning to the user which i dislike.

What is the problem with waiting for the network allocation?  I would
imagine that will be a quick operation.  (though it would depend on
the plugin implementation)

Cheers,
Dan



References