yum upgrade to 1.2.6-1.el5
by Harry Hoffman
Just upgraded to the latest cobbler from epel-testing... the
post-install script fails :-(
Updating : cobbler ####################### [ 5/10]
profile CentOS-5.2-x86_64 not found, inheritance not possible
Stopping cobbler daemon: [ OK ]
Starting cobbler daemon: Traceback (most recent call last):
File "/usr/bin/cobblerd", line 32, in ?
api = bootapi.BootAPI()
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 90, in
__init__
self.deserialize()
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 448, in
deserialize
return self._config.deserialize()
File "/usr/lib/python2.4/site-packages/cobbler/config.py", line 186,
in deserialize
serializer.deserialize(self._profiles)
File "/usr/lib/python2.4/site-packages/cobbler/serializer.py", line
125, in deserialize
rc = storage_module.deserialize(obj,topological)
File
"/usr/lib/python2.4/site-packages/cobbler/modules/serializer_yaml.py",
line 136, in deserialize
obj.from_datastruct(datastruct)
File "/usr/lib/python2.4/site-packages/cobbler/collection.py", line
144, in from_datastruct
item = self.factory_produce(self.config,seed_data)
File
"/usr/lib/python2.4/site-packages/cobbler/collection_profiles.py", line
41, in factory_produce
return profile.Profile(config).from_datastruct(seed_data)
File "/usr/lib/python2.4/site-packages/cobbler/item_profile.py", line
87, in from_datastruct
self.set_parent(self.parent)
File "/usr/lib/python2.4/site-packages/cobbler/item_profile.py", line
131, in set_parent
raise CX(_("profile %s not found, inheritance not possible") %
parent_name)
cobbler.cexceptions.CX: 'profile CentOS-5.2-x86_64 not found,
inheritance not possible'
[FAILED]
error: %post(cobbler-1.2.6-1.el5.noarch) scriptlet failed, exit status 1
Any ideas?
Cheers,
Harry
14 years, 8 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, 10 months
scm_track_enabled docs?
by Dick Davies
Does anyone have any documentation on what
scm_track_enabled: 1
should do? I'm assuming cobbler creates its own git repo and starts versioning
its config, but I've no idea where it would/should be. Thanks!
14 years, 10 months
setting dns-domain for suse distros
by Christian Horn
Hi,
for RHEL we set the dns-domain of systems using
--hostname=host.domain.tld and are done.
Searchdomains and nameservers are also handled by the cobbler-
provided snippets just fine.
For SLES the autoyast.xml file expects a value for the hostname
_without_domain_ and the domain in a separate field / separate
xml-tags.
Ultimate goal is ofcourse to use the --hostname syntax for both,
but this would require me to separate hostname and domainname
for filling it into the autoyast.xml file.
Didnt get this done, only seen string.replace which works fine
to strip off/replace known strings, but not to strip off the
while domain.
For now we do this for SLES: --hostname=host and --ksmeta=
'dnsdomain=my.domain.tld' and fill this into the autoyast.xml.
Someone having a nicer idea? I.e. using shellcode (so 'sed'
here) in the snippets that is used when generating the
kickstartfile for the system would help.
There is some regex-replace in cheetah, needs 'import re',
but i failed getting this to run.
Christian
14 years, 11 months
$tree in kickstart
by Tom Brown
Is this now depricated in 1.6 ??
+------+ Kickstart Error
+-------+
|
|
| Unknown Url method $tree
|
|
|
| +----+
|
| | OK |
|
| +----+
|
|
|
|
|
+--------------------------------+
and the template looks like
# Use network installation
url --url=$tree
thanks
14 years, 11 months
[ANNOUNCE] Cobbler 1.6.5
by Michael DeHaan
Cobbler and Koan 1.6.5 fix various items:
- (BUGF) don't use json on python x<=2.3 since we know it's simplejson
x<2.0, which has unicode issues
- (BUGF) don't add duplicate interfaces in koan if vlan tagged (koan fix)
- (FEAT) support F-11 imports
- (BUGF) pair PAE and non-PAE content in imports better
- (BUGF) don't try to scp /etc/cobbler/*.ks on replicate, this is an old
path
- (BUGF) set proper umask on .mtime files
- (BUGF) fix koan error with unspecified arch using --kexec
- (BUGF) don't use --onboot=on in network config for kickstart for RHEL 3.
The main fix -- EL4 unicode -- is hopefully the final unicode fix for a
long while.
This release also includes the ability to import F11, which I felt was
important to get out rather than making folks wait for 2.0, which will
likely
come out some time after F11.
You will note that koan only contains the (small) vlan change.
http://people.fedoraproject.org/~mdehaan/files/cobbler/
This should hit the usual mirrors shortly.
We'll may have a 1.6.6 to accumulate any new bugfixes -- such as the
blktap bug/feature in koan mentioned a few days ago and new things that
come up,
depending on how Cobbler development continues on the development
branch. I'm currently leaning on letting it run a little long, so not
only the new WebUI
can be fully completed, but we can also have network objects (finally,
knock on wood) implemented -- and possibly some other ideas, to make it
worthy of a 2.0
release.
--Michael
14 years, 11 months
Cobbler/Satellite at Red Hat Summit 2009 (September, Chicago, IL)
by Michael DeHaan
For those with an interest in Red Hat Summit,
Mike McCune and I will be presenting at Red Hat Summit on the new
deployment (Cobbler-powered) features in Satellite 5.3 (and Spacewalk).
http://www.redhat.com/promo/summit/2009/
This talk won't be Cobbler specific (as we've done this a few times
before), with regard to new features, but still should be very
interesting for those of you who want to look at how to use Cobbler in
conjunction with other interesting Satellite features (such as package
management) as well as some of the future for where Satellite may be
going and more about Spacewalk.
Summit also has a "Campground" space for ad hoc talks, so we'll
absolutely do a Cobbler-specific talk there with regards to new
developments, clever tricks, and things looking forward.
It might even approach "strategy/hackfest" depending on interest level.
Summit is in Chicago this year -- if the last two I visited were any
guideline, this would should be a great conference as well.
(I think we're also shooting for being at LISA this year in Baltimore, I
have to check on that. See also previous emails about HP Tech Forum,
which is coming up about three weeks -- which we're presenting twice at,
and probably once more informally at the Red Hat booth/space)
Anyway, wanted to mention that now so folks could be aware of it.
Thanks!
--Michael
14 years, 11 months
dependency problem with reposync
by Sai Kiran
Hi,
I am trying to install cobbler on a RHEL 4 system. I have installed
cobbler-1.6.2-1.el4 from epel repository.
However when i try running cobbler check, i get the following error.
#0: yum-utils need to be at least version 1.1.17 for reposync -l,
current version is 0.5
I have been searching on internet and not able to find matching
python/yum versions for RHEL 4. Has anyone faced similiar problems
before me?
Is this due to the following default setting in /etc/cobbler/settings?
# additional flags to yum commands
yumreposync_flags: "-l"
I tried checking on the reposync manpage, but don't seem to find the
option. what does it do? can i disable it to move ahead or just ignore
this dependency.
Thanks for your help in advance.
Thanks,
Kiran
14 years, 11 months
Cobbler KS with GNOME
by Corey Garst
Could someone tell me what I have to add to install with GNOME on boot?
I'm using a KS template based off of the sample.ks that comes with
cobbler. I've tried adding "xconfig --startxonboot" but X fails because
the packages aren't installed. I'm not sure where in this KS file I can
specify to install X and GNOME packages.
#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth --useshadow --enablemd5
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
clearpart --all --initlabel
# Use text mode install
text
# Firewall configuration
firewall --enabled
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# Use network installation
url --url=$tree
# If any cobbler repo definitions were referenced in the kickstart
profile, include them here.
$yum_repo_stanza
# Network information
$SNIPPET('network_config')
# Reboot after installation
reboot
#Root password
rootpw --iscrypted $default_password_crypted
# SELinux configuration
selinux --enforcing
# Do not configure the X Window System
skipx
#xconfig --startxonboot
# System timezone
timezone America/New_York
# Install OS instead of upgrade
install
# Clear the Master Boot Record
zerombr
# Allow anaconda to partition the system as needed
autopart
%pre
$SNIPPET('log_ks_pre')
$kickstart_start
$SNIPPET('pre_install_network_config')
# Enable installation monitoring
$SNIPPET('pre_anamon')
%packages
$SNIPPET('func_install_if_enabled')
%post
$SNIPPET('log_ks_post')
# Start yum configuration
$yum_config_stanza
# End yum configuration
$SNIPPET('post_install_kernel_options')
$SNIPPET('post_install_network_config')
$SNIPPET('func_register_if_enabled')
$SNIPPET('download_config_files')
$SNIPPET('koan_environment')
$SNIPPET('redhat_register')
$SNIPPET('cobbler_register')
# Enable post-install boot notification
$SNIPPET('post_anamon')
# Start final steps
$kickstart_done
# End final steps
Corey Garst
14 years, 11 months