[ANNOUNCE] Cobbler and Koan 1.6.3
by Michael DeHaan
Hi folks, it's time for another release. This is a bugfix release to
continue the 1.6.X stable release branch.
It contains fixes for import, machine auto-discovery with koan, and (my
favorite) the mysterious unicode bug! There's also a lot of small fixes
that affect DHCP management, including a fix to ensure we close our file
descriptors properly, which should help with the annoying "cobbler sync
with dhcp management on results in dhcpd taking cobbler's port"
problem. Also a fun one to get sorted out :)
Changes to Cobbler:
- (BUGF) import with datestamp=0 when .discinfo is not found, do not crash
- (BUGF) various fixes to "cobbler report" when using non-standard formats
- (BUGF) rename with same name does not delete
- (BUGF) Fix for traceback when generating DHCP config and the
bonding_master interface does not exist.
- (BUGF) remove trailing newline from tokens
- (BUGF) fix unicode handling of some fields under EL4
- (BUGF) fix webui search error (fixed better on devel)
- (BUGF) fix duplicate power reference
- (BUGF) fix error message that makes it appear dnsmasq had a problem
restarting, when it did not
- (BUGF) workaround for blank ifnames
- (BUGF) spec now requires python-urlgrabber
- (BUGF) change settings default from 'ksdevice=eth0' to 'bootif'
- (BUGF) keep DHCP restart quiet
- (BUGF) better hostname setting with DHCP management on
- (BUGF) fix bug in repo breed auto-detection code
- (BUGF) close file descriptors by using subprocess, not os.system
- (BUGF) make cobbler package Arch for now, require syslinux where it
makes sense only. To be changed in later release to download it from
intertubes.
Changes to Koan:
- (BUGF) Workaround for autodiscovery code bug with rhpl as used when
--profile or --system is not set, or when using cobbler-register feature
Source RPMS and tarballs can be found at:
http://mdehaan.fedorapeople.org/files/cobbler/
The Fedora/EPEL build system has a temporary outage, so these should be
submitted for official builds (and availablility through yum) either
later today, this weekend, or Monday.
As usual, thanks for everyone who helped test or contributed fixes for
this release! If anyone has any problems, let us know, there will be
time for one or two more
1.6.X updates before we have 1.8 ready, I'm sure. (And all fixes we
make for 1.6.X get applied towards 1.8).
1.8 continues at full speed, with lots of great work lately on the Web
interface (moving to Django -- huge thanks to James Cammarata for a ton
of work there), new deployment features, and so on. If you're
interested in following development, I highly recommend joining
https://fedorahosted.org/mailman/listinfo/cobbler-devel.
Thank you and happy installing!
--Michael
15 years
Overlapping kernel config options?
by Charles Duffy
Howdy, all.
I often find myself booting with "console=ttyS0 console=tty0", to send
kernel messages to both the first serial port and the first virtual console.
As cobbler uses a python dict for kernel options, which thus requires
unique keys, this doesn't appear to be possible. Am I missing something
here?
Thanks!
15 years
post_install_network_config oddity
by Gennadiy Nerubayev
This particular snippet is giving me issues in that it's apparently not
templating at all. All other snippets are working fine. The rendered
kickstart for a system that was only created with a name, still contains:
$SNIPPET('post_install_network_config')
If I look at the rendered view for the profile, it returns the following, as
it should:
# Start post_install_network_config generated code
# End post_install_network_config generated code
This is regardless if I use my custom kickstart template or sample.ks, on
v1.4.2. There are no apparent errors in the logs - is there anything I can
do to debug this further?
Thanks,
-Gennadiy
15 years
RHEL 5.3 failure: repodata/primary.xml.gz
by Rodrique Heron
Using cobbler 1.6.2 on Centos 5.2, I am try to deploy a RHEL 5.3 system. I
get as far a selecting what disk I want to format and confirm. Then I am
prompted with this error:
Unable to read package metadata. This may be due to a missing repodata
directory. Please ensure that your install tree has been correctly
generated. failure: repodata/primary.xml.gz from
anaconda-base-200901061732.x86_64: {Errno 256] No more mirrors to try.
I re-imported the distro several times using a different name, and each I
was able to reproduce the error.
I imported the RHEL 5.3 DVD, by issuing:
cobbler import --name="rhel-srv-5.3-64bit" --mirror=/mnt
--rsync-flags="--quiet" --arch=x86_6
The output from this is available on pastebin, I had to split in three:
http://cobbler.pastebin.com/d5052eb98
http://cobbler.pastebin.com/d252ead8a
http://cobbler.pastebin.com/d29dd5d91
15 years
cobblerd dead but subsys locked
by Rodrique Heron
My installation of cobbler 1.6.2-1 fails to start when you issue "service
cobblerd start" command, when you check the status "service cobblerd
status", I get this output: cobblerd dead but snippets.
Any ideas? the logs for cobbler does has no errors.
15 years
problem adding non-mirrored yum-repos
by Christian Horn
Hi,
we already have a distro available and add it to cobbler
without mirroring it:
# cobbler import --path=/cobbler/webroot/x86_64/rhel5u3_serv --name=rhel5u3 \
# --arch=x86_64 --available-as=http://10.0.0.1/x86_64/rhel5u3_serv
Now we createrepo on this and would like to have it added
to cobbler so set linux-deployed servers can get it via
$yum_config_stanza:
# createrepo /cobbler/webroot/x86_64/rhel5u3_serv
# cobbler repo add --mirror=http://10.0.0.1/x86_64/rhel5u3_serv \
# --name=rhel5u3_serv --keep-updated=0 --mirror-locally=0
# cobbler reposync
#> - rhel5u3_serv is set to not be updated
We edit a profile to use the repo:
# cobbler profile edit --name=rhel5u3-x86_64 --repos='rhel5u3_serv'
Now checking what $yum_config_stanza resolves into:
# cobbler system getks --name=chhorn_tester64|grep yum.repo
#> wget "http://10.0.0.1/cblr/svc/op/yum/system/chhorn_tester64" \
#> --output-document=/etc/yum.repos.d/cobbler-config.repo
File http://10.0.0.1/cblr/svc/op/yum/system/chhorn_tester64 contains:
#> error: could not read repo source: /var/www/cobbler/repo_mirror/rhel5u3-repo/config.repo
In directory /var/www/cobbler/repo_mirror there is only:
rhel-x86_64-server-5 .
Any suggestions?
Christian
15 years
What's the best way to run koan as a non-root user?
by Brenton Leanhardt
Obviously I'm referring to a "--virt" install and not
"--replace-self". Here's what I had to do to allow non-root users to
provision guests on a Fedora 10 KVM host:
1) Grant users the "org.libvirt.unix.manage" PolicyKit privilege
2) Fix permissions on /var/lib/libvirt/boot/ and /etc/libvirt
3) Comment out the root user check in koan's app.py
I realize #3 is a terrible hack. What would be the best way to patch
koan? Have the check for root be more granular? Simply print a
warning if the user is using QEMU/KVM and trust they know what they
are doing? Add a "--force" option or something of that nature for
whenever koan should just trust the user?
--Brenton
15 years
Symbolic 1.3.0 - A WebApplication FrontEnd for Cobbler usage and management
by Marco Mornati
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear users,
we are pleased to announce Symbolic 1.3.0 has been released.
The key features added to this latest release are:
* Browsing virtual machines consoles directly form the web interface
* Cloud computing support (Virtual machine management,capabilities for
clustered environments, virtual machines relocation and live migration)
* Profiled Machines provisioning through web interface using Cobbler
support.
We jointly released a new version of the project website where you can
download the binaries and browse the updated documentation
(http://www.opensymbolic.org )
You can take a look on new features in action on
http://www.opensymbolic.org/products/demo
Enjoy!
Symbolic Team
- --
Dott. Ing. Mornati Marco
Byte-Code s.r.l
via Antonio Cechov, 1
San Giuliano Milanese (MI)
E-Mail: mmornati(a)byte-code.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAknnDtAACgkQzqSIKWCQ2AVPtACdFogeYQPvcIcgw8x9lu2RXE8V
c8UAnjMNkwR7DXy5aIbqquwKijxlk25u
=k97U
-----END PGP SIGNATURE-----
15 years
Can't connect to LDAP directory.
by Kévin COUSIN
Hi List,
I try to autenthicate my users to an Active Directory, but it's not working. I
have this errors when i'm usinf the demo_connect python script.
./demo_connect.py
- trying to login with user=test
Traceback (most recent call last):
File "./demo_connect.py", line 37, in ?
token = sp.login(options.user,options.password)
File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
verbose=self.__verbose
File "/usr/lib/python2.4/xmlrpclib.py", line 1147, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.4/xmlrpclib.py", line 1286, in _parse_response
return u.close()
File "/usr/lib/python2.4/xmlrpclib.py", line 744, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: 'exceptions.IOError:[Errno 9] Bad file descriptor'>
Thanks
--
Regards
----
COUSIN Kevin
Linux Administrator
Global Service Provider
75017 PARIS
FRANCE
15 years