Hello,

I am preparing to upgrade my cobbler servers (both the OS and cobbler
version). I have installed the latest version from EPEL-testing on a
test system:

rpm -qa cobbler
cobbler-1.4.3-4.el5

The systems I am upgrading are running an old version (1.2.8).

When I run "cobbler replicate" from the test system, I get some python
messages printed to the screen along with "Failed to copy distro ...".
Please refer to the sample output below my signature.

What is odd is that "cobbler list" and "cobbler distro report" seem to
suggest that the replication was successful. If I run "cobbler
replicate" a second time, it runs through cleanly, all distros copied,
no python messages.


Thanks,

Chris

----- Copying Distros
Importing remote distro sl5-i386.
warning: kernel option length exceeds 255

'NoneType' object has no attribute 'name'
  File "/usr/lib/python2.4/site-packages/cobbler/action_replicate.py",
line 109, in replicate_data
    self.api.add_distro(new_distro)

  File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 352, in
add_distro
    return
self._config.distros().add(ref,save=True,check_for_duplicate_names=check_for_duplicate_names)

  File "/usr/lib/python2.4/site-packages/cobbler/collection.py", line
274, in add
    self.lite_sync.add_single_distro(ref.name)

  File "/usr/lib/python2.4/site-packages/cobbler/action_litesync.py",
line 76, in add_single_distro
    self.sync.pxegen.make_pxe_menu()

  File "/usr/lib/python2.4/site-packages/cobbler/pxegen.py", line 250,
in make_pxe_menu
    self.make_actual_pxe_menu()

  File "/usr/lib/python2.4/site-packages/cobbler/pxegen.py", line 310,
in make_actual_pxe_menu
    if distro.name.find("-xen") != -1:

Failed to copy distro sl5-i386
Importing remote distro sl5-x86_64.
warning: kernel option length exceeds 255
Copied distro sl5-x86_64.


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

Reply via email to