Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1613391 - race condition on removing multiple organizations simultaneously
Summary: race condition on removing multiple organizations simultaneously
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Organizations and Locations
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.8.0
Assignee: Ondřej Pražák
QA Contact: Roman Plevka
URL:
Whiteboard:
Depends On:
Blocks: 1901981
TreeView+ depends on / blocked
 
Reported: 2018-08-07 13:33 UTC by Roman Plevka
Modified: 2020-11-26 14:23 UTC (History)
6 users (show)

Fixed In Version: tfm-rubygem-katello-3.15.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1901981 (view as bug list)
Environment:
Last Closed: 2020-10-27 12:57:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 25876 0 Normal Closed Race condition on removing multiple organizations simultaneously 2021-02-15 15:47:51 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 12:57:42 UTC

Comment 3 Roman Plevka 2018-09-03 11:52:48 UTC
this also happens on creting new orgs just after sending out a request to delete another org:

2018-08-31T14:18:11 [I|app|] Started DELETE "/katello/api/v2/organizations/357"
...
2018-08-31T14:18:11 [I|app|ec227] Completed 202 Accepted in 530ms (Views: 21.4ms | ActiveRecord: 73.5ms)
...
2018-08-31T14:18:11 [I|app|] Started POST "/katello/api/v2/organizations"
...
2018-08-31T14:18:13 [E|bac|d4d50] PG::ForeignKeyViolation: ERROR:  insert or update on table "taxable_taxonomies" violates foreign key constraint "taxable_taxonomies_taxonomy_id_fk"
DETAIL:  Key (taxonomy_id)=(357) is not present in table "taxonomies".

Comment 5 Ondřej Pražák 2019-01-17 08:04:44 UTC
Created redmine issue http://projects.theforeman.org/issues/25876 from this bug

Comment 8 Roman Plevka 2019-07-30 08:10:46 UTC
Our automation also hit this on creating the Organization

Comment 10 Bryan Kearney 2019-08-22 08:06:41 UTC
Upstream bug assigned to oprazak

Comment 11 Bryan Kearney 2019-08-22 08:06:43 UTC
Upstream bug assigned to oprazak

Comment 12 Bryan Kearney 2019-11-05 20:33:25 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25876 has been resolved.

Comment 18 errata-xmlrpc 2020-10-27 12:57:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.8 release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4366


Note You need to log in before you can comment on or make changes to this bug.