Closed computersalat closed 12 years ago
Hi,
Which hypervisor are you using, either KVM or Xen?
To make sure which to use, try the commands below:
$ lsmod | grep kvm
and
$ ls -ld /proc/xen
I'm using xen, but karesansui is not installed on the 'hypervisor host'. It is installed on a "management host". Is it a 'must' for karesansui to be installed on the hypervisor host ?
Hello,
Is it a 'must' for karesansui to be installed on the hypervisor host ?
Yes, it is. To set up Karesansui, a hypervisor must be running on the host where it is gonna be installed.
I close the issue for now.
I may be wrong, but 'main comunication' is done via libvirt, isn't it. So wouldn't it be enough just having "libvirt" installed on the karesansui host ? This would keep your Virtualization Host "clean".
after giving 'kss' rights to write into '/etc/libvirt'
chris:/etc/libvirt # l total 37 drwxrws--- 4 root kss 184 Aug 9 11:25 ./ drwxr-xr-x 131 root root 8584 Aug 7 11:33 ../ -rw-r--r-- 1 root root 10748 Aug 8 16:46 libvirtd.conf -rw-r--r-- 1 root root 534 Feb 8 2012 lxc.conf drwxrwx--- 2 root root 640 Aug 10 10:31 nwfilter/ drwxrwx--- 4 root kss 96 Aug 10 10:35 qemu/ -rw-r--r-- 1 root root 9699 Feb 8 2012 qemu.conf
adding DIR kvc to qemu does not solve it chris:/etc/libvirt # tree . ├── libvirtd.conf ├── lxc.conf ├── nwfilter │ ├── allow-arp.xml │ ├── allow-dhcp-server.xml │ ├── allow-dhcp.xml │ ├── allow-incoming-ipv4.xml │ ├── allow-ipv4.xml │ ├── clean-traffic.xml │ ├── no-arp-spoofing.xml │ ├── no-ip-multicast.xml │ ├── no-ip-spoofing.xml │ ├── no-mac-broadcast.xml │ ├── no-mac-spoofing.xml │ ├── no-other-l2-traffic.xml │ ├── no-other-rarp-traffic.xml │ ├── qemu-announce-self-rarp.xml │ └── qemu-announce-self.xml ├── qemu │ ├── kvc │ └── networks │ ├── autostart │ └── default.xml └── qemu.conf
seeing this: WHERE (machine.attribute = ? OR machine.attribute = ?) AND machine.is_deleted = ? 2012-08-10 10:40:02,482 INFO sqlalchemy.engine.base.Engine (0, 2, 0) Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process return self.handle() File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle return self._delegate(fn, self.fvars, args) File "/usr/lib/python2.7/site-packages/web/application.py", line 405, in _delegate return handle_class(f) File "/usr/lib/python2.7/site-packages/web/application.py", line 396, in handle_class return tocall(args) File "/usr/lib/python2.7/site-packages/karesansui/lib/rest.py", line 388, in GET _r = self.__methodcall(prefix='', _param, _params) File "/usr/lib/python2.7/site-packages/karesansui/lib/rest.py", line 458, in __method_call return method(_param, _params) File "/usr/lib/python2.7/site-packages/karesansui/lib/rest.py", line 831, in wrapper return func(self, _args, _kwargs) File "/usr/lib/python2.7/site-packages/karesansui/gadget/tree.py", line 82, in _GET self.kvc.close() AttributeError: Tree instance has no attribute 'kvc'
How to fix this ?