Project

Profile

Help

Issue #2217

Updated by jsherril@redhat.com about 8 years ago

Starting with either 2.8.5, 2.8.6, or 2.8.7, syncing and publishing a repo with errata seems to result in no packages being associated with the errata in the generated updateinfo.xml file. 

 Sync this repo and publish the repo:    https://jlsherrill.fedorapeople.org/fake-repos/needed-errata/ 

 The resulting updateinfo.xml file shows: 

 <pre> 
 <update from="errata@redhat.com" status="stable" type="security" version="1"><id>RHEA-2012:0055</id><issued date="2012-01-27 16:08:06" /><title>Sea_Erratum</title><release>1</release><description>Sea_Erratum</description><references /><pkglist><collection short=""><name>1</name></collection></pkglist></update> 
 </pre> 


 

 But even in the db we see: 

 <pre> 
 { 
	 "_id" : "b0cee9cd-df5f-4c8a-b845-b1312dd28d59", 
	 "pulp_user_metadata" : { 
		
	 }, 
	 "_last_updated" : 1472481584, 
	 "errata_id" : "RHEA-2012:0055", 
	 "status" : "stable", 
	 "updated" : "", 
	 "description" : "Sea_Erratum", 
	 "issued" : "2012-01-27 16:08:06", 
	 "pushcount" : "", 
	 "references" : [ ], 
	 "reboot_suggested" : false, 
	 "from" : "errata@redhat.com", 
	 "severity" : "", 
	 "rights" : "", 
	 "version" : "1", 
	 "release" : "1", 
	 "type" : "security", 
	 "pkglist" : [ 
		 { 
			 "_pulp_repo_id" : "Default_Organization-test-zoo", 
			 "packages" : [ 
				 { 
					 "src" : "http://www.fedoraproject.org", 
					 "name" : "walrus", 
					 "sum" : null, 
					 "filename" : "walrus-5.21-1.noarch.rpm", 
					 "epoch" : null, 
					 "version" : "5.21", 
					 "release" : "1", 
					 "arch" : "noarch" 
				 }, 
				 { 
					 "src" : "http://www.fedoraproject.org", 
					 "name" : "penguin", 
					 "sum" : null, 
					 "filename" : "penguin-0.9.1-1.noarch.rpm", 
					 "epoch" : null, 
					 "version" : "0.9.1", 
					 "release" : "1", 
					 "arch" : "noarch" 
				 }, 
				 { 
					 "src" : "http://www.fedoraproject.org", 
					 "name" : "shark", 
					 "sum" : null, 
					 "filename" : "shark-0.1-1.noarch.rpm", 
					 "epoch" : null, 
					 "version" : "0.1", 
					 "release" : "1", 
					 "arch" : "noarch" 
				 } 
			 ], 
			 "name" : "1", 
			 "short" : "" 
		 } 
	 ], 
	 "title" : "Sea_Erratum", 
	 "solution" : "", 
	 "summary" : "", 
	 "_ns" : "units_erratum", 
	 "_content_type_id" : "erratum" 
 } 
 </pre> 


 Will test with other repos as well shortly.

Back