Error saving new profile with WebUI
by Leonid Flaks
Hi !
I have the following error message displayed attempting to save new profile:
Error while saving profile :local variable 'inum' referenced before
assignment
It happens when I add new profile or new child, no matter what values
are entered in the WebUI. I have no problem adding profiles in command
line. Editing existing profile and saving in WebUI has no problems neither.
I am using cobbler-1.6.5 on Fedora 10.
Is it just me, or anybody else see that?
I remember doing just that without any errors a couple months ago with
older cobbler versions.
Thanks,
Leon
14 years, 11 months
root= for F11 Live CD PXE
by Corey Garst
Hey folks,
I'm looking at the documentation here:
https://fedorahosted.org/cobbler/wiki/HowToPxeAnyLiveCd and using
Fedora-11-i686-Live.iso
I'm not clear on what the root path should be in the kernel options. The
full path to my ISO is
/mnt/isos/fedora/Fedora-11-i686-Live/Fedora-11-i686-Live.iso, so I have
'root=/mnt/isos/fedora/Fedora-11-i686-Live/Fedora-11-i686-Live.iso
rootfstype=iso9660 rootflags=loop !text !lang !ksdevice' for my kernel
options.
This causes the boot to fail:
VFS: Cannot open root device
"/mnt/isos/fedora/Fedora-11-i686-Live/Fedora-11-i686-Live.iso" or
unknown-block(0,0)
Please append a correct "root=" boot option; here are the available
partitions:
0800 78125000 sda driver: sd
0801 204800 sda1
0802 77919263 sda2
0b00 1048575 sr0 driver: sr
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)
Should I be using a relative path and put the iso in a magic directory
somewhere?
-Corey Garst
14 years, 11 months
Re: Non-linux installation
by Rodrique Heron
Jared Hodge wrote:
>
> All,
>
> Forgive me if this has been addressed recently, I haven’t been
> monitoring the mailing list very closely. A few months ago there was
> quite a bit of discussion about support for windows XP (via ris-linux)
> and other non-linux operating systems (via cloning). I believe the
> decision was made to favor support of cloning over other options. Has
> any progress been made on this front? I was going to suggest looking
> at including “g4l” (ghost for linux -
> http://sourceforge.net/projects/g4l/) as the cloning option. It seems
> that this would be very easy to get working since it supports ftp
> access to the images and already has a bootable linux image for the
> cloning tool itself. I would think all that would be needed is an
> option to load this bootable image though the current pxe/bootiso
> options and possibly add some lipstick to have a clean method of
> selecting the image to be used or created on the cobbler server.
>
> Anyway, maybe this discussion has moved to the development mailing
> list, but I was just hoping for an update. Thanks.
>
> -Jared
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> cobbler mailing list
> cobbler(a)lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/cobbler
>
RIS is a dead end because it does not support newness.
We may investigate cloning in the future but right now have plenty of
ideas going (see cobbler-devel list) so there is not much time to chase
that presently.
We do support virtualized installs via prepared ISOs, as well as
snapshot cloning of virtual VMs (for KVM), which is our preferred route
for now.
"ghost 4 linux" seems like it's waiting for a trademark and other kinds
of legal beatdown just coming from the name. Clonezilla may be in the
running.
TBD, though it is unlikely to happen for Cobbler 2.0, perhaps 2.2.
--Michael
I would be satisfied with being able to boot any iso via cobbler pxe. We use acronis, I want to try and boot the iso via cobbler iso.
14 years, 11 months
Are you following the development list?
by Michael DeHaan
If you aren't, that is of course fine, but I wanted to point out that
we've had some discussions lately about a lot of interesting features
for 2.0, including the new Self Service portal idea for getting new
machines installed, as well as the Deploy API, External Storage, and
Network objects. Some of these are getting some nice traction.
https://fedorahosted.org/mailman/listinfo/cobbler-devel
You might want to subscribe in digest-mode if you want to keep up with
future direction.
Or at least check the archives from time to time.
This stuff is in a /lot/ of flux so it's not quite suitable for general
consumption, and we are probably apt to discuss implementation details
at confusing levels of detail from time to time :)
The main list is for release announcements, more general discussion,
"what do you think about", kinds of things and help.
But anyway, don't think if you are not a developer you can't join the
devel list. We want to make sure everyone knows they are welcome there.
--Michael
14 years, 11 months
PXE - I've got it wrong...
by Vic
Hi All.
I'm having a first go at PXE-booting a machine to do a cobbler
installation. It's not going well...
The DHCP phase passes without issue, and then the target starts TFTPing
files down. pxelinux.0 is transferred, followed by pxelinux.cfg/default.
At this point I run into trouble - I get a raft of "Unknow keywork in
config file" errors (with a coupl of "missing paramter" errors for good
measure).
Has anyone seen this? Have I done something unbelievably daft?
Thanks!
Vic.
14 years, 11 months
Cobbler Import Ubuntu 9.04
by Corey Garst
Any tricks to getting a Ubuntu profile for PXE? I'm not clear on how
well it's supposed to work from the documentation.
Here's what happened when I tried a cobbler import of a standard
ubuntu-9.04-alternate-i386.iso file.
---------------- (adding distros)
- warning: avoiding symlink loop
- warning: avoiding symlink loop
- warning: avoiding symlink loop
- found content (breed=ubuntu) at
/var/www/cobbler/ks_mirror/Ubuntu-9.04/install
- creating new distro: Ubuntu-9.04-i386
- creating new profile: Ubuntu-9.04-i386
- warning: avoiding symlink loop
---------------- (associating repos)
- traversing distro Ubuntu-9.04-i386
- found content (breed=ubuntu) at
/var/www/cobbler/ks_mirror/Ubuntu-9.04/install
- descent into /var/www/cobbler/ks_mirror/Ubuntu-9.04
- Added repos for Ubuntu-9.04-i386
---------------- (associating kickstarts)
- found content (breed=ubuntu) at
/var/www/cobbler/ks_mirror/Ubuntu-9.04/install
- processing deb : base-files_5ubuntu4_i386.deb
pop from empty list
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 124, in run
breed=self.options.breed
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 594, 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
272, in kickstart_finder
results = importer.scan_pkg_filename(rpm)
File "/usr/lib/python2.4/site-packages/cobbler/action_import.py", line
1241, in scan_pkg_filename
accum.pop(0)
Thanks
Corey Garst
14 years, 11 months
yum options for repos
by Leonid Flaks
Hi!
I am using cobbler reposync to make local mirrors on some of repos. The
reposync process creates config.repo files for each repository (mirrored
or non-mirrored - no difference). If I don't do anything, this file
would have a line 'gpgcheck=0'. I want to have it as 'gpgcheck=1'.
I found that I can put it as an option in 'Yum options' field in web UI,
but I need to do it in every repository. Is there way to make it as a
default setting in, say, /etc/cobbler/settings file? At the very end of
this file I see yumreposync_flags and yumdownloader_flags, but not
yumconfigrepo_flags (or something similar)
This is a low priority issue, obviously.
Thanks,
Leon
14 years, 11 months
ETHTOOL_OPTS in cobbler
by Tom Kleiberg
Hello all,
I am trying to force the ethernet-card settings on my FC8 machines.
One way of doing this is to use the ifcfg-ethX scripts
(see http://www.cyberciti.biz/tips/howto-linux-add-ethtool-duplex-settings-per...)
.
This requires that an extra parameter is added to these scripts,
namely ETHTOOL_OPTS.
My question is now whether it is possible to add this line to the
script during installation and (possibly) different for each
interface, e.g.:
cobbler system edit --name=foo --interface=eth1 --
mac=AA:BB:CC:DD:EE:A1 --ip=x.x.x.x --ethopts="speed 100 duplex full
autoneg off"
if not, what would be a good way to do this?
thnx
tom
14 years, 11 months
cobbler reposync looking for non-existent rpms
by Thomas S Hatch
So, this is a new issue, let me paint the picture:
I have a bunch of puppet code that creates cobbler servers on Fedora 10, up
until a few days ago I had no problems, but now reposync is behaving badly.
when I run cobbler reposync if runs fine for the os_everything repo, but the
fedora 10 updates repo keeps trying to download packages that are not on the
mirror! and it refuses to download the right packages! Here are some
errors and info:
[F10_updates: 294 of 6239 ] Downloading
armstrong-devel-0.2.6-4.fc10.x86_64.rpm
Could not retrieve package armstrong-devel-0.2.6-4.fc10.x86_64. Error was
failure: armstrong-devel-0.2.6-4.fc10.x86_64.rpm from F10_updates: [Errno
256] No more mirrors to
try.
[F10_updates: 295 of 6239 ] Downloading
armstrong-devel-0.2.6-4.fc10.i386.rpm
Could not retrieve package armstrong-devel-0.2.6-4.fc10.i386. Error was
failure: armstrong-devel-0.2.6-4.fc10.i386.rpm from F10_updates: [Errno 256]
No more mirrors to
try.
[F10_updates: 296 of 6239 ] Downloading
arora-0.6-1.fc10.x86_64.rpm
Could not retrieve package arora-0.6-1.fc10.x86_64. Error was failure:
arora-0.6-1.fc10.x86_64.rpm from F10_updates: [Errno 256] No more mirrors to
try.
cobbler repo report:
repo : F10_updates
arch : x86_64
breed : yum
comment :
created : Thu Jun 4 11:10:10 2009
createrepo_flags :
environment : {}
keep updated : True
mirror : http://mirror.anl.gov/pub/fedora/linux/updates/10/x86_64/
mirror locally : True
modified : Thu Jun 4 11:21:48 2009
owners : ['admin']
priority : 99
rpm list : []
yum options : {}
rpm -qi cobbler
Name : cobbler Relocations: (not relocatable)
Version : 1.6.5 Vendor: Fedora Project
Release : 1.fc10
.....
rpm -qi yum-utils
Name : yum-utils Relocations: (not relocatable)
Version : 1.1.19 Vendor: Fedora Project
Release : 1.fc10
.....
And then if I check the anl repo, those files are not there! But in the
case of arora for instance, arora 0.7 is not downloaded.
any ideas? I am stumped!
-Tom Hatch
14 years, 11 months
add more rpm packages to cobbler repo
by Sai Kiran
Hi,
I have created a repo from a dump of RHEL 5 Update 3.
# cobbler repo report RHEL5-U3-x86_64-AS-FULL
repo : RHEL5-U3-x86_64-AS-FULL
arch : x86_64
breed : yum
comment : Complete RHEL 5.3 Repo
created : Fri May 29 14:43:55 2009
createrepo_flags : -c cache
environment : {}
keep updated : False
mirror : ftp://10.193.64.131/RHEL5-U3-x86_64-AS-20090522/RPMS
mirror locally : True
modified : Thu Jun 4 15:31:19 2009
owners : [u'admin']
priority : 99
rpm list :
yum options : {}
After creating the repo i have deleted the packages from original
location and edited this repo properties to disable further updates.
Now i have realized that i have missed adding in a few more packages.
Is there a way i can update the existing repo using cobbler with
addional packages without teh original set of packages?
If i dump all the new packages into existing directory and re-create
repo using createrepo, will it cause any trouble?
Thanks for your help.
Kiran
14 years, 11 months