- Code: Select all
~$ sudo convirt
Valid, writable configuration found, using /etc/convirt.conf
/home/jiskefet/.mozilla/firefox/rn7ryetv.default/prefs.js
type is missing. Direct connection. None, None
guessed proxy setup None None
Log file at /var/log/convirt/convirt.log
The logfile then shows this:
- Code: Select all
{'platforms': {'kvm': {'directory': 'kvm', 'name': 'KVM'},
'xen': {'directory': 'xen', 'name': 'Xen'}}}
{'kvm': {'directory': 'kvm', 'name': 'KVM'},
'xen': {'directory': 'xen', 'name': 'Xen'}}
{'kvm': {'config': {'platform_class': 'KVMPlatform',
'platform_module': 'convirt.core.platforms.kvm.KVMPlatform'},
'ui_config': {'ui_helper_class': 'KVMUIHelper',
'ui_helper_module': 'convirt.client.KVMUI'}},
'xen': {'config': {'platform_class': 'XenPlatform',
'platform_module': 'convirt.core.platforms.xen.XenPlatform'},
'ui_config': {'ui_helper_class': 'XenUIHelper',
'ui_helper_module': 'convirt.client.XenUI'}}}
from convirt.core.platforms.xen.XenPlatform import XenPlatform; platform = XenPlatform(plat, self.client_config)
from convirt.core.platforms.kvm.KVMPlatform import KVMPlatform; platform = KVMPlatform(plat, self.client_config)
PROMPT None
Traceback (most recent call last):
File "/usr/share/convirt/src/convirt/client/convirt_client.py", line 4975, in <module>
factory = manager.getFactory(local_platform)
File "/usr/share/convirt/src/convirt/core/model/GridManager.py", line 104, in getFactory
factory = self.registry.get_node_factory(platform)
File "/usr/share/convirt/src/convirt/core/model/PlatformRegistry.py", line 113, in get_node_factory
self.node_factories[platform] = p_obj.get_node_factory(self.store)
File "/usr/share/convirt/src/convirt/core/platforms/xen/XenPlatform.py", line 71, in get_node_factory
import XenNodeFactory
File "/usr/share/convirt/src/convirt/core/platforms/xen/XenNodeFactory.py", line 25, in <module>
from XenNode import XenNode
File "/usr/share/convirt/src/convirt/core/platforms/xen/XenNode.py", line 33, in <module>
from XenVMM import XenVMM
File "/usr/share/convirt/src/convirt/core/platforms/xen/XenVMM.py", line 25, in <module>
from XenServerProxy import ServerProxy, SSHTunnelTransport
File "/usr/share/convirt/src/convirt/core/platforms/xen/XenServerProxy.py", line 29, in <module>
import xen.xend.XendClient
ImportError: No module named xen.xend.XendClient
Some additional info on the system:
Hardware: AMD Phenom II X4 905e (AM3/2x2GB DDR3)
OS: Xubuntu 9.04 (jaunty)
Kernel: 2.6.26-2-xen-amd64 (modules, kernel)
Xen: 3.3.0-1ubuntu9.3 (installed by ubuntu-xen-desktop)
Filesystem: ext3 / on /dev/md0 (raid1)
After installing ubuntu-xen-desktop and the debian kernel, ConVirt 0.8.2-3 was installed as a dependency. This version didn't start either, but it would start after making the change mentioned in ubuntu bugreport 358241.
After that, ConVirt 1.1 was installed as described in the installation wiki page.
It looks like it is again a python 2.5 versus 2.6 issue, but I don't know what needs to be changed. Searching with google and searching this forum didn't provide any results, so I hope someone can tell what needs to be changed to get ConVirt 1.1 working.
I was able to start ConVirt 1.1 though on a fresh install of Xubuntu 9.04 with ConVirt 1.1 in Virtualbox on another PC. But when adding the server, the same message pops up: "No module named xen.xend.XendClient". So the problem only seems to occur in a xen-enabled environment and/or in a dom0 environment.
