Bug 713752

Summary: Missing .treeinfo file logged as an error
Product: [Retired] Pulp Reporter: Jay Dobies <jason.dobies>
Component: z_otherAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED NOTABUG QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: ktordeur, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: Sprint 25   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-06 13:24:23 UTC Type: ---
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: 688298    

Description Jay Dobies 2011-06-16 13:36:30 UTC
Refiled form RHUI:

I got following error messages on RHUA node and during the CDS sync


[Tue Jun 07 14:45:24 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/protected/repo101/.treeinfo
[Tue Jun 07 14:45:25 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/protected/repo101/.treeinfo
[Tue Jun 07 14:45:25 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/protected/repo101/.treeinfo
[Tue Jun 07 14:45:25 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/protected/repo101/treeinfo
[Tue Jun 07 14:45:25 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/protected/repo101/treeinfo
[Tue Jun 07 14:45:25 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/protected/repo101/treeinfo
[Tue Jun 07 14:45:29 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/protected/repo102/.treeinfo
[Tue Jun 07 14:45:29 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/protected/repo102/.treeinfo
[Tue Jun 07 14:45:29 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/protected/repo102/.treeinfo
[Tue Jun 07 14:45:29 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/protected/repo102/treeinfo
[Tue Jun 07 14:45:29 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/protected/repo102/treeinfo
[Tue Jun 07 14:45:29 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/protected/repo102/treeinfo
[Tue Jun 07 14:45:33 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/content/dist/rhel/rhui/server-6/releases/6Server/x86_64/optional/os/.treeinfo
[Tue Jun 07 14:45:33 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/content/dist/rhel/rhui/server-6/releases/6Server/x86_64/optional/os/.treeinfo
[Tue Jun 07 14:45:33 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/content/dist/rhel/rhui/server-6/releases/6Server/x86_64/optional/os/.treeinfo
[Tue Jun 07 14:45:33 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/content/dist/rhel/rhui/server-6/releases/6Server/x86_64/optional/os/treeinfo
[Tue Jun 07 14:45:33 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/content/dist/rhel/rhui/server-6/releases/6Server/x86_64/optional/os/treeinfo
[Tue Jun 07 14:45:33 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/content/dist/rhel/rhui/server-6/releases/6Server/x86_64/optional/os/treeinfo
[Tue Jun 07 14:51:44 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/content/dist/rhel/rhui/server-6/releases/6Server/x86_64/os/.treeinfo
[Tue Jun 07 14:51:44 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/content/dist/rhel/rhui/server-6/releases/6Server/x86_64/os/.treeinfo
[Tue Jun 07 14:51:44 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/content/dist/rhel/rhui/server-6/releases/6Server/x86_64/os/.treeinfo


CDS sync started at 2:45 for the node cds0065 and at same time I got above
errors.
==============================================

-= CDS Synchronization Status =-

Last Refreshed: 14:45:42
(updated every 50 seconds, ctrl+c to exit)


cds00193 .................................................... [  UP  ]
cds0065 ..................................................... [  UP  ]


Next Sync                    Last Sync                    Last Result         
------------------------------------------------------------------------------
cds00193
06-07-2011 15:23             06-07-2011 14:25             finished   

cds0065
06-07-2011 14:45             Never                        running    


                                          Connected: dhcp193-79.pnq.redhat.com
------------------------------------------------------------------------------


Version-Release number of selected component (if applicable):
pulp 0.186
rhui-tools 2.0.26

How reproducible:
always

Steps to Reproduce:
1. Run the CDS sync for a repo
2. when sync started, check the ssl_error_log on pulp/rhua node
3.

Actual results:
[Tue Jun 07 14:51:44 2011] [error] [client 10.65.193.65] File does not exist:
/var/www/pub/repos/content/dist/rhel/rhui/server-6/releases/6Server/x86_64/os/.treeinfo


Expected results:
There shoudn't be any error message in apache's logs

Additional info:

Comment 1 Pradeep Kilambi 2011-07-05 14:58:52 UTC
ok These are directly logged by apache and not by pulp or grinder. Try doing a simple

$ GET http://localhost/pub/foo
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /pub/foo was not found on this server.</p>
<hr>
<address>Apache/2.2.15 (Red Hat) Server at localhost Port 80</address>
</body></html>

$ tail /var/log/httpd/error_log
[Tue Jul 05 23:19:31 2011] [error] 
[Wed Jul 06 00:31:16 2011] [error] [client 127.0.0.1] File does not exist: /var/www/html/pub

So when CDS syncs content(grinder) will look for treeinfo for kickstart trees as part of sync and if it cant find it, we retry and skip to package syncs. when grinder is asking for treeinfo and getting a 404, apache logs this "File not Found" Error in apache logs.

Comment 2 Jay Dobies 2011-07-06 13:24:23 UTC
For the sake of bug report completeness, the CDS can't skip that step to look for treeinfo since it's the only way it will know if there are kickstart trees, correct?

I'm going to close this as not a bug. It's not worth the explanation of putting it in the docs since I think this is only the sort of thing QE would pick up on. Pulp doesn't report an error on the CDS sync so everything is functioning as expected.