Bug 1020381

Summary: concurrent syncs lead to incorrect XML namespace in published metadata
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: rpm-supportAssignee: pulp-bugs
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: urgent Docs Contact:
Priority: urgent    
Version: MasterCC: mhrivnak
Target Milestone: ---Keywords: Triaged
Target Release: 2.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1019865 Environment:
Last Closed: 2013-12-09 14:30:39 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: 1019865    
Bug Blocks: 1020039    

Description Preethi Thomas 2013-10-17 14:48:23 UTC
cloning for 2.3

+++ This bug was initially created as a clone of Bug #1019865 +++

Description of problem:
When doing multiple syncs at the same time, the "rpm" namespace in the published primary.xml can end up instead being called "ns0".

Version-Release number of selected component (if applicable):
2.3.0-0.21.beta

How reproducible:
very

Steps to Reproduce:
1. sync a big repo
2. sync another big repo at the same time
3. when one finishes, search for "ns0:" in the published primary.xml

Actual results:
"ns0" shows up as an XML namespace instead of "rpm".

--- Additional comment from Michael Hrivnak on 2013-10-16 17:03:35 EDT ---

https://github.com/pulp/pulp_rpm/pull/356

--- Additional comment from Michael Hrivnak on 2013-10-16 17:27:19 EDT ---

To verify this:

1) sync the rhel 6.4 "kickstart" and "os" repos at the same time [1]
2) verify that the string "ns0:" does not appear in either published repo's primary.xml file.


[1] http://download.devel.redhat.com/cds/prod/content/dist/rhel/server/6/6.4/x86_64/

Comment 1 Preethi Thomas 2013-10-17 14:52:52 UTC
Moving to on-qa
build: 2.3.0-0.22.beta

Comment 3 Preethi Thomas 2013-12-09 14:30:39 UTC
Pulp 2.3 released.