Yep...PEBKAC. I just wanted to let folks know, after reviewing the
configuration, making changes, and testing, I found the issue. It
turns out that somehow, in manually moving data back and forth between
work and home (where I had the problem), I ended up with the centos5-*
profiles pointing to non-existent centos51-* distros. The interesting
thing is, the centos5-* profiles and distros would edit via the WebUI
and CLI, but the FC equivilents would trigger the problem. And then,
even after going through, deleting first the centos5 related
distros/profiles, going on to the FC8 and finally down to fc9-i386 and
then nothing, I continued to get the errors when doing the `cobbler
sync`. After that, I restored, and continued to investigate things in
/etc/cobbler, and only when I stopped the daemon for the upteenth
time, edited the profile files manually, and restarted, did the error
go away. Strange, but I am finally able to do installs of a couple of
machines.
BTW... 'cobbler check' did not see this inconsistency. Guess at some
point, I may want to reproduce this environment to get the error, then
write some enhancements to help find problems like this.
- Doug
Quoting Douglas Wade Needham ([EMAIL PROTECTED]):
> Hi everyone,
>
> This is probably a PEBKAC, but here goes. After a period of
> inactivity, I needed to use install some systems at home. Since 1.0.3
> was giving me some grief during sync, I upgraded to 1.2.8-1. Before
> the upgrade, I was getting
>
> 2008-10-17 21:37:42,151 - api - sync
> 2008-10-17 21:37:57,045 - remote - Exception occured:
> exceptions.AttributeError
> 2008-10-17 21:37:57,073 - remote - Exception value: 'NoneType' object
> has no attribute 'name'
> 2008-10-17 21:37:57,395 - remote - Exception Info:
> File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line
> 507, in _dispatch
> return method_handle(*params)
> File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line
> 739, in sync
> return self.api.sync()
> File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 327,
> in sync
> return sync.run()
> File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py",
> line 101, in run
> self.pxegen.make_pxe_menu()
> File "/usr/lib/python2.4/site-packages/cobbler/pxegen.py", line
> 185, in make_pxe_menu
> if distro.name.find("-xen") != -1:
>
> And now, I am getting...
>
> 2008-10-17 21:57:40,055 - api - sync
> 2008-10-17 21:57:44,226 - remote - Exception occured:
> exceptions.AttributeError
> 2008-10-17 21:57:44,227 - remote - Exception value: 'NoneType' object has
> no attribute 'arch'
> 2008-10-17 21:57:44,229 - remote - Exception Info:
> File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 612, in
> _dispatch
> return method_handle(*params)
> File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 844,
> in sync
> return self.api.sync()
> File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 381, in
> sync
> return sync.run()
> File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line
> 106, in run
> self.pxegen.make_pxe_menu()
> File "/usr/lib/python2.4/site-packages/cobbler/pxegen.py", line 210,
> in make_pxe_menu
> self.make_s390_pseudo_pxe_menu()
> File "/usr/lib/python2.4/site-packages/cobbler/pxegen.py", line 226,
> in make_s390_pseudo_pxe_menu
> if distro.arch == "s390x":
>
> The upgrade was done from the 1.2.8-1 src rpm, and after cobbler was
> upgraded, I updated my configuration files (dhcp.template,
> modules.conf and settings), restarted cobblerd, and the error occurred
> during a `cobbler sync`.
>
> For additional info, you can find details about my configuration at
> the following URLs:
>
> http://www.ka8zrt.com/files/cobbler.516a/cobbler.report
> http://www.ka8zrt.com/files/cobbler.516a/settings
>
> So, with that, can someone please tell me what I am missing this
> evening, or let me know what additional diagnostics I should gather.
>
> Thanks!
>
> - Doug
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler