I see two way for fixing the issue. The first one don't change the
db/api, but it's the a very nice fix. The second one seems to be the
correct way to fix this issue.

patch1.diff : always use time.time() + lease_time to set expiry in
nova/network/linux_net.py

patch2.diff : add "updated" (models.FixedIp.updated_at) in data returned
by db.api.network_get_associated_fixed_ips, and use this time when
generating the leases.

** Patch added: "always use time.time() + lease_time to set expiry in 
nova/network/linux_net.py"
   
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1104915/+attachment/3499726/+files/patch1.diff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1104915

Title:
  Wrong expire date in nova-dhcpbridge init output

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1104915/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to