Hi Andre, Thanks for looking at it... I saw the problem on the latest version available in epel testing so not sure it is fixed yet as is mentioned in the issue tracker.
I don't think cobbler was clear enough about internal failure for this particular bug so this might be worthwhile looking at that in addition to fixing the bug. Regards On 29 February 2012 09:05, André Gemünd <[email protected]>wrote: > I traced back the problems and added all necessary information to the > issue on github: > > https://github.com/cobbler/cobbler/issues/72 > > Cheers > André > > ----- Ursprüngliche Mail ----- > > I wasn't aware that the "Import DVD" should have created a Repo also, > > I created issue 72 and 73 and I did not report on the missing Repos > > but mine are also missing. The only Repo I have is the one for > > updates that I added. > > > > I also just noticed that the "OS Version" of the Distros imported > > from the RHEL5.7 and RHEL5.8 DVD's was "generic26" instead of > > "rhel5" > > > > What would be the procedure to get the Repos added after the fact > > without removing the Distros and reading (although I would be glad > > to offer up time to test and troubleshoot this) > > > > Regards, > > Sean > > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of André > > Gemünd > > Sent: Tuesday, February 28, 2012 11:47 AM > > To: cobbler mailing list > > Subject: Re: [cobbler] Repo problems.... > > > > 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 > > Terracon provides geotechnical, environmental, construction > > materials, and facilities consulting engineering services delivered > > with responsiveness, resourcefulness, and reliability. > > > > ________________________________ > > > > Private and confidential as detailed here > > (www.terracon.com/disclaimer). If you cannot access hyperlink, > > please e-mail sender. > > _______________________________________________ > > 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
