0
votes
0answers
32 views

openvpn peers can ping network but not reverse

In a nutshell, I have two libvirt/kvm hosts on which I have virtual machines running. The hosting company that these machines are with cannot provide any sort of virtual network between these ...
0
votes
1answer
240 views

KVM Ubuntu Guest cannot connect to the internet on bridged networking

I have Ubuntu 14.04 (64 bits) + KVM Host with 2 NICs: - eth0 connected to the "public" network - eth1 connected to the br0 bridge with a private ip address range From Host I can access internet, ...
2
votes
1answer
373 views

Ubuntu/KVM Bridge Interface IP Assignment

I have a Ubuntu 12.04 LTS machine running KVM/libvirt. It has two physical ethernet interfaces. I have dedicated eth0 as the primary interface and configured bridging on eth1 for my VMs. The KVM host ...
1
vote
2answers
92 views

KVM Disk Formats: Portability

I have recently begun experimenting with the KVM virtualization infrastructure. After deployment, I used virt-manager running on a management computer to build my first guest. I notice that, by ...
-2
votes
2answers
144 views

VM running perfectly when its disk image is deleted? [closed]

Does anyone has such experience that you accidentally delete the used disk image when virtual machine is running? I would expect that the virtual machine will fail immediate, but, surprisingly, it ...
1
vote
1answer
244 views

Cannot start XML defined Linux Container, faulty cgroup mount

Using ubuntu 13.04 latest; i've installed lxc and various other tools Here's my XML definition: <domain type='lxc'> <name>vm1</name> <memory>500000</memory> ...
1
vote
1answer
351 views

Increasing the maximum amount of open files for libvirt

For an experiment I'm trying to start as many VM's as possible through libvirt, however with a little over 1000 VM's running I get an error saying: "Failed to create pipe: Too many open files". Any ...
0
votes
1answer
384 views

Different behavior of ubuntu-cloud image between LXC and libvirt-lxc

I've used ubuntu-cloud template as LXC containers, and they all worked fine. Recently I switched to use libvirt-lxc, and followed instructions in Ubuntu document, but the image initialized differently ...
1
vote
1answer
228 views

libvirt : Host - Guest can't get the correct route to make both pingable

I'am runing A Ubuntu server as a Host, and I've a CentOS guest hosting an oracle database. Everything was working just fine, until someone init 6 the server (What a great idea!). So I've to ...
1
vote
2answers
980 views

Accessing guests on virtual network when connected to host via PPTP

I'm setting up a development machine which runs Ubuntu 12.04 and KVM for virtualization. I have a guest running Ubuntu 12.04 which can be accessed from the host via its IP address which is assigned by ...
0
votes
1answer
2k views

Libvirt / QEmu Machine Fails and Refuses Restart Because of Memory Allocation Errors

I'm having a problem with libvirt. On a system restart all virtual machines (VMs) are started without a problem and keep running. Then at some point in time a set of machines shuts down according to ...
2
votes
3answers
345 views

Recovering running KVM guest disk image

I am running several KVM guests on an Ubuntu 10.04 host. Due to carelessness, the qcow2 images of the running hosts have been deleted. They are still running and responding properly as well as ...
0
votes
1answer
279 views

Slow performance by PHP directory operations on virtual machine (Ubuntu libvirt)

Some days ago I installed an Ubuntu server and two running virtual machines with libvirt. Everything works fine except one performance problem. Everytime when I call a PHP script with directory ...
1
vote
2answers
358 views

Downloads stuck from a VM run by libvirt (kvm) on Ubuntu 10.04 LTS

I first wrote my problem on stackoverflow thinking it was a Maven proxy software problem. But I realised it was more a problem with my virtualization stack (libvirt 0.7.5-5ubuntu27.19 / kvm ...
0
votes
1answer
1k views

apt-get update can not connect

i run a dedicated ubuntu 10.04 server. i use kvm/libvirt/virsh to run a virtual machine that's also ubuntu 10.04. i bridged the network (1 of 2 IPs is routed via NAT to the LAN, where my VM ...
2
votes
1answer
542 views

can't ping/ssh new libvirt instance

I have a working virtual host that was Ubuntu-Server Lucid (10.4). I've been using it for a while and has several functional guests created on Lucid. Today I upgraded to Maverick, then to Natty ...
1
vote
2answers
668 views

upstart pre-stop script

I have libvirt/KVM set up on my Ubuntu and before shutting down the machine I would like it to attempt shutting down the VM's using an ACPI poweroff (virsh shutdown), then I want it to stop shutdown ...
9
votes
4answers
4k views

Port Forwarding from Host to Guest with libvirt 0.8.3 Using KVM on Ubuntu

The host has a single external IP available, so I set my KVM guests up with NAT. How do I set up a port forwarding to forward some of the requests from the outside to the guests? I couldn't find ...
3
votes
4answers
4k views

KVM-Guest does not boot: qemudParsePCIDeviceStrs

I have a Server running Ubuntu 10.10 Server-Edition kvm, and libvirt (both ubuntu-native packages) HDD-Partitioning was done with LVM. Then I created some VMs with Virt-Manager and assigned ...
11
votes
4answers
7k views

how to rename a VM using libvirt+KVM

How can I rename a VM on KVM+libvirt? I would like it to change the name in the 'inventory' as well as change the name of the storage etc.
7
votes
4answers
1k views

Using virt-install and http preseed to do unattended ubuntu 10.04 install

The virt-install command line I used is below sudo virt-install kvm ubuntu -v sudo virt-install -v -n golden-egg -r 256 --disk path=/var/lib/libvirt/images/golden-egg.qcow2,size=5 --os-type ...
10
votes
3answers
14k views

Forwarding ports to guests in libvirt / KVM

How can I forward ports on a server running libvirt/KVM to specified ports on VM's, when using NAT? For example, the host has a public IP of 1.2.3.4. I want to forward port 80 to 10.0.0.1 and port 22 ...
2
votes
1answer
1k views

How do I create a bridged virtual network for libvirt+KVM+ubuntu-server the easy way?

I see lots of documentation on how to manually set up a network bridge and then manually add vm's tun devices to these bridges and then write a shell script that glues it all together. lots of work, ...
1
vote
1answer
510 views

Any non-custom way to manage iptables with fail2ban and libvirt+kvm?

I have an Ubuntu 9.04 server running libvirt/kvm and fail2ban (for SSH attacks). Both libvirt and fail2ban integrate with iptables in different ways. Libvirt uses (I think) some XML config and ...
4
votes
5answers
2k views

Web-Based Virtual Machine Manager

I am looking for a web-based virtual machine manager, which will work on our Ubuntu server. Ideally, I need something that our team can use to create a VM, test builds and packaging and then either ...
0
votes
2answers
493 views

Strange libvirt/KVM issue, destroying instances?

I have a libvirt/KVM server running on Ubuntu 9.04 with a variety of instances I use for testing. I was destroying instances via virsh and occassionally, destroying one instance would take out ...