TestReleaseAutoIPs.test__calls_update_host_maps_for_next_ip_managed_subnet can fail randomly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Unassigned |
Bug Description
=======
ERROR: maasserver.
-------
_StringException: Traceback (most recent call last):
File "/tmp/tarmac/
result = function(*args, **kwargs)
File "/usr/lib/
return self._get_
File "/tmp/tarmac/
subnet=subnet, interface=
File "/tmp/tarmac/
ipaddress.
File "/tmp/tarmac/
return super(CleanSave, self).save(*args, **kwargs)
File "/tmp/tarmac/
return super(Timestamp
File "/usr/lib/
force_
File "/usr/lib/
updated = self._save_
File "/usr/lib/
result = self._do_
File "/usr/lib/
using=using, raw=raw)
File "/usr/lib/
return insert_
File "/usr/lib/
return query.get_
File "/usr/lib/
cursor.
File "/usr/lib/
return self.cursor.
File "/usr/lib/
six.
File "/usr/lib/
return self.cursor.
IntegrityError: duplicate key value violates unique constraint "maasserver_
DETAIL: Key (ip)=(55.104.24.60) already exists.
(see first stack trace here if this is unreadable: http://
Related branches
- Mike Pontillo (community): Approve
-
Diff: 97 lines (+41/-7)2 files modifiedsrc/maasserver/forms.py (+15/-7)
src/maasserver/tests/test_forms_nodegroupinterface.py (+26/-0)
tags: |
added: tests removed: unit-tests |
Changed in maas: | |
status: | Triaged → Fix Released |