nova-network cannot re-generate MAC address if collision happen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Dan Smith | ||
Folsom |
Fix Released
|
Medium
|
Dan Smith | ||
nova (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
the flag "create_
when collision occurs, it will raise DBError rather than IntegrityError.
2012-09-30 16:02:22 TRACE nova.rpc.amqp Traceback (most recent call last):
2012-09-30 16:02:22 TRACE nova.rpc.amqp File "/usr/lib/
2012-09-30 16:02:22 TRACE nova.rpc.amqp rval = node_func(
2012-09-30 16:02:22 TRACE nova.rpc.amqp File "/usr/lib/
2012-09-30 16:02:22 TRACE nova.rpc.amqp return func(self, context, *args, **kwargs)
2012-09-30 16:02:22 TRACE nova.rpc.amqp File "/usr/lib/
2012-09-30 16:02:22 TRACE nova.rpc.amqp **kwargs)
2012-09-30 16:02:22 TRACE nova.rpc.amqp File "/usr/lib/
2012-09-30 16:02:22 TRACE nova.rpc.amqp return func(self, context, *args, **kwargs)
2012-09-30 16:02:22 TRACE nova.rpc.amqp File "/usr/lib/
2012-09-30 16:02:22 TRACE nova.rpc.amqp self._allocate_
2012-09-30 16:02:22 TRACE nova.rpc.amqp File "/usr/lib/
2012-09-30 16:02:22 TRACE nova.rpc.amqp self.add_
2012-09-30 16:02:22 TRACE nova.rpc.amqp File "/usr/lib/
2012-09-30 16:02:22 TRACE nova.rpc.amqp return self.db.
2012-09-30 16:02:22 TRACE nova.rpc.amqp File "/usr/lib/
2012-09-30 16:02:22 TRACE nova.rpc.amqp return IMPL.virtual_
2012-09-30 16:02:22 TRACE nova.rpc.amqp File "/usr/lib/
2012-09-30 16:02:22 TRACE nova.rpc.amqp retval = function(*args, **kwargs)
2012-09-30 16:02:22 TRACE nova.rpc.amqp File "/usr/lib/
2012-09-30 16:02:22 TRACE nova.rpc.amqp return f(*args, **kwargs)
2012-09-30 16:02:22 TRACE nova.rpc.amqp File "/usr/lib/
2012-09-30 16:02:22 TRACE nova.rpc.amqp vif_ref.save()
2012-09-30 16:02:22 TRACE nova.rpc.amqp File "/usr/lib/
2012-09-30 16:02:22 TRACE nova.rpc.amqp session.flush()
2012-09-30 16:02:22 TRACE nova.rpc.amqp File "/usr/lib/
2012-09-30 16:02:22 TRACE nova.rpc.amqp raise DBError(e)
2012-09-30 16:02:22 TRACE nova.rpc.amqp DBError: (IntegrityError) (1062, "Duplicate entry 'fa:16:3e:37:7f:c4' for key 'address'") 'INSERT INTO virtual_interfaces (created_at, updated_at, deleted_at, deleted, address, network_id, instance_id, uuid) VALUES (%s, %s, %s, %s, %s, %s, %s, %s)' (datetime.
2012-09-30 16:02:22 TRACE nova.rpc.amqp
tags: | added: folsom-backport-potential |
tags: | removed: folsom-backport-potential |
Changed in nova: | |
milestone: | none → grizzly-1 |
status: | Fix Committed → Fix Released |
Changed in nova (Ubuntu): | |
status: | New → Fix Released |
Changed in nova (Ubuntu Quantal): | |
status: | New → Confirmed |
tags: | removed: in-stable-folsom |
Changed in nova: | |
milestone: | grizzly-1 → 2013.1 |
Confirmed in current master that db.virtual_ interface_ create is catching IntegrityError, instead of the raised DBError.