Re: Logs for Automated tests

2011-10-22 Thread Michael Tautschnig
Hi, [...] I've just implemented some Automated tests. the doc(1) say: Test scripts are called via fai-do-scripts(1) and should append it's messages to $LOGDIR/test.log. But I've found that the logs are appended to $LOGDIR/shell.log [...] Fai use fai-do-scripts command and expect logs

Re: Partition type should be Linux raid autodetect

2011-10-21 Thread Michael Tautschnig
Hi Fredrik, [...] We noticed that, after an installation where we preserve a LVM volume under RAID (thanks again for that functionality), the partition table will look like this, Despite Julien's comment about raid-autodetect being deprecated I'd like to fully understand the (potential)

Re: Disk_config lens for Augeas

2011-09-02 Thread Michael Tautschnig
Hi, [...] This mail is to inform you that a new lens for FAI disk_config files was added to Augeas. It can currently be found in the git repository of the Augeas project [1]. This lens will turn disk_config files into a tree that can be parsed with xpath using Augeas. [...] Thanks a lot

Re: Disk_config lens for Augeas

2011-09-02 Thread Michael Tautschnig
Hi again, [...] I have noticed that the schema on the wiki is outdated, and sometimes not functional even. With the lens in the current state, I've been able to successfully parse 477 disk_config files we use in production. I'd be happy to get more tricky cases to test if you wish to send

Re: shorten dmesg.log

2011-09-02 Thread Michael Tautschnig
Hi, Would you mind taking a look at the logtail patch that's been sitting in experimental for almost forever already? I don't see how this can possibly work on something like the kernel message buffer. Its contents will rotate once it runs full so the offset noted by logtail will no

Re: [Fai-commit] r6625 - trunk/lib

2011-07-21 Thread Michael Tautschnig
Hi Thomas, Could you please add a warning about existing (but now unused) *.asc files? After all, this was supported since version 3.3 and fixed bugs #363701,#504018, hence I'd expect a number of users of this feature who will find their config no longer works. Thanks a lot, Michael Author:

Re: numeration for preserved partions

2011-07-14 Thread Michael Tautschnig
Just for the record: [...] Would you mind sending the patch? I just want to make sure I patch the right places and don't claim this is fixed in trunk and tested when what you test is a completely different code... Patch was received, with further ideas for improvements. All of which are

Re: Stable release 3.4.8 available

2011-06-06 Thread Michael Tautschnig
Julien BLACHE jbla...@debian.org wrote: Hi, I can provide that tomorrow; basically having an extended partition that takes all the remaining disk space should trigger the bug. Attached. Works for me(TM) just fine. Well, to be honest I found that fai-vol_id would sometimes fail on

Re: Stable release 3.4.8 available

2011-06-05 Thread Michael Tautschnig
Hi all and Julien in particular, [...] One issue I'm seeing is the end position for the last partition exceeding the device size when that last partition is an extended partition. Would you have a disk config available, where you've seen breakage? I'd then check it... If not, could you give

Re: Stable release 3.4.8 available

2011-05-12 Thread Michael Tautschnig
Hi, [...] After reading just the changelog I doubt they let it in :-) (But do try!) But, two of the closed important bugs (from the bts) still seem worthwhile fixing in stable... (offline atm, so I cannot look up the numbers.) I've only now reviewed the changelog myself and indeed the

Bugs (or easter eggs?) in get-config-dir-svn

2011-04-24 Thread Michael Tautschnig
Hi all, The following applies to trunk+experimental, hence not reporting a bug right now. I haven't checked, however, whether 3.4.8 might also be affected. So let's rock: [...] FAI_CONFIG_SRC is set to svn+ssh://root@myserver/my/path/fai svn: Write error: Broken pipe /var/lib/fai/config already

Re: Re: (Bug?): nummeration for preserved partions

2011-04-15 Thread Michael Tautschnig
Hi all, MT wrote: Does that sufficiently clarify documentation? I think so. This could at least help some people who wonder about this behaviour. prefer not to change the semantics of these numbers as that might break existing setups in unexpected (and very dangerous) ways. I

Re: Partition table to parted script

2011-03-07 Thread Michael Tautschnig
Hi Julien, [...] Unfortunately, with msdos partition tables this doesn't yield the exact same result due to alignment issues. Basically, I'm only using the script for GPT partition tables aligned to 1 MiB boundary. [...] I have no idea about the python-parted API, but isn't there some

Re: Patch for fcopy

2010-12-04 Thread Michael Tautschnig
Thanks Michael for adding this patch. I also like to add the patch to FAI, but had no time in the past. [...] If anybody could do just a very brief test of the changed version, it could then probably migrate into trunk real soon? I'll be using this modified version of fcopy on one of my

Re: FAI stable release management

2010-10-18 Thread Michael Tautschnig
JFTR, if you patch doc/fai-guide.txt, you should also updte the date (line 8) of the document. In 3.4.4 the patch [2dbf3c5] fai-guide.txt: changed it, but didn't update the date. Sorry, this was my fault; shall I fix this in trunk, at least? Best, Michael pgpeD2GEY6ggG.pgp

Re: FAI Stable release candaidate 3.4.3~rc1

2010-10-13 Thread Michael Tautschnig
Hi Michael, Michael Tautschnig wrote: That helped a lot in debugging; could you please give the version mentioned above another try? In case it fails again, would you please send another debug log? At the moment I'm busy doing other things, so I won't be able to test it any time soon

Re: install_packages and 'hold' in the PACKAGES

2010-10-10 Thread Michael Tautschnig
Hi Michael, Hello, Is it possible that the following is valid: Index: bin/install_packages === --- bin/install_packages(revision 6118) +++ bin/install_packages(working copy) @@ -184,7 +184,7 @@ my

Re: FAI Stable release candaidate 3.4.3~rc1

2010-10-09 Thread Michael Tautschnig
Michael Tautschnig m...@debian.org wrote: might commit a somewhat different version. Yet, I don't see this as critical as it's just about preserving swap partitions, which does seem to be a very rare scenario. Just commit a patch that refuses to preserve a swap partition ;) I'm

Re: FAI Stable release candaidate 3.4.3~rc1

2010-10-09 Thread Michael Tautschnig
[...] ... I was kind of aware of the fact that linux-swap(v1) was shown by parted, but its documentation does not state that it would also be acceptable as input to mkpart and frieds. But of course I hadn't thought of the fact that my code would try to rebuild a partition as shown by

Re: FAI Stable release candaidate 3.4.3~rc1

2010-10-09 Thread Michael Tautschnig
Hi Peter! Hello again, If I'm correct, then the included setup-storage should support raid on whole disks, and LVM on top of it. But if I use: [...] While this probably should work, and I'll look into this again to see what is broken, the following workaround should

Re: Request-for-Review of Stable Release 3.4.3 (was: Another issue with RAID preserve in 3.4.x)

2010-10-04 Thread Michael Tautschnig
* Michael Tautschnig m...@debian.org [Fri Oct 01, 2010 at 06:49:20PM +0200]: Please comment ASAP, I'd like to release it until beginning of next week so Stephan gets a chance for pushing 3.4.3 into Ubuntu as well. Full ACK, I'd just like to request 6091 to be taken into account

Re: RFC: Stable Release Management

2010-10-04 Thread Michael Tautschnig
Hi, IMHO it's a good practice for any project to document existing policies, workflows and the way developers handle their stuff. As a starting point I thought about documenting my workflow WRT stable release management in FAI. There we are: http://grml.org/tmp/fai-release.txt If

Re: RFC: Stable Release Management

2010-10-04 Thread Michael Tautschnig
[...] - It would be great to see this on the FAI wiki, I believe this would be the most appropriate place. This was my plan, in the long run I'd like to have something like http://docs.djangoproject.com/en/dev/internals/contributing/ for FAI. That's a very nice document indeed;

Re: [PATCH] Make preserve work for RAID in FAI 3.4.x

2010-09-17 Thread Michael Tautschnig
Hi Julien, Michael Tautschnig m...@debian.org wrote: Hi, absolutely fine if the fix goes in via this patch). Just one stylistic note: Unless I'm missing something, the following if ... elsif ... -if (FAI::set_partition_type_on_phys_dev($d, raid)) { + if ($vol-{preserve

Re: FAI stable release 3.4.x management

2010-08-18 Thread Michael Tautschnig
[...] (nice and detailed explanation of intended stable workflow) Is this correct? Does it sound reasonable and would be fine for you? Hopefully I didn't mix up anything WRT merging/commiting/rebasing/ Please correct me if I mixed up something. :) Full ACK. Absolutely reasonable and

Re: FAI stable release 3.4.x management

2010-08-18 Thread Michael Tautschnig
Hi Mika, [...] Can you please commit your setup-storage_do-partition-table-first to a branch so I can sync it for 3.4.1 release? I'll take the freedom to merge this into trunk and bump the beta revision; I'm sure that's fine for Thomas, so please go ahead. [...] Please

Re: FAI stable release 3.4.x management

2010-08-17 Thread Michael Tautschnig
[...] That proposal for patch-comment formatting clashes a bit with automated builds on alioth: The script on alioth expects the patch author's name in the first line and a detailed explanation to be given only afterwards (both of which go in the changelog); essentially this is

Re: FAI roadmap

2010-07-20 Thread Michael Tautschnig
Hi Thomas, I've created a little roadmap for the FAI development. It includes some topics I like to work on for the next release and a brief timeline. Comments are welcome. Thanks a lot for sharing your plans!! Just a few quick comments, I might add some more comments in a few days. -

Re: FAI roadmap

2010-07-20 Thread Michael Tautschnig
On Tue, 20 Jul 2010 16:20:53 +0100, Michael Tautschnig m...@debian.org said: - Please make that DHCP-transition-bug top priority. We really shouldn't be blocking transitions. (Well, they'll ignore FAI anyway, but it's just such a small change that only requires

Re: should fai-client depend on fai-setup-storage?

2010-06-20 Thread Michael Tautschnig
I'm wondering if fai-client should really depend on fai-setup-storage? Instead, I would prefer it recommends fai-setup-storage and maybe fai-nfsroot depends on fai-setup-storage. Does this make sense? I'm wondering whether we need the Recommends at all - shouldn't even the dependency in

Re: Return code of setup-storage

2010-06-04 Thread Michael Tautschnig
Hi everyone, [...] What made the problem difficult to debug was the fact setup-storage or, more precisely, the partition script created by setup-storage did not fail during FAI_INSTALL even though mkfs.ext4 returned with exit code 1. Since I am not that familiar with setup-storage yet,

Re: [PATCH] Fix minor spelling error in install_packages

2010-06-04 Thread Michael Tautschnig
Hi, while trying to debug a problem with setup-storage in our local FAI configuration, I stumbled across a small spelling error in bin/install_packages. Please find the attached patch. [...] Although only a typo, I've included the patch in the experimental builds for it not to be

Re: using fai-chboot with mac-address

2010-06-01 Thread Michael Tautschnig
Hi Torge, On Sat, 29 May 2010 18:06:02 +0200, Michael Tautschnig m...@debian.org wrote: I think it's just that nobody requested it before. But it should be pretty straight forward to come up with a patch: Just check for : in the hostname and handle this accordingly in the host2hex

Re: using fai-chboot with mac-address

2010-05-29 Thread Michael Tautschnig
Hi! Is there any good reason for this, that it is not possible to initiate installations based on the MAC address? Like making an output-file 01-00-11-22-33-44-55 from fai-chboot -IBv 00:11:22:33:44:55 ?? Is this a design decision or did it simply needed no one? I

Re: [PATCH] Allow partition size to be define relative to RAM size

2010-05-28 Thread Michael Tautschnig
Julien BLACHE jbla...@debian.org wrote: We're going to find out in a few minutes, as I have fixes for the grub-pc patch to remove Perl warnings and fix the code for /boot on RAID :) And that failed due to: trunk-w-exp/debian/fai-setup-storage% ls -l total 4 drwxrwxr-x 2 mt mt 4096

Re: [PATCH] Allow partition size to be define relative to RAM size

2010-05-27 Thread Michael Tautschnig
Michael Tautschnig m...@debian.org wrote: Hi, as well: Would you mind adding those patches to the experimental branch yourself? I don't know whether you already have commit rights in the FAI repository, but I guess Thomas could take care of this pretty much So everything has been

Re: [PATCH] Allow partition size to be define relative to RAM size

2010-05-27 Thread Michael Tautschnig
Michael Tautschnig m...@debian.org wrote: Hi, So everything has been taken care of and I've just added the 3 patches to the experimental branch. Hopefully I've got it right :) I guess you did, but it seems there are some permission issues with autobuilding on alioth. I'll try

Re: [PATCH] Allow partition size to be define relative to RAM size

2010-05-26 Thread Michael Tautschnig
Hi Julien, I'll reply to this one first; one general remark applies to your other patches as well: Would you mind adding those patches to the experimental branch yourself? I don't know whether you already have commit rights in the FAI repository, but I guess Thomas could take care of this pretty

Re: [PATCH,RFC] Add support for external log devices for XFS and ext3/4

2010-05-26 Thread Michael Tautschnig
And another one ... Hi, The attached patch (code only) adds support for external log devices for XFS and ext3/4 to setup-storage. External log devices can improve performance a lot when they reside on a different physical device than the filesystem itself. Ok. Due to the way mkfs

Re: grub error

2010-04-13 Thread Michael Tautschnig
* Kurt Gramlich k...@skolelinux.de [100329 21:34]: hallo Liste, alles in Debian Lenny mit Virtualbox 3.0 mit VirtualBox habe ich einen faiserver aufgebaut. Im internen Netz habe ich verschiedene pxe clients probiert und dabei auch die verschiedenen Einstellungen in

Re: squashfs FAI config space via http

2010-04-03 Thread Michael Tautschnig
Hi FAI developers, following patch for the experimental tree implements the possibility to use a squashfs compressed config space downloaded via http. I use a md5 checksum file to verify a complete download and to minimize unneeded downloads of the config space to reduce bandwith. I

Re: swap fsck bug

2010-03-12 Thread Michael Tautschnig
Hi FAI developers, it seems that fstab generation still contains the bug, that swap will be checked. Attached patch fixes it for me. Up to now the patch for this issue only sits in experimental, see also http://bugs.debian.org/568800 Testing this version is greatly appreciated :-) Best,

Re: recent lvm.conf change in ubuntu/lucid breaks FAI setup-storage

2010-03-03 Thread Michael Tautschnig
[...] This has already been fixed in the experimental builds, see also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568794 The patch does more or less what you proposed to change; I just tried to make it slightly easier later on to also distinguish GiB/GB once also parted

Re: recent lvm.conf change in ubuntu/lucid breaks FAI setup-storage

2010-03-02 Thread Michael Tautschnig
Hi FAI Developers, recently Ubuntu changed the default lvm.conf file, they now use following: - # Since version 2.02.54, the tools distinguish between powers of # 1024 bytes (e.g. KiB, MiB, GiB) and powers of 1000 bytes (e.g. # KB, MB, GB). # If you have scripts that

Re: FAI Support for FreeBSD

2010-01-31 Thread Michael Tautschnig
On Tue, Jan 12, 2010 at 09:55:42PM +0100, Thomas Lange thus spake: On Mon, 11 Jan 2010 11:42:53 -0800, Jason Helfman jhelf...@e-e.com said: - Is the tool parted available? No. Oh, that's bad. Our partinioning tool depends on parted, and rewriting it is not possible.

Re: LVM: Fai aborts on gvdisplay

2009-06-13 Thread Michael Tautschnig
[...] As we use udevsettle the second command will never get executed. I'll try to come up with a fix as soon as possible (it's not that hard, just gotta do it). The problems should be solved in 3.2.21+experimental3. Please see http://faiwiki.debian.net/index.php/Main_Page#getting_FAI

Re: Problems deinstalling apache2 (from trac) in FAI

2009-04-15 Thread Michael Tautschnig
Henning Sprang [Wed, Apr 08, 2009 at 04:57:25PM +0200]: Nico -telmich- Schottelius wrote: - using -apache2 just resulted in package not found error I never used that myself, but isn't it apache2- ? Oh, yes, sorry! - Why does removing fail? Can you try to run FAI in verbose

Re: Problems deinstalling apache2 (from trac) in FAI

2009-04-15 Thread Michael Tautschnig
Henning Sprang [Wed, Apr 08, 2009 at 04:57:25PM +0200]: Nico -telmich- Schottelius wrote: - using -apache2 just resulted in package not found error I never used that myself, but isn't it apache2- ? Oh, yes, sorry! - Why does removing fail? Can you try to run FAI

Re: net-tools future

2009-03-21 Thread Michael Tautschnig
Holger Levsen wrote: resend to fai-devel, as bcc:s are stuck in moderation. Thomas is it ok to commit the attached patch to trunk? (IMO its a waste of time to file a bug for this and it's clearly a serious bug.) Hi Luk, Hi Holger Note that we want to get rid of net-tools using

Re: net-tools future

2009-03-21 Thread Michael Tautschnig
Hi Luk, On Samstag, 21. März 2009, Luk Claes wrote: Note that we want to get rid of net-tools using packages. I'll look into a patch that uses iproute instead if that's ok? Noted cool. (And what Michael said.) Still atm fai is seriously buggy in that depends regard, so unless you

Re: Bug in setup-storage and pre-existing vg with no free space

2009-02-06 Thread Michael Tautschnig
Hello, I found a problem reinstalling a host using an existing volume group name. The regexp used to find out the total space of the vg fails when the vg exists and has no free space: system 69280.00 MB [69280.00 MB used / 0 MB free] This patch changes the regexp to permit a non-float

Re: problems with lvm configurations

2008-10-10 Thread Michael Tautschnig
I've been having some problems when using lvm configurations. The normal partitioning, and the raid configurations are both working just fine. I haven't tried testing preserve or anything fancy. When using raid, the disk_var.sh still shows /dev/md0 as the boot device. I don't know if

Re: setup_harddisks/mou nt2dir-mkdir-Unterstützung

2008-02-01 Thread Michael Tautschnig
Hi! [...] Meinungen? Da ich ja schon seit einiger Zeit am (hoffentlich) Nachfolger von setup_harddisks arbeite, habe ich mir die Sache mal angesehen: Es scheint sich dabei ja doch eher um ein sehr spezielles Problem zu handeln, von dem wohl nur sehr wenige Benutzer betroffen sind. Daher

Re: storage magic (was Re: Patch for setup_harddisks to use it for Xen-Domains without disk)

2007-11-28 Thread Michael Tautschnig
Hi, On Saturday 24 November 2007 19:28, Maximilian Wilhelm wrote: But luckily, Storage Magic isn't far anymore... I'll have a look at it. The word magic is kind of 'warning'... I agree. I liked the old name, setup harddisks 2, better. It's more descriptive, less cryptic. But I

Re: storage magic (was Re: Patch for setup_harddisks to use it for Xen-Domains without disk)

2007-11-28 Thread Michael Tautschnig
[...] Other ideas: setup harddisk ng, storage setup Hmm, the last describes it's goals and work best - if storage is something remotely, we are not setting up a harddisk, and it is no magic but hard calculation... (no, we shouldn't call it hard storage setup calculator and setup tool :) )

Re: Patch for setup_harddisks to use it for Xen-Domains without disk

2007-11-24 Thread Michael Tautschnig
[...] The downside of setup harddisks is, that probably nobody will add patches to it anymore... Why not? [...] For the simple reason that Storage Magic is intended to be the successor of setup_harddisks, so I guess we won't integrate any new features into setup_harddisks anymore,