[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libvirt-users
Subject:    [libvirt-users] Issues on hibernated domains
From:       Francesc Guasch <frankie () telecos ! upc ! edu>
Date:       2017-11-15 15:47:38
Message-ID: 20171115154738.722ncyvue5vwr5ew () telecos ! upc ! edu
[Download RAW message or body]

Hello.

I am using libvirt and KVM for a VDI project. It works fine,
great job ! I have only a small issue that bothers some
users from time to time.

This is libvirt-bin 2.5.0-3ubuntu5.5.

When restoring a saved domain that has been many hours or
days down, the network address may be taken by some other
virtual machine. Then both are in conflict.

I found this patch:

https://www.redhat.com/archives/libvir-list/2016-October/msg00561.html

And I tried setting it in my host but it discards silently
my settings after doing virsh net-edit. So It may not be
apllied to the 2.5.0 release ?

That's what I tried:

   <dhcp>
      <leasetime>24h</leasetime>
      <range start='192.168.122.2' end='192.168.122.254'/>
   </dhcp>

I also tried leasetime -1 with the same results.

I also found about adding infinite to the dhcp-range at
/var/lib/libvirt/dnsmasq/default.conf. But this file has
a comment about it shouldn't be edited and it should be
done with net-edit. But I don't know how to add this
tag to the network.

  dhcp-range=192.168.122.2,192.168.122.254,infinite

Any hints ? Thank you for your time.

--
Francesc Guasch
ETSETB - UPC

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic