Bug 1019865

Summary: concurrent syncs lead to incorrect XML namespace in published metadata
Product: [Retired] Pulp Reporter: Michael Hrivnak <mhrivnak>
Component: rpm-supportAssignee: Michael Hrivnak <mhrivnak>
Status: CLOSED CURRENTRELEASE QA Contact: pulp-qe-list
Severity: urgent Docs Contact:
Priority: urgent    
Version: MasterCC: pthomas
Target Milestone: ---Keywords: Triaged
Target Release: 2.2.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1020039 1020381 (view as bug list) Environment:
Last Closed: 2013-12-09 14:37:12 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:    
Bug Blocks: 1020039, 1020381    

Description Michael Hrivnak 2013-10-16 14:17:09 UTC
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".

Comment 1 Michael Hrivnak 2013-10-16 21:03:35 UTC
https://github.com/pulp/pulp_rpm/pull/356

Comment 2 Michael Hrivnak 2013-10-16 21:27:19 UTC
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 4 Jeff Ortel 2013-11-01 18:50:38 UTC
build: 2.2.1-0.1.beta

Comment 6 Preethi Thomas 2013-12-09 14:37:12 UTC
Released pulp 2.2.1