Additional info, see attachment.

cobbler sync fails (even aftar cobbler distro remove --name=rhel6.... has
been executed)

/Daniel

On Wed, Apr 13, 2011 at 11:16 PM, Scott Henson <[email protected]> wrote:

> On Wed, 13 Apr 2011 13:27:25 +0200, Daniel Kertby <[email protected]>
> wrote:
> > Hi again,
> >
> > Im still fighting to get it all working! Puh!
> >
> > Conclusions so far (could be useful for you developers to know about)
> from a
> > cobbler beginner.
> >
> > * Wow, so difficult to get the latest version up and running on RHEL6.
> >   No RPMs with 2.1.0, still stuck with the 2.0.10 version.
> >    - Anyone know how to get 2.1.0 in on RHEL without dependency
>  problems?
>
> 2.1.0 is a development release. I really wouldn't recommend using it
> unless you know what you are doing.
>
> > * cobbler get-loaders failed. Seems to exist a bug id when trying to
> >   pull the files from the web behind a proxy. I downloaded the files with
> > wget. A time killer trying to get cobbler get-loaders
>
> I believe we fixed this and it should be out whenever I get a moment to
> release 2.0.11.
>
> > * cobbler add distro for RHEL6 fails,
> >    ....
> >    found content (breed=redhat) at /v ...
> >    ...
> >    Exceptions occured:
> >   ...
> >    Also a known issue. Some thread indicated a missing
> >    https://fedorahosted.org/cobbler/ticket/482
>
> Can you get me the complete exception? I've not seen this and I'm
> running cobbler on RHEL6 right now. In fact, I don't think I have any
> cobbler servers that are not RHEL6.
>
> > So, I really appreciate the time you developers have put into Cobbler.
> > As a new user that need to get Cobbler up and running on RHEL6, serving
> > RHEL6 and other distros/versions, this trip has been time consuming and
> has
> > really lead to frustration.
> >
> > Any clues/hints to get things to work and get a solid/stable setup is
> VERY
> > appreciated, I know Cobbler is the right choice for our business.
>
> Can I see a copy of your settings and modules.conf? Clean them of any
> sensitive data as well.
>
> --
> Scott Henson
> Red Hat CIS Operator
> WVU Alum BSAE/BSME
>
Notice: All loaders were downloaded manually since the cobbler get-loaders 
failed to catch the proxy
settings. Before that the syslinux package was installed.

#################################################################################################

root@x4150x1149 /]# yum list syslinux
Loaded plugins: rhnplugin
Installed Packages
syslinux.x86_64                                   3.86-1.1.el6                  
                  @rhel6-local
[root@somehost /]#
#################################################################################################
[root@x4150x1149 /]# cobbler list
distros:

profiles:

systems:

repos:

images:

#################################################################################################
[root@somehost /]# cobbler sync
task started: 2011-04-14_095447_sync
task started (id=Sync, time=Thu Apr 14 09:54:47 2011)
running pre-sync triggers
cleaning trees
removing: /var/www/cobbler/images/RHEL6-x86_64
removing: /var/lib/tftpboot/pxelinux.cfg/default
removing: /var/lib/tftpboot/grub/images
removing: /var/lib/tftpboot/grub/efidefault
removing: /var/lib/tftpboot/grub/grub-x86.efi
removing: /var/lib/tftpboot/grub/grub-x86_64.efi
removing: /var/lib/tftpboot/images/RHEL6-x86_64
removing: /var/lib/tftpboot/s390x/profile_list
copying bootloaders
trying hardlink /var/lib/cobbler/loaders/pxelinux.0 -> 
/var/lib/tftpboot/pxelinux.0
copying: /var/lib/cobbler/loaders/pxelinux.0 -> /var/lib/tftpboot/pxelinux.0
trying hardlink /var/lib/cobbler/loaders/menu.c32 -> /var/lib/tftpboot/menu.c32
copying: /var/lib/cobbler/loaders/menu.c32 -> /var/lib/tftpboot/menu.c32
copying: /boot/memtest86+-4.00 -> /var/lib/tftpboot/memtest86+-4.00
trying hardlink /var/lib/cobbler/loaders/grub-x86.efi -> 
/var/lib/tftpboot/grub/grub-x86.efi
trying hardlink /var/lib/cobbler/loaders/grub-x86_64.efi -> 
/var/lib/tftpboot/grub/grub-x86_64.efi
copying distros
copying images
generating PXE configuration files
rendering DHCP files
generating /etc/dhcp/dhcpd.conf
cleaning link caches
running: find /var/lib/tftpboot/.link_cache -maxdepth 1 -type f -links 1 -exec 
rm -f '{}' ';'
received on stdout:
recieved on stderr: find: `/var/lib/tftpboot/.link_cache': No such file or 
directory

running: find /var/www/cobbler/.link_cache -maxdepth 1 -type f -links 1 -exec 
rm -f '{}' ';'
received on stdout:
recieved on stderr: find: `/var/www/cobbler/.link_cache': No such file or 
directory

rendering Rsync files
generating PXE menu structure
running post-sync triggers
running python triggers from /var/lib/cobbler/triggers/sync/post/*
running python trigger cobbler.modules.sync_post_restart_services
running: dhcpd -t -q
received on stdout:
recieved on stderr:
dhcpd -t failed
Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'cobbler trigger failed: 
cobbler.modules.sync_post_restart_services'
Exception Info:
  File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 95, in run
    rc = self._run(self)
   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 184, in 
runner
    return 
self.remote.api.sync(self.options.get("verbose",False),logger=self.logger)
   File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 611, in sync
    return sync.run()
   File "/usr/lib/python2.6/site-packages/cobbler/action_sync.py", line 145, in 
run
    utils.run_triggers(self.api, None, "/var/lib/cobbler/triggers/sync/post/*", 
logger=self.logger)
   File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 861, in 
run_triggers
    raise CX("cobbler trigger failed: %s" % m.__name__)

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

Reply via email to