Project

General

Profile

Actions

Bug #8900

closed

foreman discovery nightly fails to migrate on pg

Added by Ohad Levy over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

==  FillDiscoveryAttributeSetsForExistingHosts: migrating =====================
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

PG::NumericValueOutOfRange: ERROR:  integer out of range
: UPDATE "discovery_attribute_sets" SET "memory" = 11710, "disk_count" = 1, "disks_size" = 256060514304, "updated_at" = '2015-01-11 14:16:02.041522' WHERE "discovery_attribute_sets"."id" =

from line: db/migrate/20141223142759_fill_discovery_attribute_sets_for_existing_hosts.rb:3:in `block in up'

Related issues 1 (0 open1 closed)

Related to Discovery - Tracker #8332: [Discovery 2.0] Usability alignment and autoprovisioningResolved11/10/2014

Actions
Actions #1

Updated by Ohad Levy over 9 years ago

adding limit => 8 based on http://stackoverflow.com/questions/999570/integer-out-of-range-on-postgres-db seems to solve the issue for me

Actions #2

Updated by Ori Rabin over 9 years ago

  • Status changed from New to Assigned
  • Assignee set to Ori Rabin
Actions #3

Updated by The Foreman Bot over 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_discovery/pull/116 added
  • Pull request deleted ()
Actions #4

Updated by Lukas Zapletal over 9 years ago

  • Related to Tracker #8332: [Discovery 2.0] Usability alignment and autoprovisioning added
Actions #5

Updated by Ori Rabin over 9 years ago

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

Also available in: Atom PDF