After upgrading to 3.0.1 I can’t anymore remove Puppet environment, although is “empty” to my understanding.
Error:
Failed to update environments and Puppet classes from the on-disk Puppet installation: PG::ForeignKeyViolation: ERROR: update or delete on table “environments” violates foreign key constraint “hosts_environment_id_fk” on table “hosts” DETAIL: Key (id)=(87) is still referenced from table “hosts”.
Should I manipulate the database manually? Safe to delete extra host row? UI doesn’t show any host in the environment in question.
Version 3.0.1-1.el7
BR: Mika Lehtonen
P.S. Where has the environment column disappeared from the host list? I found it useful.