I am running 1.2.8 and dont have any images loaded.

# rpm -q cobbler
cobbler-1.2.8-1

[EMAIL PROTECTED]:/srv/Fedora-9-LiveCD-x86_64# cobbler list
distro CentOS-5.2-x86_64
   profile CentOS-5.2-x86_64
      system coreXXX
      system coreXXX
   profile Centos-5.2-x86_64
distro CentOS-5.2-xen-x86_64
   profile CentOS-5.2-xen-x86_64
distro Fedora-9-LiveCD-x86_64
   profile Fedora-9-LiveCD-x86_64
      system coreXXX
distro Fedora-9-x86_64
   profile Fedora-9-x86_64
      system coreXXX
   profile OS-Fedora-9-x86_64
      system coreXXX
      system coreXXX
      system coreXXX
distro Fedora-9-xen-x86_64
   profile Fedora-9-xen-x86_64

# cobbler image report

[EMAIL PROTECTED]:/srv/Fedora-9-LiveCD-x86_64# cobbler distro report
--name=Fedora-9-LiveCD-x86_64
distro               : Fedora-9-LiveCD-x86_64
breed                : redhat
os version           : fedora9
architecture         : x86_64
initrd               : /srv/Fedora-9-LiveCD-x86_64/initrd0.img
kernel               : /srv/Fedora-9-LiveCD-x86_64/vmlinuz0
kernel options       : {'rootflags': 'loop', '!ksdevice': None, '!text':
None, 'root': '/Fedora-9-LiveCD-x86_64.iso', 'rootfstype': 'iso9660',
'!lang': None}
post kernel options  : {}
ks metadata          : {}
owners               : ['admin']

[EMAIL PROTECTED]:/srv/Fedora-9-LiveCD-x86_64# cobbler profile report
--name=Fedora-9-LiveCD-x86_64
profile              : Fedora-9-LiveCD-x86_64
distro               : Fedora-9-LiveCD-x86_64
dhcp tag             : default
kernel options       : {}
post kernel options  : {}
kickstart            : /etc/cobbler/default.ks
ks metadata          : {}
owners               : ['admin']
repos                : []
server               : <<inherit>>
virt bridge          : xenbr0
virt cpus            : 1
virt file size       : 16
virt path            :
virt ram             : 1024
virt type            : xenpv




On Fri, Nov 7, 2008 at 11:23 AM, Michael DeHaan <[EMAIL PROTECTED]> wrote:

> 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
>
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to