dhcp-agent does always provide IP address for instances with re-cycled IP addresses.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Lawrance | ||
CentOS |
New
|
Undecided
|
Unassigned | ||
quantum (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Configuration: OpenStack Networking, OpenvSwitch Plugin (GRE tunnels), OpenStack Networking Security Groups
Release: Grizzly
Sometime when creating instances, the dnsmasq instance associated with the tenant l2 network does not have configuration for the requesting mac address:
Jun 11 09:30:23 d7m88-cofgod dnsmasq-
Jun 11 09:30:33 d7m88-cofgod dnsmasq-
Restarting the quantum-dhcp-agent resolved the issue:
Jun 11 09:30:41 d7m88-cofgod dnsmasq-
Jun 11 09:30:41 d7m88-cofgod dnsmasq-
The IP address (10.5.0.2) was re-cycled from an instance that was destroyed just prior to creation of this one.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: quantum-dhcp-agent 1:2013.1.1-0ubuntu1
ProcVersionSign
Uname: Linux 3.8.0-23-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Tue Jun 11 09:31:38 2013
MarkForUpload: True
PackageArchitec
ProcEnviron:
TERM=screen
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: quantum
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
summary: |
- dhcp-agent does not provide IP address for instances with re-cycled IP - addresses. + dhcp-agent does always provide IP address for instances with re-cycled + IP addresses. |
tags: | added: l3-ipam-dhcp |
tags: | added: serverstack |
affects: | quantum (CentOS) → centos |
The message is received by the agent:
2013-06-11 09:28:30 DEBUG [quantum. openstack. common. rpc.amqp] received {u'_context_roles': [u'Member', u'_member_', u'admin'], u'_context_ read_deleted' : u'no', u'_context_ tenant_ id': u'670fedaf933a4 3d2b2a64148d781 839f', u'args': {u'payload': {u'port': {u'status': u'DOWN', u'name': u'', u'admin_state_up': True, u'network_id': u'864facd7- 0179-40fe- 8928-48c3993b8c 00', u'tenant_id': u'670fedaf933a4 3d2b2a64148d781 839f', u'device_owner': u'compute:None', u'mac_address': u'fa:16: 3e:da:41: 45', u'fixed_ips': [{u'subnet_id': u'2128dbee- d153-47a1- 86e4-5e2611233d 58', u'ip_address': u'10.5.0.2'}], u'id': u'76672204- 43b8-4407- b8f5-bcb847cde3 9a', u'security_groups': [u'b0dbbcf1- 0512-429f- b40b-c24b0f6e08 c7', u'b98efe39- 08ac-45d3- 925d-83c9f13074 56'], u'device_id': u'a1e1d055- 68c7-4c76- a0c1-47b1e116a8 a7'}}}, u'_unique_id': u'e989617aad374 a5e94284c174394 377f', u'_context_ is_admin' : False, u'version': u'1.0', u'_context_ project_ id': u'670fedaf933a4 3d2b2a64148d781 839f', u'_context_ timestamp' : u'2013-06-11 13:28:30.197746', u'_context_ user_id' : u'9b118873367f4 27e950790a0b150 4881', u'method': u'port_create_end'} openstack. common. rpc.amqp] unpacked context: {'user_id': u'9b118873367f4 27e950790a0b150 4881', 'roles': [u'Member', u'_member_', u'admin'], 'tenant_id': u'670fedaf933a4 3d2b2a64148d781 839f', 'is_admin': False, 'timestamp': u'2013-06-11 13:28:30.197746', 'project_id': u'670fedaf933a4 3d2b2a64148d781 839f', 'read_deleted': u'no'} openstack. common. lockutils] Got semaphore "agent" for method "port_update_ end"... agent.linux. utils] Running command: ['sudo', '/usr/bin/ quantum- rootwrap' , '/etc/quantum/ rootwrap. conf', 'ip', 'netns', 'exec', 'qdhcp- 864facd7- 0179-40fe- 8928-48c3993b8c 00', 'kill', '-HUP', '10083'] agent.linux. utils] quantum- rootwrap' , '/etc/quantum/ rootwrap. conf', 'ip', 'netns', 'exec', 'qdhcp- 864facd7- 0179-40fe- 8928-48c3993b8c 00', 'kill', '-HUP', '10083']
2013-06-11 09:28:30 DEBUG [quantum.
2013-06-11 09:28:30 DEBUG [quantum.
2013-06-11 09:28:30 DEBUG [quantum.
2013-06-11 09:28:30 DEBUG [quantum.
Command: ['sudo', '/usr/bin/
Exit code: 0