Actions
Bug #8900
closedforeman discovery nightly fails to migrate on pg
Difficulty:
Triaged:
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'
Updated by Ohad Levy almost 10 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
Updated by Ori Rabin almost 10 years ago
- Status changed from New to Assigned
- Assignee set to Ori Rabin
Updated by The Foreman Bot almost 10 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman_discovery/pull/116 added
- Pull request deleted (
)
Updated by Lukas Zapletal almost 10 years ago
- Related to Tracker #8332: [Discovery 2.0] Usability alignment and autoprovisioning added
Updated by Ori Rabin almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_discovery|067a64a8ce856dae85a2d5f20312c2a67d808433.
Actions