Project

General

Profile

Bug #5120

Unable to migrate with ConstraintException with discovered hosts

Added by Lukas Zapletal about 5 years ago. Updated 9 months ago.

Status:
Closed
Priority:
Urgent
Category:
DB migrations
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

A change (bb052243) inroduced new migration which is not working correctly when there are discovered hosts. The migration will never go through, it's a one liner fix that can be done in the migration itself safely.

The error message during migration is:

SQLite3::ConstraintException: NOT NULL constraint failed: hosts.managed:

Associated revisions

Revision 1058956e (diff)
Added by Lukas Zapletal about 5 years ago

fixed #5120 - fixed migration for discovered hosts

History

#1 Updated by Lukas Zapletal about 5 years ago

  • Status changed from Assigned to Ready For Testing

#2 Updated by Dominic Cleal about 5 years ago

  • Legacy Backlogs Release (now unused) set to 4

#3 Updated by Lukas Zapletal about 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF