Xen и проблемы с питоном.

Собрал xen dom0 (xen-sources-2.6.34-r4, xen-4.0.1, xen-tools-4.0.1), решил рулить виртуальными машинами с помощью virt-manager. Однако он не может соединиться с гипервизором xen. Вот что пишет:

не удалось подключиться к «localhost:8000»: В соединении отказано

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 1022, in _try_open
    None], flags)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 107, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: не удалось подключиться к «localhost:8000»: В соединении отказано

пробовал выбрать в качестве основной версии python-2.6 (вместо 2.7), но после eselect python set 1 и запуске python-updater не собираются xen и xen-tools. При перезапуске xend вот что:

/etc/init.d/xend restart
xendomains      | * Shutting down Xen domains from /etc/xen/auto
xendomains      | * Closing screen session xen ...                                        [ ok ]
xend            |Traceback (most recent call last):
xend            |  File "/usr/sbin/xm", line 7, in <module>
xend            |    main.main(sys.argv)
xend            |  File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 3620, in main
xend            |    _, rc = _run_cmd(cmd, cmd_name, args)
xend            |  File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 3644, in _run_cmd
xend            |    return True, cmd(args)
xend            |  File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 969, in xm_list
xend            |    doms = getDomains(params, state, use_long)
xend            |  File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 933, in getDomains
xend            |    return server.xend.domains_with_state(True, state, full)
xend            |  File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
xend            |    return self.__send(self.__name, args)
xend            |  File "/usr/lib64/python2.7/site-packages/xen/util/xmlrpcclient.py", line 118, in __request
xend            |    response = xmlrpclib.ServerProxy.__request(self, methodname, params)
xend            |  File "/usr/lib64/python2.7/xmlrpclib.py", line 1575, in __request
xend            |    verbose=self.__verbose
xend            |  File "/usr/lib64/python2.7/site-packages/xen/util/xmlrpcclient.py", line 55, in request
xend            |    request_body, verbose)
xend            |  File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request
xend            |    return self.single_request(host, handler, request_body, verbose)
xend            |  File "/usr/lib64/python2.7/xmlrpclib.py", line 1294, in single_request
xend            |    response = h.getresponse(buffering=True)
xend            |AttributeError: HTTPUnix instance has no attribute 'getresponse'
xend            | *   Stopping all domains ...
xend            |Traceback (most recent call last):
xend            |  File "/usr/sbin/xm", line 7, in <module>
xend            |    main.main(sys.argv)
xend            |  File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 3620, in main
xend            |    _, rc = _run_cmd(cmd, cmd_name, args)
xend            |  File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 3644, in _run_cmd
xend            |    return True, cmd(args)
xend            |  File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 1381, in xm_shutdown
xend            |    shutdown.main(["shutdown"] + args)
xend            |  File "/usr/lib64/python2.7/site-packages/xen/xm/shutdown.py", line 161, in main
xend            |    main_all(opts, args)
xend            |  File "/usr/lib64/python2.7/site-packages/xen/xm/shutdown.py", line 138, in main_all
xend            |    doms = server.xend.domains(0)
xend            |  File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
xend            |    return self.__send(self.__name, args)
xend            |  File "/usr/lib64/python2.7/site-packages/xen/util/xmlrpcclient.py", line 118, in __request
xend            |    response = xmlrpclib.ServerProxy.__request(self, methodname, params)
xend            |  File "/usr/lib64/python2.7/xmlrpclib.py", line 1575, in __request
xend            |    verbose=self.__verbose
xend            |  File "/usr/lib64/python2.7/site-packages/xen/util/xmlrpcclient.py", line 55, in request
xend            |    request_body, verbose)
xend            |  File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request
xend            |    return self.single_request(host, handler, request_body, verbose)
xend            |  File "/usr/lib64/python2.7/xmlrpclib.py", line 1294, in single_request
xend            |    response = h.getresponse(buffering=True)
xend            |AttributeError: HTTPUnix instance has no attribute 'getresponse'         [ !! ]
xend            | * Stopping Xen control daemon ...                                       [ ok ]
xend            | * Starting Xen control daemon ...                                       [ ok ]

Что делать?

Юзать стабильный софт :-D

Юзать стабильный софт :-D
Ибо когда ты разрулишь это, тебя ждет http://bugs.gentoo.org/show_bug.cgi?id=348127 :)

Compute:
Bosch M2.8.1 -> custom Bosch M2.8.3 clone from Russia.
Speed about 260 km,Ram 2 pers.,HDD - 70 kg,210 FLOPS ;)

У меня не включен в юзах

У меня не включен в юзах pygrub.

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".