zoukankan      html  css  js  c++  java
  • error: internal error process exited while connecting to monitor

    Tue Sep 24 21:04:14 2013 [DiM][I]: New VM state is ACTIVE.

    Tue Sep 24 21:04:14 2013 [LCM][I]: New VM state is PROLOG.

    Tue Sep 24 21:04:22 2013 [TM][I]: clone: Cloning /srv/cloud/one/var/datastores/1/eee286f7ae65340e90eb530987202d08 in node01:/srv/cloud/one/var//datastores/0/0/disk.0

    Tue Sep 24 21:04:22 2013 [TM][I]: ExitCode: 0

    Tue Sep 24 21:04:23 2013 [TM][I]: context: Generating context block device at node01:/srv/cloud/one/var//datastores/0/0/disk.1

    Tue Sep 24 21:04:23 2013 [TM][I]: ExitCode: 0

    Tue Sep 24 21:04:23 2013 [LCM][I]: New VM state is BOOT

    Tue Sep 24 21:04:23 2013 [VMM][I]: Generating deployment file: /srv/cloud/one/var/vms/0/deployment.0

    Tue Sep 24 21:04:24 2013 [VMM][I]: pre: Executed "sudo /sbin/brctl addbr onebr0".

    Tue Sep 24 21:04:24 2013 [VMM][I]: pre: Executed "sudo /sbin/ip link set onebr0 up".

    Tue Sep 24 21:04:24 2013 [VMM][I]: Device "em2.10" does not exist.

    Tue Sep 24 21:04:24 2013 [VMM][I]: pre: Executed "sudo /sbin/vconfig add em2 10".

    Tue Sep 24 21:04:24 2013 [VMM][I]: pre: Executed "sudo /sbin/ip link set em2.10 up".

    Tue Sep 24 21:04:24 2013 [VMM][I]: pre: Executed "sudo /sbin/brctl addif onebr0 em2.10".

    Tue Sep 24 21:04:24 2013 [VMM][I]: ExitCode: 0

    Tue Sep 24 21:04:24 2013 [VMM][I]: Successfully execute network driver operation: pre.

    Tue Sep 24 21:04:25 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//datastores/0/0/deployment.0 node01 0 node01

    Tue Sep 24 21:04:25 2013 [VMM][I]: error: Failed to create domain from /srv/cloud/one/var//datastores/0/0/deployment.0

    Tue Sep 24 21:04:25 2013 [VMM][I]: error: internal error process exited while connecting to monitor: kvm: -drive file=/srv/cloud/one/var//datastores/0/0/disk.0,if=none,id=drive-ide0-0-0,format=qcow2: could not open disk image /srv/cloud/one/var//datastores/0/0/disk.0: Permission denied

    Tue Sep 24 21:04:25 2013 [VMM][I]: 

    Tue Sep 24 21:04:25 2013 [VMM][E]: Could not create domain from /srv/cloud/one/var//datastores/0/0/deployment.0

    Tue Sep 24 21:04:25 2013 [VMM][I]: ExitCode: 255

    Tue Sep 24 21:04:25 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy.

    Tue Sep 24 21:04:25 2013 [VMM][E]: Error deploying virtual machine: Could not create domain from /srv/cloud/one/var//datastores/0/0/deployment.0

    Tue Sep 24 21:04:25 2013 [DiM][I]: New VM state is FAILED


    Solution:

    1. 检查selinux是否关闭:

    #vi /etc/selinux/config

    SELINUX=disabled

    #reboot

    或者:

    #setenforce 0  //暂时禁用

    2.检查/etc/libvirt/libvirtd.conf和/etc/libvirt/qemu.conf的用户和组权限是否正确:

    如:

    /etc/libvirt/libvirtd.conf下:

      unix_sock_group = "cloud"

    /etc/libvirt/qemu.conf下:

      user = "oneadmin"

      group = "cloud"

    重启libvirt服务:

    # /etc/init.d/libvirtd restart

  • 相关阅读:
    第4月第1天 makefile automake
    第3月30天 UIImage imageWithContentsOfFile卡顿 Can't add self as subview MPMoviePlayerControlle rcrash
    第3月第27天 uitableviewcell复用
    learning uboot fstype command
    learning uboot part command
    linux command dialog
    linux command curl and sha256sum implement download verification package
    learning shell script prompt to run with superuser privileges (4)
    learning shell get script absolute path (3)
    learning shell args handing key=value example (2)
  • 原文地址:https://www.cnblogs.com/myiaas/p/4161353.html
Copyright © 2011-2022 走看看