Comment 10 for bug 1552680

Revision history for this message
John Schwarz (jschwarz) wrote :

I'm lost in my own train of thought, so a clarification - creating the actual ha network and ports happen in the create_router() logic, but binding them to an agent happens in the schedule()/auto_schedule() logic. Some patch proposal I wrote a while back changed the behaviour of the schedule() so that if the network doesn't exist - create it, herego my confusion. Still, auto_schedule() shouldn't assume the network exists (if it doesn't it will fail). Changing the code so that if an ha network will be created if it doesn't exist yet is racey - and a DLM will go a long way to fix it (as well as retrying...)