Bug 1019865 - concurrent syncs lead to incorrect XML namespace in published metadata
Summary: concurrent syncs lead to incorrect XML namespace in published metadata
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: rpm-support
Version: Master
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 2.2.1
Assignee: Michael Hrivnak
QA Contact: pulp-qe-list
URL:
Whiteboard:
Depends On:
Blocks: 1020039 1020381
TreeView+ depends on / blocked
 
Reported: 2013-10-16 14:17 UTC by Michael Hrivnak
Modified: 2013-12-09 14:37 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
: 1020039 1020381 (view as bug list)
Environment:
Last Closed: 2013-12-09 14:37:12 UTC
Embargoed:


Attachments (Terms of Use)

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


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