Hello.
I can't install 5.3 domUs in 5.3 dom0 with the very same /etc/xen/domU.cfg and remote domU.ks that I've used in Centos 5.1. The only I've changed is Centos version (including new 5.3 xen kernel and initrd images).
Results are that anaconda can't assing networki configuration to network interface (probably because of not seeing it) and such error messages in xend.log:
[2009-04-04 12:45:42 xend 2999] DEBUG (blkif:27) exception looking up device number for xvda: [Errno 2] No such file or directory: '/dev/xvda'
Is there any way to fix this or shell I roll back to 5.1?
my previous install.cfg looked like this:
----------------------------------------------- kernel = "/boot/vmlinuz-install" ramdisk = "/boot/initrd-install.img" extra = "ks=http://xx.yy.zz.xx/ks/domu.ks" name = "domu" vcpus = "4" memory = "2048" disk = [ 'phy:vg0/d1da,xvda,w', 'phy:vg0/d1db,xvdb,w', 'phy:vg0/d1dc,xvdc,w', ] vif = [ 'mac=00:15:17:77:4E:E0, bridge=xenbr0' ] on_reboot = 'destroy' on_crash = 'destroy' -----------------------------------------------
But even if i configure network interface manually, there is no http request on host xx.yy.zz.xx. So I've downloaded domu.ks manually (no problems with that) and changed kernel parameters to:
extra = "ks=/etc/xen/domu.ks"
and no differnce
+-------------+ Error downloading kickstart file +-------------+ | | | Unable to download the kickstart file. Please modify the | | kickstart parameter below or press Cancel to proceed as an | | interactive installation. | | | | /etc/xen/domu.ks____________________________________________ | | | | +----+ +--------+ | | | OK | | Cancel | | | +----+ +--------+ | | | | | +--------------------------------------------------------------+
just like the same with ks=http://xx.yy.zz.xx/ks/domu.ks
# ls -l /etc/xen/domu.ks -rw-r--r-- 1 root root 32680 Apr 4 02:54 /etc/xen/domu.ks
Any ideas?
Ok, I've solved this issue by myself. It turned out to be a MAC address conflict.
This is an Intel S5000PAL board with to NICs LAN1 has MAC 00:15:17:77:4E:DE LAN2 has MAC 00:15:17:77:4E:DF
So I assigned (see below) next MAC - 00:15:17:77:4E:E0 to first domU on that machine.
kernel = "/boot/vmlinuz-install" ramdisk = "/boot/initrd-install.img" extra = "ks=http://xx.yy.zz.xx/ks/domu.ks" name = "domu" vcpus = "4" memory = "2048" disk = [ 'phy:vg0/d1da,xvda,w', 'phy:vg0/d1db,xvdb,w', 'phy:vg0/d1dc,xvdc,w', ] vif = [ 'mac=00:15:17:77:4E:E0, bridge=xenbr0' ] on_reboot = 'destroy' on_crash = 'destroy'
But unfortuately I've forgot Intel S5000PAL has IPMI LAN capabilities that are preconfigured on lan channel 1 and 2 of (LAN1, LAN2) with Mac addresses... guess which? ;) 00:15:17:77:4E:E0 00:15:17:77:4E:E1
After simple change to:
vif = [ 'mac=00:15:17:77:4E:E2, bridge=xenbr0' ]
xm create install.cfg moved forward.