Bug 668793

Summary: repo list Files info is not getting updated
Product: [Community] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED NOTABUG QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: skarmark, tsanders
Target Milestone: ---Keywords: Triaged
Target Release: Sprint 20   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-01 12:09:24 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Preethi Thomas 2011-01-11 11:22:20 EST
Description of problem:


Looks like Number of Files in repo list output is not changing. It seems to be staying at 0

[root@preethi ~]# pulp-admin distribution list
+------------------------------------------+
       List of Available Distributions
+------------------------------------------+

Id                    	ks-f14-x86_64            
Description           	ks-f14-x86_64             
URL                   	http://localhost/pulp/ks/released/F-14/GOLD/Fedora/x86_64/os


Id                    	ks-f13-x86_64            
Description           	ks-f13-x86_64             
URL                   	http://localhost/pulp/ks/released/F-13/GOLD/Fedora/x86_64/os


[root@preethi ~]# pulp-admin repo list
+------------------------------------------+
       List of Available Repositories
+------------------------------------------+

Label              	feedles                  
Name               	feedless                 
FeedURL            	None                     
FeedType           	None                     
Arch               	noarch                   
Sync Schedule      	None                     
Packages           	0                        
Files              	0                        
Distributions      	None                     
Publish            	True                     
Clones             	[]                       
Groups             	None                     


Label              	f14-updates              
Name               	f14-updates              
FeedURL            	http://download.fedora.redhat.com/pub/fedora/linux/updates/14/x86_64/
FeedType           	yum                      
Arch               	x86_64                   
Sync Schedule      	None                     
Packages           	5331                     
Files              	0                        
Distributions      	None                     
Publish            	False                    
Clones             	[]                       
Groups             	None                     


Label              	f14                      
Name               	f14                      
FeedURL            	http://download.devel.redhat.com/released/F-14/GOLD/Fedora/x86_64/os/
FeedType           	yum                      
Arch               	x86_64                   
Sync Schedule      	None                     
Packages           	2766                     
Files              	0                        
Distributions      	ks-f14-x86_64            
Publish            	True                     
Clones             	[]                       
Groups             	None                     


Label              	f13                      
Name               	f13                      
FeedURL            	http://download.devel.redhat.com/released/F-13/GOLD/Fedora/x86_64/os/
FeedType           	yum                      
Arch               	x86_64                   
Sync Schedule      	None                     
Packages           	3102                     
Files              	0                        
Distributions      	ks-f13-x86_64            
Publish            	True                     
Clones             	[]                       
Groups             	None                     


[root@preethi ~]# ls /var/lib/pulp/
init.flag  packages/  published/ repos/     
[root@preethi ~]# ls /var/lib/pulp/repos/
pub/      released/ 
[root@preethi ~]# ls /var/lib/pulp/repos/
pub/      released/ 
[root@preethi ~]# ls /var/lib/pulp/repos/released/F-1
F-13/ F-14/ 
[root@preethi ~]# ls /var/lib/pulp/repos/released/F-1
F-13/ F-14/ 
[root@preethi ~]# ls /var/lib/pulp/repos/released/F-13/GOLD/Fedora/x86_64/os/
0c8eec639425a769091e326226c690b8115620b5fdc6430a769ba6c3f39bfe34-filelists.xml.gz
2afec9b506dd4f46bd68d674d579a6fdff4f0618c78f86c48301fca5e660130e-Fedora-13-comps.xml.gz
530c5ad13176b61694b322634f0aaa2bfd80052baf4b97df7522c6626031487a-other.xml.gz
5c3ab96a2b58cb1b6ca21d59539e294bb9a95c8fdbb8ab209429e98bd2cc0853-filelists.sqlite.bz2
6274ed49dbcfa42ca5ccf5bfbc75937404deb550369750628aa25eb35f352458-other.sqlite.bz2
a75e0184a58b95011684ff760bce2d1c868b054fc8eb17d04276611bc58aecd0-primary.sqlite
a75e0184a58b95011684ff760bce2d1c868b054fc8eb17d04276611bc58aecd0-primary.sqlite.bz2
cachecookie
ed88d22fca1c8bcc07d85bb677d5f8f45422a373a53b6dd213d57d7dfc278878-primary.xml.gz
fce31f091be8211a394d8942fcf4f6cbeffa3d40d87b61af55a97b1a88b46987-Fedora-13-comps.xml
images/
packages/
Packages/
repodata/
repomd.xml
.treeinfo
[root@preethi ~]# ls /var/lib/pulp/repos/released/F-13/GOLD/Fedora/x86_64/os/
0c8eec639425a769091e326226c690b8115620b5fdc6430a769ba6c3f39bfe34-filelists.xml.gz
2afec9b506dd4f46bd68d674d579a6fdff4f0618c78f86c48301fca5e660130e-Fedora-13-comps.xml.gz
530c5ad13176b61694b322634f0aaa2bfd80052baf4b97df7522c6626031487a-other.xml.gz
5c3ab96a2b58cb1b6ca21d59539e294bb9a95c8fdbb8ab209429e98bd2cc0853-filelists.sqlite.bz2
6274ed49dbcfa42ca5ccf5bfbc75937404deb550369750628aa25eb35f352458-other.sqlite.bz2
a75e0184a58b95011684ff760bce2d1c868b054fc8eb17d04276611bc58aecd0-primary.sqlite
a75e0184a58b95011684ff760bce2d1c868b054fc8eb17d04276611bc58aecd0-primary.sqlite.bz2
cachecookie
ed88d22fca1c8bcc07d85bb677d5f8f45422a373a53b6dd213d57d7dfc278878-primary.xml.gz
fce31f091be8211a394d8942fcf4f6cbeffa3d40d87b61af55a97b1a88b46987-Fedora-13-comps.xml
images
packages
Packages
repodata
repomd.xml



Additional info:
Comment 1 Preethi Thomas 2011-01-11 14:09:31 EST
[root@preethi ~]# rpm -q pulp
pulp-0.0.122-1.fc14.noarch
Comment 2 Pradeep Kilambi 2011-02-01 12:09:24 EST
files is just a place holder in repo list for future purposes. files does not attribute to the distributions in repo. Distributions attribute in repo list should show that info and you should be able to list the files in a distrinution through

sudo pulp-admin distribution info --id=ks-f14-x86_64