Hi,
on 2 rhel5 servers with all patches as of today i can not
successfully execute
# cobbler import --path=/colds/webroot/x86_64/rhel5u3_serv \
--name=rhel5u3 --available-as=http://10.0.22.1/x86_64/rhel5u3_serv
The messages i get:
--------------------------
---------------- (adding distros)
- found content (breed=redhat) at /colds/webroot/x86_64/rhel5u3_serv/images/xen
- creating new distro: rhel5u3-xen-x86_64
- creating new profile: rhel5u3-xen-x86_64
- found content (breed=redhat) at
/colds/webroot/x86_64/rhel5u3_serv/images/pxeboot
- creating new distro: rhel5u3-x86_64
- creating new profile: rhel5u3-x86_64
- creating new profile: rescue-rhel5u3-x86_64
---------------- (associating kickstarts)
- found content (breed=redhat) at /colds/webroot/x86_64/rhel5u3_serv/images/xen
local variable 'datestamp' referenced before assignment
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 83, in main
rc = BootCLI().run(sys.argv)
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 61, in run
return self.loader.run(args)
File "/usr/lib/python2.4/site-packages/cobbler/commands.py", line 122, in run
return fn.run()
File "/usr/lib/python2.4/site-packages/cobbler/modules/cli_misc.py", line
109, in run
breed=self.options.breed
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 564, in
import_tree
return importer.run()
File "/usr/lib/python2.4/site-packages/cobbler/action_import.py", line 210,
in run
self.kickstart_finder(distros_added)
File "/usr/lib/python2.4/site-packages/cobbler/action_import.py", line 281,
in kickstart_finder
ds = importer.get_datestamp()
File "/usr/lib/python2.4/site-packages/cobbler/action_import.py", line 968,
in get_datestamp
return float(datestamp)
--------------------------
I was able to import already existing distros-directories on
one of these servers bevore - didnt try on the other server
at that time.
Tried cobbler-1.4.1-1.el5.noarch.rpm, cobbler-1.4.0-2.el5.noarch.rpm
and cobbler-1.4.2-1.el5.noarch.rpm, same problem for all of those.
I am back to cobbler-1.4.1-1.el5.noarch.rpm from epel.
# cobbler import --path=/mnt/looprhel5u3 --name=rhel5u3 --arch=x86_64
This works as it should.
Any ideas on the problem above?
Thanks, Christian
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler