Hi ,ALL
Today When I try to create a VM guest on the KVM host with xCAT,I got the same
problem on vm61/vm62 creation ,can anybody help to take a look ,thanks
Here is the procedure
[root@mgt17b ~]# mkdef vm62 groups=vms
1 object definitions have been created or modified.
[root@mgt17b ~]# chdef vm62 ip=172.20.106.62 netboot=xnba mgt=kvm vmcpus=4
vmhost=n6 vmmemory=8192 vmnics=br0 vmnics=br1 vmnicnicmodel=virtio
vmstorage=dir:///var/lib/libvirt/images/ serialport=0 serialspeed=115200
1 object definitions have been created or modified.
[root@mgt17b ~]# makehosts vm62
[root@mgt17b ~]# makedns
Handling n1-bmc in /etc/hosts.
Handling n5-bmc in /etc/hosts.
Handling n6-bmc in /etc/hosts.
Handling n6 in /etc/hosts.
Handling n2 in /etc/hosts.
Handling n3 in /etc/hosts.
Handling switch1 in /etc/hosts.
Handling n8 in /etc/hosts.
Handling n7 in /etc/hosts.
Handling n7-bmc in /etc/hosts.
Handling n5 in /etc/hosts.
Handling vm62 in /etc/hosts.
Handling n4-bmc in /etc/hosts.
Handling n1 in /etc/hosts.
Handling vm61 in /etc/hosts.
Handling vm2 in /etc/hosts.
Handling vm4 in /etc/hosts.
Handling vm3 in /etc/hosts.
Handling mgt17b in /etc/hosts.
Handling vm1 in /etc/hosts.
Handling localhost in /etc/hosts.
Handling n3-bmc in /etc/hosts.
Handling n2-bmc in /etc/hosts.
Handling localhost in /etc/hosts.
Handling n4 in /etc/hosts.
Handling n8-bmc in /etc/hosts.
Getting reverse zones, this may take several minutes for a large cluster.
Completed getting reverse zones.
Updating zones.
Completed updating zones.
Updating DNS records, this may take several minutes for a large cluster.
Completed updating DNS records.
[root@mgt17b ~]# nodeset vm62 osimage=rhels7.3-x86_64-install-compute
vm62: Error: missing mac data for vm62
Error: Some nodes failed to set up install resources on server mgt17b.cluster,
aborting
[root@mgt17b ~]# mkvm vm62 -s 20G,15G,15G,15G,15G
[root@mgt17b ~]# nodeset vm62 osimage=rhels7.3-x86_64-install-compute
vm62: install rhels7.3-x86_64-compute
[root@mgt17b ~]# rpowre vm62 on
bash: rpowre: command not found...
[root@mgt17b ~]# rpower vm62 on
vm62: Error: XML error: target 'sdb' duplicated for disk sources
'/var/lib/libvirt/images/vm62.sdb.qcow2' and '<null>'
[root@mgt17b ~]# lsdef vm62
Object name: vm62
arch=x86_64
currchain=boot
currstate=install rhels7.3-x86_64-compute
groups=vms
ip=172.20.106.62
mac=42:64:ac:14:6a:3e
mgt=kvm
netboot=xnba
os=rhels7.3
postbootscripts=otherpkgs
postscripts=syslog,remoteshell,syncfiles
profile=compute
provmethod=rhels7.3-x86_64-install-compute
serialport=0
serialspeed=115200
vmcpus=4
vmhost=n6
vmmemory=8192
vmnicnicmodel=virtio
vmnics=br1
vmstorage=dir:///var/lib/libvirt/images/
I check the kvm host ,and found as beloow :
[root@n6 ~]# cd /var/lib/libvirt/images/
[root@n6 images]# ls
vm61.sda.qcow2 vm61.sdd.qcow2 vm61.sdf.qcow2 vm62.sdb.qcow2 vm62.sde.qcow2
vm61.sdb.qcow2 vm61.sde.qcow2 vm62.sda.qcow2 vm62.sdd.qcow2 vm62.sdf.qcow2
[root@n6 images]#
I don’t know how to chek the XML file , so can anybody help to give some
advice ,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