[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] OSSTest-- Leases::check_ip() ignore guest free IP



Hi,

Say such a leases file:
lease 192.168.199.124 {
  starts 4 2015/08/06 08:46:50;
  ends 4 2015/08/06 08:58:50;
  cltt 4 2015/08/06 08:46:50;
  binding state active;
  next binding state free;
  hardware ethernet 5e:36:0e:f5:00:02;
  uid "\001^6\016\365\000\002";
}
lease 192.168.199.242 {
  starts 4 2015/08/06 08:46:55;
  ends 4 2015/08/06 08:58:55;
  cltt 4 2015/08/06 08:46:55;
  binding state active;
  next binding state free;
  hardware ethernet 00:04:23:e8:dd:5a;
  uid "\001\000\004#\350\335Z";
}
...
lease 192.168.199.124 {
  starts 4 2015/08/06 08:46:50;
  ends 4 2015/08/06 08:58:50;
  tstp 4 2015/08/06 08:58:50;
  cltt 4 2015/08/06 08:46:50;
  binding state free;
  hardware ethernet 5e:36:0e:f5:00:02;
  uid "\001^6\016\365\000\002";
}

In Leases::check_ip(), it will ignore the last entry of guest freeing IP
and return last active IP lease entry. Then OSSTest will try to ping that IP 
and fails.

Best Regards,
Robert Ho


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.