On Fri, Nov 7, 2008 at 9:27 AM, Christopher Johnston
<cjohnston(a)ewtllc.com>wrote:
>
> Do you have any "image" objects in Cobbler? I have some changes in
> cobbler's devel branch that
> deal with pxegen.py and images.
>
>
> This doesn't quite seem to make sense to me, because if the hostname is
> not defined,
> it's actually stored as an empty string. Do you see any tracebacks? Also
> check
>
>
Mike,
Should I be importing a LiveCD as a cobbler image instead of as a
distro/profile? I am not quite clear on how that works since I dont see
anything added into /tftpboot to tell the host what to boot (no pxe file
created even with --netboot=1). I can try to recreate the issue I was
having with system records replicating again, I dont exactly recall what I
had to do to fix it. Anyways here are the logs and the traceback I am
getting from when the profile/distro replicates.
Logs look clean to me..
root@xenguest01:/var/log/cobbler# tail -0f cobbler.log
2008-11-07 08:34:09,195 - remote - get_distros; user(?)
2008-11-07 08:34:10,723 - remote - get_repos; user(?)
2008-11-07 08:34:10,727 - remote - get_profiles; user(?)
root@xenguest02:/# cobbler replicate --master=xenguest01.lax02.mtt
--full-data-sync
Failed to copy profile Fedora-9-LiveCD-x86_64.
Importing remote profile Fedora-9-x86_64
'NoneType' object has no attribute 'arch'
File "/usr/lib/python2.4/site-packages/cobbler/action_replicate.py", line
158, in replicate_data
self.api.profiles().add(new_profile, save=True)
File "/usr/lib/python2.4/site-packages/cobbler/collection.py", line 249,
in add
self.lite_sync.add_single_profile(ref.name)
File "/usr/lib/python2.4/site-packages/cobbler/action_litesync.py", line
110, in add_single_profile
self.sync.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":