Bug 1371677 - pulp-manage-db should refuse to run if other pulp processes are running locally
Summary: pulp-manage-db should refuse to run if other pulp processes are running locally
Keywords:
Status: CLOSED DUPLICATE of bug 1374723
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-30 18:52 UTC by Mike McCune
Modified: 2023-09-14 03:30 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-21 18:20:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mike McCune 2016-08-30 18:52:53 UTC
pulp db migrations are not meant to be run while pulp processes are active and can cause major data issues if there are active workers.

There should be a test to prevent this at the startup of the pulp-manage-db process.

This can result in duplicate entries and errors trying to migrate data.

See this KCS for errors caused by this:

[Satellite 6.2] pulp raises E11000 duplicate key error index: pulp_database.units_ostree.$remote_id_1_branch_1_commit_1

https://access.redhat.com/solutions/2534911

Comment 3 pulp-infra@redhat.com 2016-10-05 15:01:23 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.

Comment 4 pulp-infra@redhat.com 2016-10-05 15:01:27 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

Comment 5 pulp-infra@redhat.com 2016-10-07 19:31:09 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.

Comment 6 pulp-infra@redhat.com 2016-10-11 17:01:15 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.

Comment 7 pulp-infra@redhat.com 2016-10-26 05:01:37 UTC
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.

Comment 8 Brian Bouterse 2016-11-21 18:20:34 UTC
This is a duplicate of 1374723. They both are associated with the same upstream Pulp issue also.

*** This bug has been marked as a duplicate of bug 1374723 ***

Comment 9 pulp-infra@redhat.com 2016-12-07 21:01:22 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.

Comment 10 pulp-infra@redhat.com 2016-12-07 21:31:17 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.

Comment 11 Red Hat Bugzilla 2023-09-14 03:30:20 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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