← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 755138] Re: nova-manage network create is not atomic in the DB

 

Honestly, I don't think this going to be fixed prior to the network
layer leaving Nova. Just marking Won't Fix based on that fact.

** Changed in: nova
       Status: Triaged => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/755138

Title:
  nova-manage network create is not atomic in the DB

Status in OpenStack Compute (Nova):
  Won't Fix

Bug description:
  When creating a network (with FlatDHCPManager), _create_networks is
  called.  For each network, it creates a row in the network, and then
  it creates N fixed_ips.

  However, each of these inserts appears to be done as its own
  transaction.

  This is bad both from an error recovery point of view, but also all
  those commits hit the database pretty hard (particularly if you
  haven't tweaked your MySQL config!)

  I guess the session should be passed to the save() function, and I'm a
  little suspicious of our entire transaction handling in general...

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/755138/+subscriptions