Project

General

Profile

Actions

Bug #11771

closed

Saving host without particular status fails

Added by Stephen Benjamin over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Reporting
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When I save a host that has never had a configuration report:

PG::NotNullViolation: ERROR:  null value in column "reported_at" violates not-null constraint
DETAIL:  Failing row contains (18, HostStatus::ConfigurationStatus, 0, 22, null).
: INSERT INTO "host_status" ("host_id", "reported_at", "status", "type") VALUES ($1, $2, $3, $4) RETURNING "id" 

I get a similar errror for a host that was reported through configuration management, and never had a BuildStatus.


Related issues 2 (0 open2 closed)

Related to Foreman - Feature #10782: Add global status for hostsClosedMarek Hulán06/11/2015Actions
Related to Foreman - Bug #12954: Foreman puppet report status does not work without a puppet proxyClosedDominic Cleal12/29/2015Actions
Actions

Also available in: Atom PDF