[libvirt-users] Virtualbox Driver
by Arslan Waqar
Hi all,
I am new to the group and hence there might be a chance I might be asking a
simple question...
The thing is I compiled and installed libvirt from git. Then in my terminal
window I started virsh. It started. Then since I had Virtual Box installed
on my machine I ran "connect vbox:///session". Once I did this I got two
errors which said:
error: Failed to connect to the hypervisor
error: internal error unable to initialize VirtualBox driver API
I am unable to resolve this issue...Any input is welcome!
Thanks!
--
Regards,
Arslan Waqar.
11 years, 10 months
[libvirt-users] Newer Builds Available for Ubuntu 12.04 LTS?
by Andrew Martin
Hello,
I am running Libvirt 0.9.8 and QEMU 1.0 on Ubuntu 12.04 LTS on several virtual machine servers and would like to take advantage of some of the snapshotting functionality available in newer versions of QEMU and Libvirt:
https://www.redhat.com/archives/libvirt-users/2012-August/msg00086.html
Is anyone maintaining newer binary builds for Ubuntu? I was not able to find a PPA with updated packages, and building from source is proving rather tricky because my custom-built packages have some differences from the official packages (e.g. no upstart integration). I would really like to use the newer versions of Libvirt and QEMU on this LTS release.
Thanks,
Andrew
11 years, 10 months
Re: [libvirt-users] NetworkManager and VM Bridged Networking
by Eric Blake
[adding libvirt-users]
On 12/14/2012 01:26 AM, Chuck Forsberg WA7KGX N2469R wrote:
> I tried using the procedure in
> http://fedorasolved.org/Members/kc8hfi/qemu-kvm-bridged-networking.
>
> The first thing this article mentions is that NetworkManager cannot work
> with bridged networking. This is \unfortunate\ as Lunix stopped being a
> useful server when I tried ro revert to the old "network" as suggested
> by the article.
>
> I have no trouble running the VM on a satellite machine and have its
> guest operating system (SCO Unix) mount the server's NFS shares.
> I would like to have an SCO image running in a VM on the server and
> still be able to mount NFS shares from the server.
>
> Since NetworkManager is more and more an indespensible part of Fedora,
> how can I do the needed bridged networking in the new environment?
Does this page of examples help?
http://libvirt.org/formatnetwork.html#examples
If not, what setup are you trying to achieve? It may be that the
libvirt folks can better answer your question on how to set it up, while
still using NetworkManager.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
11 years, 10 months
[libvirt-users] RHEL6 cgroup error after a few days of uptime
by Dax Kelson
I have a RHEL6 that hosts many kvm virtual machines. It has been
working fine for a couple years. I apply errata updates about once a
week.
In the last couple weeks, I've ran into a bug where the virtual
machines start failing to start with a cgroup error message. If I
reboot the host (very disruptive) then things start working normaly
for a few days.
Can I configure qemu/libvirt not to use cgroups at all as a temporary
workaround? How would I do that?
Here is example of trying to start a vm (that hasn't been started
since boot) after the problem manifests itself.
[root@virthost ~]# find /cgroup | grep r04s14
[root@virthost ~]# virsh start r04s14
error: Failed to start domain r04s14
error: Unable to create cgroup for r04s14: No such file or directory
[root@virthost ~]# find /cgroup | grep r04s14
/cgroup/cpu/libvirt/qemu/r04s14
/cgroup/cpu/libvirt/qemu/r04s14/cpu.rt_period_us
/cgroup/cpu/libvirt/qemu/r04s14/cpu.rt_runtime_us
/cgroup/cpu/libvirt/qemu/r04s14/cpu.stat
/cgroup/cpu/libvirt/qemu/r04s14/cpu.cfs_period_us
/cgroup/cpu/libvirt/qemu/r04s14/cpu.cfs_quota_us
/cgroup/cpu/libvirt/qemu/r04s14/cpu.shares
/cgroup/cpu/libvirt/qemu/r04s14/cgroup.event_control
/cgroup/cpu/libvirt/qemu/r04s14/notify_on_release
/cgroup/cpu/libvirt/qemu/r04s14/cgroup.procs
/cgroup/cpu/libvirt/qemu/r04s14/tasks
/cgroup/cpuacct/libvirt/qemu/r04s14
/cgroup/cpuacct/libvirt/qemu/r04s14/cpuacct.stat
/cgroup/cpuacct/libvirt/qemu/r04s14/cpuacct.usage_percpu
/cgroup/cpuacct/libvirt/qemu/r04s14/cpuacct.usage
/cgroup/cpuacct/libvirt/qemu/r04s14/cgroup.event_control
/cgroup/cpuacct/libvirt/qemu/r04s14/notify_on_release
/cgroup/cpuacct/libvirt/qemu/r04s14/cgroup.procs
/cgroup/cpuacct/libvirt/qemu/r04s14/tasks
[root@virthost ~]#
11 years, 10 months
[libvirt-users] oVirt workshop coming up - January 22-24 2013
by Dave Neary
Hi everyone,
I thought that some of you might be interested to hear about an upcoming
event I'm helping put together, an oVirt workshop in NetApp HQ in
Sunnyvale, California on January 22-24.
oVirt is (as I'm sure most of you know) a management system for
KVM-based virtualization - allowing you to easily handle VMs, network,
storage and hosts in a virtual datacenter.
The workshop's three day agenda will cover installation and use of
oVirt, integrating with oVirt though the platform's APIs, and
contributing to development of the project. This is an excellent
opportunity to find out what's coming in future versions of RHEV, and to
meet users who are on the bleeding edge of what we will be shipping in
future products.
Reserve your spot at this free event by registering at
http://ovirtnetapp2013.eventbrite.com/, and see
http://www.ovirt.org/NetApp_Workshop_January_2013 for more information.
We are actively seeking presenters who can talk about interesting ways
in which they are using oVirt, or share integration stories. Please send
proposals for talks to workshop-pc(a)ovirt.org - the official end of the
call for content is Friday 14th of December, 23:59 PST, but since we
will not be drafting the schedule until next week, any proposals
received by Monday will also be considered.
Thanks!
Dave.
--
Dave Neary - Community Action and Impact
Open Source and Standards, Red Hat - http://community.redhat.com
Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13
11 years, 10 months
[libvirt-users] CentOS 6.3 LXC guest with CentOS 6.3 host
by Ajey Gore
I have been struggling with LXC libvirt driver. I created LXC container fs
from "yum install" with install root option.
After that edited few files and created special nodes
rm -f /dev/null
mknod -m 666 /dev/null c 1 3
mknod -m 666 /dev/zero c 1 5
mknod -m 666 /dev/urandom c 1 9
ln -s /dev/urandom /dev/random
mknod -m 600 /dev/console c 5 1
mknod -m 660 /dev/tty1 c 4 1
chown root:tty /dev/tty1
mkdir -p /dev/shm
chmod 1777 /dev/shm
mkdir -p /dev/pts
chmod 755 /dev/pts
basically all instructions from here
http://wiki.1tux.org/wiki/Centos6/Installation/Minimal_installation_using...
My configuration looks like this
<domain type='lxc'>
<name>c03</name>
<memory unit="G">4</memory>
<os>
<type>exe</type>
<init>/sbin/init</init>
</os>
<vcpu>1</vcpu>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/srv/libvirt-1.0.0/src/libvirt_lxc</emulator>
<filesystem type='mount'>
<source dir='/srv/guest/c03'/>
<target dir='/'/>
</filesystem>
<interface type='network'>
<mac address='52:54:00:00:00:01'/>
<source network='default'/>
<target dev='vnic-c03'/>
<model type='virtio'/>
</interface>
<console type='pty' />
</devices>
</domain>
I compiled libvirt from source. MY container comes up fine but I get
init: tty (/dev/tty1) main process ended, respawning
init: tty (console) respawning too fast, stopped
also, I can't login as root, because it say /dev/pts/0 is not safe, but if
I add a normal user with chroot and then I login, it works perfectly.
So in this case, after init stops everything, I can't get rc.local to
execute and in turn can't get ip address and other configurations up and
running.
help?
--
Thanks
Ajey
11 years, 10 months
[libvirt-users] Networking problem on virtualized pfSense firewall
by Lorenzo Milesi
Hi.
I've a strange problem with networking and a KVM virtualized pfsense firewall.
My hw host is Ubuntu 12.04 fully updated, with two bridges br0 (LAN) and br1 (WAN).
pfSense is a KVM guest with the two interfaces in virtio mode.
When I run pfSense as fw, the host doesn't seem capable of doing tcp connections outside. I can ping any internal and exernal host, but when I try telnetting 25 or 80 outside it won't work. Every other host in the LAN can surf and make every kind of connection outside and inside, just the host cannot.
At fist I thought it was a pfSense problem, because if I run another VM guest with another firewall the host can connect, but what makes me think it's a host networking issue is that with this other FW I experience other weird problems, like not being able to connect to the physical host when connected via VPN.
I double checked iptables and there's no block, everything is accepted.
KVM setup is pretty much the ubuntu default.
Any idea?
thanks
--
Lorenzo Milesi - lorenzo.milesi(a)yetopen.it
GPG/PGP Key-Id: 0xE704E230 - http://keyserver.linux.it
11 years, 10 months
[libvirt-users] error creating multipath storage pool
by Maxim Titov
Hi
I'm using Gentoo Linux, libvirt-1.0.0, qemu-1.1.2-r3, multipath-tools
0.4.8-r1. After defining a new storage pool with pool-edit <poolname>:
<pool type="mpath">
<name>mpath</name>
<target>
<path>/dev/mapper</path>
</target>
</pool>
I get this:
internal error missing backend for pool type 7
USE flags for libvirt package are: caps elibc_glibc iscsi libvirtd lvm
lxc macvtap nfs nls python qemu udev vepa -audit -avahi -debug
-firewalld -numa -openvz -parted -pcap -phyp -policykit -rbd -sasl
-selinux -uml -virt-network -virtualbox -xen)
What is wrong and what is the right way to map SAN LUN's to guest using
multipath?
11 years, 11 months