Bug 1177145
Summary: | rubygem-staypuft: Can't remove a host from staypuft: ERROR: update or delete on table "hosts" violates foreign key constraint "tokens_host_id_fk" on table "tokens" DETAIL: Key (id)=(18) is still referenced from table "tokens". | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Alexander Chuzhoy <sasha> |
Component: | rubygem-staypuft | Assignee: | Mike Burns <mburns> |
Status: | CLOSED WONTFIX | QA Contact: | Omri Hochman <ohochman> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | aberezin, mburns, oblaut, yeylon |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | Installer | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-04-29 14:49:21 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1177026 |
Description
Alexander Chuzhoy
2014-12-24 14:26:19 UTC
As a workaround: 1. moved the host to production environment (from Discovery) 2. assigned it to "base_RedHat_7" host group 3. turned the host to "managed" in the UI and then was able to delete it. Probably a single step from above could do the trick |