← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1289130] Re: ERROR log "No DHCP agents are associated with network" is not an error in most cases

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

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

Title:
  ERROR log "No DHCP agents are associated with network" is not an error
  in most cases

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  dhcp-agent notifier outputs ERROR log "No DHCP agents are associated with network"
  but it is not an error and valid cases in most cases. It is so annoying for debugging and monitoring.

  No dhcp-agent association for a network was logged as ERROR level.
  However it is completely incorrect for network_create_end, and usually
  wrong for subnet_create_end (because a subnet is created just after a
  network is created in most cases). We should not log it for these
  cases.

  For other cases, a dhcp-agent is usually associated with a network, and no dhcp-agent assocation might be a symptom of some error. On the other hand there are valid cases where no dhcp-agent is associated (e.g., delete dhcp-agent association intentionally, network/subnet_update_end before a port is created). Considering these and the fact that error will be logged in
  dhcp-agent scheduler, it would be better to be logged as INFO level now.

  2014-03-07 02:29:08.533 5415 ERROR
  neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api [req-0babab8c-d638
  -4f1e-aef3-d58ad6af8b86 None] No DHCP agents are associated with
  network '6c3c60c7-2fce-4513-971c-b49b98d153c8'. Unable to send
  notification for 'network_create_end' with payload: {'network':
  {'status': 'ACTIVE', 'subnets': [], 'name': u'private',
  'provider:physical_network': None, 'admin_state_up': True,
  'tenant_id': u'33f39be0287d4316a29a4247dcd6db5c',
  'provider:network_type': u'local', 'shared': False, 'id':
  '6c3c60c7-2fce-4513-971c-b49b98d153c8', 'provider:segmentation_id':
  None}}

  http://logs.openstack.org/35/78835/1/check/check-tempest-dsvm-
  neutron/cd96f2f/logs/screen-q-svc.txt.gz?level=ERROR

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


References