Bugs closed so far for 2.0, what's left
by Michael DeHaan
In interest of radical transparency and all that, here's what I'm
planning on fixing for the 2.0.1 release. The goal is to get this out
Friday, worst case scenario -- Tuesday at absolute latest. Then we'll
crank out another testing RPM for folks to upgrade to.
From the changelog, we have already fixed this week:
- (BUGF) Fixes for image based CLI usage and object validation
- (BUGF) Fix koan check for images ... they don't need a kickstart
- (BUGF) Get NFS image mounting working again
- (BUGF) Show object name on cobbler-web edit pages
- (BUGF) Make memtest integration look in the right file locations
- (BUGF) Fix check for dhcpd installation
- (BUGF) Fix code to detect dhcpd config file installation
- (BUGF) Cleaned up generated comments in settings files
- (BUGF) Unhide per-system post-install kernel options
- (BUGF) Unhide owners fields
- (BUGF) Fix "cobbler profile/system dumpvars" command
- (BUGF) Remove acl_engine reference from authz_configfile
- (BUGF) Add "View Kickstart" link back on profile list page
----
Here are things we must fix, with notes on the fixes pending.
#491 cobbler reposync --only may not be working properly in 2.0.0
NOTES: most likely just a CLI/parameter not being routed
through cobblerd correctly. Easy enough.
#499 sessions directory should be moved from /usr/share/cobbler/web
to /var
#502 session related files needs to be stamped httpd_sys_content_t
if SELinux in enforcing mode
NOTES: we will let Cobbler check warn about the command
to run along with other SELinux rules
#503 cobbler import failing when SELInux in enforcing mode and
boolean rsync_disable_trans --> off
NOTES: we will let Cobbler check warn about the command
to run along with other SELinux rules
#504 utils.uniquify not found in Cobbler Web
NOTES: not sure yet
#507 paging navigation not showing up in profile view
NOTES: not sure yet
Need to Investigate/Reproduce Still:
#481 eth0 already present but can view it in cobbler_web
-----
Non Life-Threatening / Planning To Defer To Later Release / Send In A
Patch If You Are Interested In Seeing This Fixed:
#408 --virt-auto-boot needs to support qemu/KVM
#411 unicode data types should not appear in 'report' output 03/28/09
#431 'langsupport' command in
/var/lib/cobbler/kickstarts/pxerescue.ks breaks Fedora 10 PXE
#446 --onboot is invalid option for RHEL3 based builds
#452 make koan use blktap driver for Xen when possible
#459 --static-interface assumes the gateway is in the interface conf
#461 cobbler check prints /usr/sbin/semanage: No such file or directory
#477 don't allow non-printable chars (and spaces, where relev.) in
most fields
#479 ConfigParser doesn't parse correctly names of the form:
<user>@<REALM>
#496 "Add new" button in webapp location for 2.0 is not intuitive
#501 "accents"/diacritics characters not supported in Comment fields
(systems)
(also not listed: all RFEs currently in Trac)
----
Not Planned For 2.0.1, But *Must* Fix for 2.1:
#470 move from rhpl to python-eththool (and others)
---
Comments/etc welcome!
--Michael
14 years, 6 months
print kernel_options_post for system objects
by Christopher Johnston
Mike,
I believe this is needed for system objects in order to print kernel post
options. They are inheritable from other objects (distro, profiles, etc)
right?
cjohnston@xenguest01:~/cobbler$ git diff
diff --git a/cobbler/item_system.py b/cobbler/item_system.py
index 9452f7c..2b7453f 100644
--- a/cobbler/item_system.py
+++ b/cobbler/item_system.py
@@ -35,7 +35,7 @@ FIELDS = [
["profile",None,0,"Profile",True,"Parent profile",[]],
["image",None,0,"Image",True,"Parent image (if not a profile)",0],
["kernel_options",{},0,"Kernel Options",True,"Ex: selinux=permissive",0],
- ["kernel_options_post",{},0,"Post Install Kernel Options",False,"Ex:
clocksource=pit noapic",0],
+ ["kernel_options_post",{},'<<inherit>>',"Kernel Options (Post
Install)",True,"Ex: clocksource=pit noapic",0],
["ks_meta",{},0,"Kickstart Metadata",True,"Ex: dog=fang agent=86",0],
["netboot_enabled",True,0,"Netboot Enabled",True,"PXE (re)install this
machine at next boot?",0],
["kickstart","<<inherit>>",0,"Kickstart",True,"Path to kickstart
template",0],
-Chris
14 years, 7 months
Some patches ready for system copying and editing
by Vreman, Peter
To prevent duplicate work I want to let you know that have the following patches ready. The patches fixes a couple of bugs and improves some logging. The patches are for issues that I encountered with copying and editing a systems.
+ 057e191dd4fc1e2fa5a581442a4c37b1b6cb9ed0 exit with error code 1 if command fails
+ 25f4772d4b57fa6919005a08e0882e19b2cdc0d1 get_item and get_items log are debug
+ 3e6765c69742f109ea36f1b76242b2b07d38f1d4 fixed saving of is_static dependent fields, remove duplicated code
+ 75bc510eb9dd1a4ea0d4cb4ef9d85856b53baa70 report exit if system not found
+ 127579a5bdbd0a373ee9acbd4d5d272e463019e9 log updates, add criteria to find_items and make more debug
+ 66b368928657920d276b487924b220c4f521d7dc make virt auto boot checkbox
+ c4b661d1c68095890abc0b9f689127249106abd5 raise error in blended data if profile or system not found
+ 2345342fc79094cce71ae41054afd2dd646d06c9 blended_data checks for empty profile name
+ 2801c85400f6cc6ef1288c3e958a08205001afb5 dumpvars sort and list added
+ 356a50f48218902862c1b7b7c45b02497e657cb9 use deepcopy to copy system interfaces to prevent modifying the original system record
The patches (and my previous background log messages improvements) will be available as soon as I can push them to github.
Peter
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
14 years, 7 months
my fixes for 2.0 branch...
by Bill Peck
Here is the link to my fixes for 2.0
http://fedorapeople.org/gitweb?p=bpeck/public_git/cobbler.git;a=shortlog;...
make_tftpboot, create base dirs for yaboot, elilo,...
get distro name, not object (fixes previous patch)
execute power commands through shell, this allows us...
use get_conceptual_parent(), distro may not be defined...
move initialization code into item_distro, use get_conc...
fix missing errno import and fix legacy netboot-enabled...
pxelocal.template makes elilo halt, use ia64 specific...
add rhel6 as a valid osversion
14 years, 7 months
system/edit [Networking] block in 2.0
by Martial Paupe
Hi the list,
I'm trying cobbler 2.0 and I'm running with this trouble at the moment ;-(
It seems on my environment that Cobbler doesn't save my network setting after
saving system.
I've also got one disturbing thing which is poorly (Yes I knows) reported here
https://fedorahosted.org/cobbler/ticket/481
Does any one got this same behavior?
babatoko
14 years, 7 months
CouchDB based serializer
by Michael DeHaan
I'm sitting in all-day meetings this week so I don't have enough
attention cycles for debugging/fixing 2.0 items until next week.
Anyway, got something kind of interesting done... though I am not sure
if we'll ever consider it a mainstream feature. TBD.
From the master branch
If you create:
/etc/cobbler/use.couch
Cobbler will use an installed and running CouchDB instance to store
distros, profiles, systems, repos, and images.
(yum install couchdb && /sbin/service couchdb start)
This will be instead of /var/lib/cobber/config/*.d
Note that there is *no* implemented upgrade path from .d mode, and I
don't plan on making one for this...
(Also we use the "use.couch" format since we no longer support users
writing their own serializers)
Theoretically, this could be used as the basis of a newer
self-replicating cobbler replicate mechanism, though there is the
limitation that the data would /already/ have to be available on the
remote systems.
This is mostly an experiment. It seems roughly the same performance
wise as the existing (and, admittedly, very couch-like) Cobbler JSON system.
To return to the previous behavior, rm the use.couch file and restart
cobblerd.
--Michael
14 years, 7 months
Branching
by Michael DeHaan
I've created a 'release20' branch for 2.0 fixes.
New work will target master.
If you are currently using master as a 'stable' branch you should switch
to release20.
I'll accept patches to both branches, as appropriate... in general,
simple fixes can be easily cherry-picked between them by me, so apply
bugfixes against release20 and specify which branch you are patching in
your email.
--Michael
14 years, 7 months
Cobbler 2.0 check confused about dhcpd
by Jeff Schroeder
# rpm -q dhcp
dhcp-3.0.5-13.el5
# which dhcpd
/usr/sbin/dhcpd
# service dhcpd status
dhcpd (pid 1912) is running...
# cobbler check
The following are potential configuration items that you may want to fix:
1 : dhcpd is not installed and/or in path
2 : debmirror package is not installed, it will be required to manage
debian deployments and repositories
3 : fencing tools were not found, and are required to use the
(optional) power management features. install cman or fence-agents to
use them
Restart cobblerd and then run 'cobbler sync' to apply changes.
root@xenguest01:~#
This is on RHEL5.2 using bd7d61c32d5a. Is this fixed in the latest git?
--
Jeff Schroeder
Don't drink and derive, alcohol and analysis don't mix.
http://www.digitalprognosis.com
14 years, 7 months
messages in /var/log/httpd
by Leonid Flaks
I just noticed that /var/log/httpd/access_log is getting filled with
lines every 2 seconds with whatever action is taken repeatedly until the
next one is generated which goes endlessly.
For example:
xxx.xxx.xxx.xxx - - [03/Sep/2009:14:16:22 +0000] "GET
/cblr/svc/op/events/user/cobbler HTTP/1.1" 200 2
"http://analyze/cobbler_web/distro/edit" "Mozilla/5.0 (X11; U; Linux
i686; en-US; rv:1.9.1.2) Gecko/20090803 Fedora/3.5.2-2.fc11 Firefox/3.5.2"
xxx.xxx.xxx.xxx - - [03/Sep/2009:14:16:24 +0000] "GET
/cblr/svc/op/events/user/cobbler HTTP/1.1" 200 2
"http://analyze/cobbler_web/distro/edit" "Mozilla/5.0 (X11; U; Linux
i686; en-US; rv:1.9.1.2) Gecko/20090803 Fedora/3.5.2-2.fc11 Firefox/3.5.2"
xxx.xxx.xxx.xxx - - [03/Sep/2009:10:16:26 -0400] "GET
/cblr/svc/op/events/user/cobbler HTTP/1.1" 200 2
"http://analyze/cobbler_web/distro/edit" "Mozilla/5.0 (X11; U; Linux
i686; en-US; rv:1.9.1.2) Gecko/20090803 Fedora/3.5.2-2.fc11 Firefox/3.5.2"
xxx.xxx.xxx.xxx - - [03/Sep/2009:14:16:28 +0000] "GET
/cblr/svc/op/events/user/cobbler HTTP/1.1" 200 2
"http://analyze/cobbler_web/distro/edit" "Mozilla/5.0 (X11; U; Linux
i686; en-US; rv:1.9.1.2) Gecko/20090803 Fedora/3.5.2-2.fc11 Firefox/3.5.2"
xxx.xxx.xxx.xxx - - [03/Sep/2009:10:16:30 -0400] "GET
/cblr/svc/op/events/user/cobbler HTTP/1.1" 200 2
"http://analyze/cobbler_web/distro/edit" "Mozilla/5.0 (X11; U; Linux
i686; en-US; rv:1.9.1.2) Gecko/20090803 Fedora/3.5.2-2.fc11 Firefox/3.5.2"
As a result the file, which was started 3 days ago is now 47M long!
I see it on the latest development version from git.
It is also worth mentioning the time stamp - it jumps between different
time zones.
Looks like some bug in logging.
Does anybody else see this, or is just me?
Thanks,
--
Leon
14 years, 7 months