2 Jan 23:03
Kickstart tracking in 0.3.6
Friendly Neighborhood Cobbler Users, One of the things I've wanted to do with cobbler for some time was be able to keep track of systems as they kickstart, so that higher level applications and scripts could, if they wanted, try to detect which machines had stalled or otherwise failed to complete. Some rudimentary support for this is going into upstream now, and I'll be refining it some more over the next few days. How does it work? Well, it only works for kickstart trees that come out of /var/www/cobbler -- local content -- so if you're installing off of a Fedora mirror, this gives you more reason to let Cobbler mirror that distro and serve it locally (plus, it's nicer to the guy running the mirror). This means kickstart tracking will work for any distros that have been pulled down via "cobbler import" or any distributions you have created yourself in that directory (/var/www/cobbler/localmirror/foo is the preferred destination for such content). If you already have a kickstart tree elsewhere, symlinking it should be good enough if you configure Apache appropriately. So, how it works -- this new release installs a mod_python filter handler automagically for /var/www/cobbler, and access to certain files in that directory are logged with the IP address of the requester, the time, and the file requested. From this, it is possible to tell what profiles are being requested, what RPM's they've requested, and when they are done (they request a special filename at the bottom of their kickstarts when they are done). This all currently goes into /var/log/cobbler/cobbler.log and there is a logrotate script in(Continue reading)
RSS Feed