Hi ,all
I would like to create the KVM host on rhels/CentOS 7.X ,is the any
successfully example can share to me ?
xCAT seems not support the rhels7.X/CentOS KVM osimage by default now
and I define the osimage with following info :
[root@mgt17b ~]# lsdef -t osimage rhels7.3-x86_64-kvm-install-compute
Object name: rhels7.3-x86_64-kvm-install-compute
imagetype=linux
osarch=x86_64
osdistroname=rhels7.3-x86_64
osname=Linux
osvers=rhels7.3
otherpkgdir=/install/post/otherpkgs/rhels7.3/x86_64
pkgdir=/install/rhels7.3/x86_64
pkglist=/opt/xcat/share/xcat/install/rh/kvm.rhels7.pkglist
profile=compute
provmethod=install
template=/opt/xcat/share/xcat/install/rh/kvm.rhels7.tmpl
[root@mgt17b ~]#
[root@mgt17b ~]# lsdef n3
Object name: n3
arch=x86_64
bmc=n3-bmc
chain=runcmd=bmcsetup,shell
cpucount=56
cputype=Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz
currchain=boot
currstate=boot
groups=compute,ipmi,all,84nodeperrack,42perswitch,17BR,MO20170101
hosttype=kvm
installnic=mac
ip=172.20.101.3
mac=40:f2:e9:c9:57:4c
memory=63509MB
mgt=ipmi
mtm=5465AC1
netboot=xnba
nfsserver=172.20.0.1
ondiscover=nodediscover
os=rhels7.3
postbootscripts=otherpkgs
postscripts=syslog,remoteshell,syncfiles,xHRM bridgeprereq br0
primarynic=mac
profile=compute
provmethod=rhels7.3-x86_64-kvm-install-compute
rack=1
serial=J32FH9Z
serialflow=hard
serialport=0
serialspeed=115200
status=booted
statustime=10-31-2017 04:55:27
supportedarchs=x86,x86_64
switch=switch1
switchport=3
unit=3
updatestatus=failed
updatestatustime=10-31-2017 04:38:35
[root@mgt17b ~]#
[root@mgt17b ~]# lsdef vm1
Object name: vm1
arch=x86_64
currchain=boot
currstate=install rhels7.3-x86_64-compute
groups=kvm,vm,all
mac=42:44:ac:14:65:65
mgt=kvm
netboot=pxe
os=rhels7.3
postbootscripts=otherpkgs
postscripts=syslog,remoteshell,syncfiles
profile=compute
provmethod=rhels7.3-x86_64-install-compute
serialport=0
serialspeed=115200
status=installing
statustime=10-31-2017 06:48:30
vmcpus=2
vmhost=n3
vmmemory=4096
vmnicnicmodel=virtio
vmnics=br0
vmstorage=dir:///var/lib/libvirt/images/
[root@mgt17b ~]#
1037 mkvm vm1 -s 20G -f
1038 ssh n3
1039 rpower vm1 reset
But when the vm1 boot and start to install the OS ,it failed on find the HDD
,can anybody can help to take a look at it, thanks
anaconda 21.48.22.93-1 for Red Hat Enterprise Linux 7.3 started.
* installation log files are stored in /tmp during the installation
* shell is available on TTY2
* when reporting a bug add logs from /tmp as separate text/plain attachments
06:51:23 Running pre-installation scripts
The following problem occurred on line 1 of the kickstart file:
Disk "/dev/sda" given in ignoredisk command does not exist.
Exception AttributeError: "'NoneType' object has no attribute 'udev_unref'" in
<bound method Context.__del__ of <pyudev.core.Context object at
0x7f49e9f03690>> ignored
I can not find the sda HDD driver ,it should be the udev rule or others ,please
thlp to take a look,thanks
Peter CZ peng
Department :Complex Solution Rack TE
Address:ISH3 Shenzhen
Lenovo China
[Phone]+86 86361590
[Email]+86 18129979128
[VOIP]609 1590
[Email]peng...@lenovo.com<mailto:zengd...@lenovo.com>
Lenovo.com /www.lenovo.com <http://www.lenovo.com/www.lenovo.com>
Twitter<http://twitter.com/lenovo> | Facebook |
Instagram<https://instagram.com/lenovo> | Blogs<http://blog.lenovo.com/> |
Forums<http://forums.lenovo.com/>
[Lenovo_2015]
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user