IntegrityError: duplicate key value violates unique constraint "maasserver_componenterror_component_key"

Bug #1307415 reported by Raphaël Badin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Raphaël Badin
1.5
Fix Released
Critical
Raphaël Badin
maas (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

In /var/log/apache2/error.log, I see http://paste.ubuntu.com/7248987/.

I'm guessing multiple child processes are trying to register the exact same ComponentError.

This is a crash so marking it critical but it doesn't seem to prevent the server from working normally.

Related branches

Raphaël Badin (rvb)
Changed in maas:
status: Triaged → Fix Committed
assignee: nobody → Raphaël Badin (rvb)
milestone: none → 14.10
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package maas - 1.5+bzr2252-0ubuntu1

---------------
maas (1.5+bzr2252-0ubuntu1) trusty; urgency=medium

  * New upstream release
    - Add support to install Third Party Drivers. In order for this to be
      used the user will have to go to the Settings page to enable the
      installation of these drivers. (LP: #1305839)
    - Use release images instead of daily. (LP: #1306701)
    - Quote interface name in dhcpd.template, otherwise DHCP server fails
      to start. (LP: #1306335)
    - Fix IntegrityError, when multiple processes are trying to register
      the same component. (LP: #1307415)
    - Add missing armhf commissioning template (LP: #1307780)
  * debian/maas-region-controller-min.install: Install drivers.yaml.
  * debian/maas-region-controller.postinst: No longer show the
    installation note by default. (LP: #1284652)
 -- Andres Rodriguez <email address hidden> Wed, 09 Apr 2014 19:02:00 -0400

Changed in maas (Ubuntu):
status: New → Fix Released
Changed in maas:
milestone: 14.10 → none
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.