IntegrityError after upgrading to 1.6beta5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Gavin Panella | ||
1.6 |
Fix Released
|
Critical
|
Gavin Panella |
Bug Description
I got this backtrace in maas.log when upgrading from 1.5.2+bzr2282-
ERROR 2014-07-18 10:03:34,155 twisted Unhandled Error
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.run()
File "/usr/lib/
self.
--- <exception caught here> ---
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
cursor.
File "/usr/lib/
return self.cursor.
File "/usr/lib/
six.
File "/usr/lib/
return self.cursor.
django.
DETAIL: Key (name, address, port)=(
Gavin debugged it for me in the mailing list. Turns out this machine has a duplicate ipv6 link-local address because of a bridge:
br0 Link encap:Ethernet HWaddr 00:23:55:2c:53:78
inet addr:10.1.0.1 Bcast:10.1.255.255 Mask:255.255.0.0
inet6 addr: fe80::223:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:88357707 errors:0 dropped:0 overruns:0 frame:0
TX packets:172662349 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:6541281459 (6.5 GB) TX bytes:306129483057 (306.1 GB)
eth0 Link encap:Ethernet HWaddr 78:2b:cb:8e:56:6b
inet addr:10.0.7.8 Bcast:10.0.7.255 Mask:255.255.255.0
inet6 addr: fe80::7a2b:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:83209393 errors:0 dropped:1869 overruns:0 frame:0
TX packets:44154022 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:120405683094 (120.4 GB) TX bytes:4738076825 (4.7 GB)
eth1 Link encap:Ethernet HWaddr 00:23:55:2c:53:78
inet6 addr: fe80::223:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:82937896 errors:3139 dropped:0 overruns:0 frame:3139
TX packets:188420263 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:6529695865 (6.5 GB) TX bytes:276815240088 (276.8 GB)
eth1 and br0 have the same inet6 addr, since they "share" the mac
# brctl show br0
bridge name bridge id STP enabled interfaces
br0 8000.0023552c5378 no eth1
Related branches
- Blake Rouse (community): Approve
- Raphaël Badin (community): Approve
-
Diff: 106 lines (+37/-6)3 files modifiedsrc/maasserver/rpc/regionservice.py (+15/-0)
src/maasserver/rpc/tests/test_regionservice.py (+19/-6)
src/maasserver/views/tests/test_rpc.py (+3/-0)
- Gavin Panella (community): Approve
-
Diff: 106 lines (+37/-6)3 files modifiedsrc/maasserver/rpc/regionservice.py (+15/-0)
src/maasserver/rpc/tests/test_regionservice.py (+19/-6)
src/maasserver/views/tests/test_rpc.py (+3/-0)
Changed in maas: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Gavin Panella (allenap) |
Changed in maas: | |
milestone: | none → 1.6.0 |
milestone: | 1.6.0 → none |
tags: | added: landscape |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Do I target this to 1.6.0 or 1.6.1?