← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1179713] Re: too many subnet-create cause q-dhcp failure

 

Well, the bug is valid: we should make sure that after
max_fixed_ips_per_port or quota_subnet subnets (whichever is smaller),
the server tells you you run out of subnet you can create. Quota
enforcement already works, but we don't validate the # of subnets
against max_fixed_ips_per_port

** No longer affects: python-neutronclient

** Changed in: neutron
     Assignee: jagan kumar kotipatruni (jagankumar-k) => (unassigned)

** Tags added: low-hanging-fruit

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

Title:
  too many subnet-create cause q-dhcp failure

Status in neutron:
  In Progress

Bug description:
  I create several subnets in my 'private' network:

  quantum subnet-create private  CIDR_{i} --verbose

  the client keeps returning success. However, after the fifth attempt,
  I see my dhcp agent spitting out nasty errors, like the one below:

  2013-05-13 15:29:46    ERROR [quantum.agent.dhcp_agent] Unable to restart dhcp.
  Traceback (most recent call last):
    File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 130, in call_driver
      getattr(driver, action)()
    File "/opt/stack/quantum/quantum/agent/linux/dhcp.py", line 87, in restart
      self.enable()
    File "/opt/stack/quantum/quantum/agent/linux/dhcp.py", line 123, in enable
      reuse_existing=True)
    File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 530, in setup
      port = self.plugin.get_dhcp_port(network.id, device_id)
    File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 379, in get_dhcp_port
      topic=self.topic))
    File "/opt/stack/quantum/quantum/openstack/common/rpc/proxy.py", line 86, in call
      return rpc.call(context, real_topic, msg, timeout)
    File "/opt/stack/quantum/quantum/openstack/common/rpc/__init__.py", line 140, in call
      return _get_impl().call(CONF, context, topic, msg, timeout)
    File "/opt/stack/quantum/quantum/openstack/common/rpc/impl_kombu.py", line 798, in call
      rpc_amqp.get_connection_pool(conf, Connection))
    File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 615, in call
      rv = list(rv)
    File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 564, in __iter__
      raise result
  RemoteError: Remote error: InvalidInput Invalid input for operation: Exceeded maximim amount of fixed ips per port.

  This happens with the ovs plugin, on master.

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