Hi,

the yum_config_stanza only takes the managed repositories, so if this list is 
empty, it won't output anything.

As far as I know the repository should be generated from the install tree,
c.f. repo_finder in 
https://github.com/cobbler/cobbler/blob/master/cobbler/modules/manage_import_redhat.py

It parses the distros for comps.xml files. Perhaps we find the bug there.

Greetings
André

----- Ursprüngliche Mail -----
> 
> Hi
> cobbler repo list is empty but then I would expect that to be the
> case as I have not added additional repos. I am only expecting the
> base repos to be added.
> 
> 
> I have tried re-importing the dvd with a different name and assigned
> my server a new profile. At the moment I am trying out RHEL5.5 and
> will see if that behaves any differently.
> 
> 
> Thanks for your help so far.
> 
> 
> On 28 February 2012 16:25, André Gemünd <
> [email protected] > wrote:
> 
> 
> To explain what I meant, it might be that the repository has not been
> created during the distribution import, and that therefor the list
> of repositories in this file is empty. This would be another bug.
> Does cobbler repo list show you something?
> 
> 
> Greetings
> André
> 
> ----- Ursprüngliche Mail -----
> > 
> > 
> 
> 
> > On 28 February 2012 15:48, André Gemünd <
> > [email protected] > wrote:
> > 
> > 
> > Hi Gerhardus,
> > 
> > 
> > > wget "
> > > http://cobbler2.example.com/cblr/svc/op/yum/system/testmachine.example.com
> > > " --output-document=/etc/yum.repos.d/cobbler-config.repo returns
> > > an
> > > empty file. There is no error in the logs. The file exists but is
> > > empty. So some how the contents of this internal variable were
> > > not
> > > created. I would love to debug this further but not sure how. man
> > > cobbler does not make mention of any debugging or logging. Nor
> > > could
> > > I find an parameters in /etc/cobbler/settings to change debug
> > > level.
> > > I have checked all the log files for errors.
> > 
> > I see. So at least the variable was correctly extended, otherwise
> > the
> > line would not be there. If you point a browser to
> > 
> > http://10.173.90.168/cblr/svc/op/yum/system/testmachine.example.com
> > 
> > do you get the correct response, or is it just empty?
> > 
> > If it is empty, I would check the HTTP log for errors. There should
> > at least be a string "#object not found" or something like that.
> > 
> > If not, maybe the machine can't resolve cobbler2.example.com during
> > installation?
> > 
> > 
> > 
> > 
> > The log files show a 200 when getting the file. It is just empty. I
> > thought about the resolve problem... during installation. Browsing
> > to it just gives me an empty page with a 200 in the log file. A
> > wget
> > on the build server also fails... so I am currently at a bit of a
> > loss. I building a new test machine based on RHEL5.5 to see if that
> > would make a difference.
> > From the httpd log file:
> > "GET /cblr/svc/op/yum/system/ auth01.clean.io HTTP/1.1" 200 - "-"
> 
> > "Mozilla/5.0
> > 
> > 
> > Regards
> > 
> > --
> > Gerhardus Geldenhuis
> > 
> 
> 
> > _______________________________________________
> > cobbler mailing list
> > [email protected]
> > https://fedorahosted.org/mailman/listinfo/cobbler
> > 
> 
> --
> André Gemünd
> Fraunhofer-Institute for Algorithms and Scientific Computing
> [email protected]
> Tel: +49 2241 14-2193
> /C=DE/O=Fraunhofer/OU=SCAI/OU=People/CN=Andre Gemuend
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
> 
> 
> 
> 
> --
> Gerhardus Geldenhuis
> 
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
> 

-- 
André Gemünd
Fraunhofer-Institute for Algorithms and Scientific Computing
[email protected]
Tel: +49 2241 14-2193
/C=DE/O=Fraunhofer/OU=SCAI/OU=People/CN=Andre Gemuend
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to