Project

Profile

Help

Issue #2827

closed

Pulp resource lock mechanism is not working correctly

Added by jluza almost 7 years ago. Updated about 5 years ago.

Status:
CLOSED - NOTABUG
Priority:
High
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

I just found out there are two running cdn publishes at the same time:

[jluza@dhcp-24-116 rcm-pulp-cdn-distributor](master)$ date
Wed Jun 21 15:14:42 CEST 2017
[jluza@dhcp-24-116 rcm-pulp-cdn-distributor](master)$ pa_tool --env stage task get --TASK_ID 4cc17c8c-6204-4f0b-9133-527f6862e1a1 | grep state
                "state": "FINISHED",
                "state": "FINISHED",
                "state": "FINISHED",
                "state": "FINISHED",
                "state": "IN_PROGRESS",
                "state": "NOT_STARTED",
    "state": "running",
[jluza@dhcp-24-116 rcm-pulp-cdn-distributor](master)$ date
Wed Jun 21 15:14:48 CEST 2017
[jluza@dhcp-24-116 rcm-pulp-cdn-distributor](master)$ pa_tool --env stage task get --TASK_ID e799fa1c-3b5b-43c0-8bad-ba5d3ec794ca | grep state
                "state": "FINISHED",
                "state": "FINISHED",
                "state": "FINISHED",
                "state": "FINISHED",
                "state": "IN_PROGRESS",
                "state": "NOT_STARTED",
    "state": "running",
[jluza@dhcp-24-116 rcm-pulp-cdn-distributor](master)$ pa_tool --env stage task get --TASK_ID 4cc17c8c-6204-4f0b-9133-527f6862e1a1 | grep repository
        "pulp:repository:rhel-7-desktop-rpms__7Client__x86_64",
[jluza@dhcp-24-116 rcm-pulp-cdn-distributor](master)$ pa_tool --env stage task get --TASK_ID e799fa1c-3b5b-43c0-8bad-ba5d3ec794ca | grep repository
        "pulp:repository:rhel-7-desktop-rpms__7Client__x86_64",

Also available in: Atom PDF