← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1213877] Re: something bad left by Remove DHCP lease logic

 

[Expired for neutron because there has been no activity for 60 days.]

** Changed in: neutron
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1213877

Title:
  something bad left by Remove DHCP lease logic

Status in OpenStack Neutron (virtual network service):
  Expired

Bug description:
  1.  create dhcp dir, which is configurable and created in driver later:
  dhcp_dir = os.path.dirname("/%s/dhcp/" % self.conf.state_path)
  84	        if not os.path.isdir(dhcp_dir):
  85	            os.makedirs(dhcp_dir, 0o755)
  https://review.openstack.org/#/c/37580/13/neutron/agent/dhcp_agent.py

  2. dhcp_agent.ini

  # Location to DHCP lease relay UNIX domain socket
  # dhcp_lease_relay_socket = $state_path/dhcp/lease_relay

  3.https://review.openstack.org/#/c/37580/13/neutron/db/db_base_plugin_v2.py
  def update_fixed_ip_lease_expiration(self, context, network_id,
  433	                                         ip_address, lease_remaining):
  which is not used because  update_lease_expiration  is removed at https://review.openstack.org/#/c/37580/13/neutron/db/dhcp_rpc_base.py

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