incubator-cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "linuxbqj@gmail.com" <linux...@gmail.com>
Subject centos 6.3 添加kvm 计算节点失败
Date Thu, 29 Nov 2012 06:14:50 GMT
Hey ALL:

我在添加KVM计算节点时,系统报错,libvirted也启动不起来了,有人知道原因么

计算节点:
      CentOS 6.3 x64
  cloudstack 3.0.5-1


libvirt-devel-0.9.10-21.el6_3.6.x86_64
libvirt-java-0.4.7-1.el6.noarch
virt-viewer-0.5.2-9.el6.x86_64
virt-what-1.11-1.1.el6.x86_64
libvirt-0.9.10-21.el6_3.6.x86_64
libvirt-client-0.9.10-21.el6_3.6.x86_64
libvirt-java-devel-0.4.7-1.el6.noarch
libvirt-python-0.9.10-21.el6_3.6.x86_64
virt-manager-0.9.0-14.el6.x86_64
python-virtinst-0.600.0-8.el6.noarch
virt-top-1.0.4-3.13.el6.x86_64

qemu-kvm-0.12.1.2-3.209.el6.4.x86_64
qemu-img-0.12.1.2-3.209.el6.4.x86_64


使用脚本安装,只安装cloud-agent
qemu.conf 已经修改了vnc的配置

在/etc/cgconfig.conf 中添加了
group virt {
    cpu {
        cpu.shares = 9216;
        }
}



agent初始化
[root@ ~]# cloud-setup-agent
Welcome to Cloud Agent Setup:
Please input the Management Server Name/IP:[localhost]192.168.2.9

Please input the Zone Id:[default]15d8d9e4-73fc-4830-8b6d-85bfb25ed968

Please input the Pod Id:[default]03ea301c-bdf2-48e9-a753-1b9cfd61f03e

Please input the Cluster Id:[]2dcc5a45-d08e-4588-b5c1-89d5af7b8dd8

Please choose which network used to create VM:[cloudbr0]

Starting to configure your system:
Configure SElinux ...         [OK]
Configure Network ...         [OK]
Configure Libvirt ...         [Failed]
Traceback (most recent call last):
  File "/usr/bin/cloud-setup-agent", line 112, in <module>
    syscfg.config()
  File "/usr/lib/python2.6/site-packages/cloudutils/syscfg.py", line 76, in
conf
    raise CloudInternalException()
TypeError: __init__() takes exactly 2 arguments (1 given)


启动时报错
#/etc/init.d/libvirtd start
Starting libvirtd daemon: cgroup change of group failed
                                                           [FAILED


有人知道原因么?



-- 
白清杰 (Born Bai)

Beijing Open Vision Information Technology Co.,Ltd

Mail: linuxbqj@gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message