| Summary: | promotion failed: Pulp::Repository: 409 Conflict "Sync already in process for repo | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | James Laska <jlaska> | ||||||||
| Component: | Content Management | Assignee: | Ivan Necas <inecas> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 6.0.1 | CC: | ansmith, bkearney, ehelms, inecas, jturner | ||||||||
| Target Milestone: | Unspecified | Keywords: | Triaged | ||||||||
| Target Release: | Unused | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2012-08-22 18:27:54 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Attachments: |
|
||||||||||
Created attachment 563984 [details]
/var/log/pulp/pulp.log
Created attachment 567562 [details]
Script for reproducing the error
Attaching a script that reproduces the error using katello repository
Promotion of repositories in template wasn't waiting for tasks to finish. Fixed in commit d4c6fd1c74d7dfb7346c95ef63c0a9a0afab25fc mass move ON_QA after brewing Verified, (Ivan's script works): katello-0.2.14-1.git.5.08fde78.el6.noarch getting rid of 6.0.0 version since that doesn't exist |
Created attachment 563983 [details] katello-setup.sh Description of problem: Attempting a promotion that consists of 3 system templates fails with the error: Changeset [ 03 - templates ] promotion failed: Pulp::Repository: 409 Conflict "Sync already in process for repo [redhat-Stage-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6Server]" (POST /pulp/api/repositories/redhat-Stage-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6Server/sync/) Promoting the same templates individually, works without error. Version-Release number of selected component (if applicable): * candlepin-0.5.20-1.el6.src.rpm * katello-0.1.238-4.el6.src.rpm * katello-certs-tools-1.0.2-2.el6.src.rpm * katello-cli-0.1.54-2.el6.src.rpm * katello-configure-0.1.64-5.el6.src.rpm * katello-httpd-ssl-key-pair-1.0-1.src.rpm * katello-qpid-broker-key-pair-1.0-1.src.rpm * katello-selinux-0.1.5-2.el6.src.rpm * katello-trusted-ssl-cert-1.0-1.src.rpm * pulp-0.0.265-1.el6.src.rpm How reproducible: * Seems consistent on my VM with 4G memory and 4 vcpus Steps to Reproduce: 1. See attached script that performs a series of katello CLI commands Actual results: Changeset [ 03 - templates ] promotion failed: Pulp::Repository: 409 Conflict "Sync already in process for repo [redhat-Stage-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6Server]" (POST /pulp/api/repositories/redhat-Stage-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6Server/sync/) Expected results: Changeset [ 03 - templates ] promoted Additional info: * See attached pulp.log