Project

General

Profile

Actions

Support #13280

closed

Key (environment_id)=(0) is not present in table "environments". when provisioning from ovirt

Added by Qiong Wu almost 9 years ago. Updated almost 9 years ago.

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

Description

I am trying to provision a host from ovirt via the foreman integration feature, but unfortunately I get an error message

2016-01-19T16:13:47 [app] [W] Action failed
PG::ForeignKeyViolation: ERROR: insert or update on table "hosts" violates foreign key constraint "hosts_environment_id_fk"
DETAIL: Key (environment_id)=(0) is not present in table "environments".

everytime I try to add a host. The full log is attached.

Is this related to the discovery plugin or ovirt?

I am using ovirt 3.6.2 pre release.

Thanks!


Files

foreman-log.txt foreman-log.txt 20.2 KB Qiong Wu, 01/19/2016 10:19 AM
Actions #1

Updated by Qiong Wu almost 9 years ago

alright, I created a new hostgroup and now it worked.

Actions #2

Updated by Lukas Zapletal almost 9 years ago

  • Tracker changed from Bug to Support
  • Status changed from New to Closed
Actions

Also available in: Atom PDF