Christopher Johnston wrote:
> On Fri, Nov 7, 2008 at 9:27 AM, Christopher Johnston 
> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 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?  

No, rather I was asking if you had any image objects in Cobbler as that 
/will/ break 1.2.5 with the exact traceback you mentioned.   If you want 
to use replicate, you will want to be using 1.2.8.

 From the changelog:

- Fri Oct 10 2008 - 1.2.6
- (BUGF) fix image vs system parentage problem affecting cobbler replicate


It should /not/ break 1.2.8, though in that case I'd want to see the 
traceback under 1.2.8 if you are still seeing something.





> 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).

No, you're doing it right ... distro add is the way to use Live CD's.

> 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..
>
> [EMAIL PROTECTED]:/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(?)
>
> [EMAIL PROTECTED]:/# 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 <http://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":

This looks like the above, I need the results of:


# rpm -q cobbler

# cobbler list

# cobbler image report

That should help.






>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>   

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to