Re: fai wikie: installing ubuntu

2016-06-16 Diskussionsfäden Thomas Lange
> On Thu, 16 Jun 2016 16:07:39 -0500, John G Heim  
> said:

> Are you saying ubuntu now supports dracut?
No. For installing Ubuntu with FAI, I recommend using a Debian
nfsroot. Several FAI users are using this approach.
-- 
regards Thomas


Re: fai wikie: installing ubuntu

2016-06-16 Diskussionsfäden Thomas Lange
> On Thu, 16 Jun 2016 14:33:52 -0500, John G Heim  
> said:

> The fai wikie page on installing ubuntu says "-l is passed to 
> fai-make-nfsroot makes it use 'live-boot instead of dracut, which is not 
> supported by ubuntu. " but -l is not a legal option for 
> fai-make-nfsroot. Is the documentation just out of date?
Yep, -l was removed from fai-make-nfsroot, since live-boot support was removed.

-- 
regards Thomas


fai wikie: installing ubuntu

2016-06-16 Diskussionsfäden John G Heim
The fai wikie page on installing ubuntu says "-l is passed to 
fai-make-nfsroot makes it use 'live-boot instead of dracut, which is not 
supported by ubuntu. " but -l is not a legal option for 
fai-make-nfsroot. Is the documentation just out of date?


-- John G. Heim; jh...@math.wisc.edu; sip://jh...@sip.linphone.org


Re: LVM not working.

2016-06-16 Diskussionsfäden Thomas Lange
OK, I've solved this problem. I seems that the old CENTOS7_64.tar.xz
basefile in http://fai-project.org/download/basefiles/ caused all the
problems. I've created a new one, which now works.

Using this patch, you can now add the FAI class LVM to your CentOS
install client and use a LVM partitioning with CentOS 7.

https://github.com/faiproject/fai/commit/236d8e9c4762ea235af757968607e0cde33708f1
-- 
regards Thomas


Re: LVM not working.

2016-06-16 Diskussionsfäden Thomas Lange
> On Thu, 16 Jun 2016 12:57:21 +, Ronald Steele 
>  said:

> It boots fine for me if I use a simple disk partition scheme.
That's very interesing.

> I did set up a local yum repo. I never got it to work using the default.
Very strange.

-- 
regards Thomas


Re: LVM not working.

2016-06-16 Diskussionsfäden Ronald Steele
It boots fine for me if I use a simple disk partition scheme.
I did set up a local yum repo. I never got it to work using the default.

Ron

> On Jun 16, 2016, at 6:39 AM, Thomas Lange <la...@informatik.uni-koeln.de> 
> wrote:
> 
> I seems that the whole CentOS 7 installation is not working atm.
> Even if you do not use LVM, the machine does not manage reboot
> successfully. Booting the rescue kernel helps only a little bit.
> 
> -- 
> regards Thomas
> 
> 
> -- 
> BEGIN-ANTISPAM-VOTING-LINKS
> --
> 
> Teach CanIt if this mail (ID 0aR7mDBSc) is spam:
> Spam:
> https://antispam.roaringpenguin.com/canit/b.php?i=0aR7mDBSc=35fc23af1311=20160616=s
> Fraud/Phish: 
> https://antispam.roaringpenguin.com/canit/b.php?i=0aR7mDBSc=35fc23af1311=20160616=p
> Not spam:
> https://antispam.roaringpenguin.com/canit/b.php?i=0aR7mDBSc=35fc23af1311=20160616=n
> Forget vote: 
> https://antispam.roaringpenguin.com/canit/b.php?i=0aR7mDBSc=35fc23af1311=20160616=f
> --
> END-ANTISPAM-VOTING-LINKS
> 



smime.p7s
Description: S/MIME cryptographic signature


Re: LVM not working.

2016-06-16 Diskussionsfäden Thomas Lange
I seems that the whole CentOS 7 installation is not working atm.
Even if you do not use LVM, the machine does not manage reboot
successfully. Booting the rescue kernel helps only a little bit.

-- 
regards Thomas


AW: AW: AW: AW: AW: Problem with virtio network boot

2016-06-16 Diskussionsfäden Denny Bortfeldt
Hello everyone,

I could fix the problem. And here's the solution if you also got the problem:

VirtIO driver is included in the initrd, but when the VM boot into dracut the 
"dhclient" command fails. This happens, because of bad checksums with special 
software.
Currently we use qemu/kvm on out virtualization host and create the vms with 
"virt-install" and parameter "--pxe" for netboot. 
During netboot our DHCP-Server (dnsmasq) give the client an IP and this 
dnsserver got a little bug which was fixed in isc-dhcp already (standard dhcp 
in fai-installation). So nearly everyone should not have the same problem.

There are some solutions to fix the bad checksums bug:
- use isc-dhcp
- use e1000 driver instead during installation
- use an iptables-rule on the virtualization host(!!)
-- iptables -A POSTROUTING -t mangle -p udp --dport 68 -j CHECKSUM 
--checksum-fill

Bug-Links:
- https://forge.univention.org/bugzilla/show_bug.cgi?id=33160 & 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717215

A special thanks to Thomas, who helped me a lot with nice hints!

Best regards,
Denny