Install that previously worked now failing
Michael DeHaan
mdehaan at redhat.com
Wed Oct 15 14:57:58 UTC 2008
Robert Lazzurs wrote:
> Hello, of course, it is an attachment to this email.
>
> Thanks again.
>
> On Tue, Oct 14, 2008 at 16:59, Pablo Iranzo Gómez <piranzo at redhat.com> wrote:
>
>> Can you post your cobbler rendered kickstart to have a look on it?
>>
>> Regards
>> Pablo
>>
>>
>> ----- "Robert Lazzurs" <rob at lazzurs.net> escribió:
>>
>>
>>> On Tue, Oct 14, 2008 at 16:51, Robert Lazzurs <rob at lazzurs.net>
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> I have an install here that I did have previously working with this
>>>> hardware and mirror setup however that is now failing for some
>>>>
>>> unknown
>>>
>>>> reason. Below is the trace I got back from anaconda, if anyone has
>>>> any ideas please let me know :)
>>>>
>>>> 15:01:55 INFO : Running kickstart %%traceback script(s)
>>>> 15:01:55 INFO : All kickstart %%traceback script(s) have been
>>>>
>>> run
>>>
>>>> 15:01:55 CRITICAL: Traceback (most recent call first):
>>>> File "/usr/lib/python2.4/site-packages/yum/packages.py", line 35,
>>>>
>>> in
>>>
>>>> comparePoEVR
>>>> (e2, v2, r2) = (po2.epoch, po2.ver, po2.rel)
>>>> File "/usr/lib/python2.4/site-packages/yum/packages.py", line 191,
>>>>
>>> in __eq__
>>>
>>>> if comparePoEVR(self, other) == 0 and self.arch == other.arch
>>>>
>>> and
>>>
>>>> self.name == other.name:
>>>> File "/usr/lib/yum-plugins/fedorakmod.py", line 151, in
>>>>
>>> resolveVersions
>>>
>>>> elif sameName == None:
>>>> File "/usr/lib/yum-plugins/fedorakmod.py", line 222, in
>>>>
>>> installAllKmods
>>>
>>>> rAvaModules = resolveVersions(avaModules)
>>>> File "/usr/lib/yum-plugins/fedorakmod.py", line 276, in
>>>>
>>> postresolve_hook
>>>
>>>> newKernels + installedKernels)
>>>> File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 153,
>>>>
>>> in run
>>>
>>>> func(conduitcls(self, self.base, conf, **kwargs))
>>>> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 442,
>>>> in buildTransaction
>>>> self.plugins.run('postresolve', rescode=rescode,
>>>>
>>> restring=restring)
>>>
>>>> File "/usr/lib/anaconda/yuminstall.py", line 1267, in
>>>>
>>> doPostSelection
>>>
>>>> (code, msgs) = self.ayum.buildTransaction()
>>>> File "/usr/lib/anaconda/backend.py", line 177, in doPostSelection
>>>> return anaconda.backend.doPostSelection(anaconda)
>>>> File "/usr/lib/anaconda/dispatch.py", line 201, in moveStep
>>>> rc = stepFunc(self.anaconda)
>>>> File "/usr/lib/anaconda/dispatch.py", line 124, in gotoNext
>>>> self.moveStep()
>>>> File "/usr/lib/anaconda/dispatch.py", line 223, in currentStep
>>>> self.gotoNext()
>>>> File "/usr/lib/anaconda/text.py", line 539, in run
>>>> (step, instance) = anaconda.dispatch.currentStep()
>>>> File "/usr/bin/anaconda", line 982, in ?
>>>> anaconda.intf.run(anaconda)
>>>> AttributeError: 'NoneType' object has no attribute 'epoch'
>>>>
>>>>
>>>> Thanks again :)
>>>>
>>> Sorry for replying to my own post however I figured that I should
>>> include more information
>>>
>>> This is an install with a fairly standard kickstart file (that has
>>> not
>>> changed) being generated from Cobbler. Cobbler has just had the RHEL
>>> 5.1 dvd reimported into it and this kickstart template tested with
>>> the
>>> new import and this also fails, where it had previously worked
>>>
>>> The install is on to a Dell PowerEdge 1950 III.
>>>
>>> If anyone requires any more information about this please let me
>>> know,
>>> if I find a solution I will post back to the list.
>>>
>>> Take care.
>>>
>>> _______________________________________________
>>> Kickstart-list mailing list
>>> Kickstart-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/kickstart-list
>>>
>> --
>> Pablo Iranzo Gómez (Pablo.Iranzo at redhat.com)
>> RHCE/RHCSP/RHCSS Global Profesional Services Consultant Spain
>> Phone: +34 645 01 01 49 (CET/CEST)
>> GnuPG KeyID: 0xFAD3CF0D
>>
>> --
>> Inscrita en el Reg. Mercantil de Madrid – C.I.F. B-82 65 79 41
>> Directores: Michael Cunningham, Charlie Peters y David Owens
>> Dirección Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, España
>> Dirección contacto: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, Planta 3ºD, 28016 Madrid, Spain
>>
>>
>> _______________________________________________
>> Kickstart-list mailing list
>> Kickstart-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/kickstart-list
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Kickstart-list mailing list
>> Kickstart-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/kickstart-list
Cobbler runs through a copy of the DVD tree and identifies the varies
"split" repos and runs createrepo on them.
Having duplicates in the file shouldn't itself be a problem for yum, the
theory was that createrepo might have munged the repo, but seeing this
was an Anaconda traceback I was hoping someone might have better insight
as to how a "None" could get in there.
--Michael
More information about the Kickstart-list
mailing list