openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #00936
Re: Decoupling of Network and Compute services for the new Network Service design
On Feb 23, 2011, at 12:26 PM, Vishvananda Ishaya wrote:
> 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.
>
> I think ultimately 3 is probably the best solution, but for now I suggest 2 as a middle ground between easy and best.
Currently, #2 is the approach being designed and developed, fwiw.
-- Ed Leafe
References