Bug 1393175 - Do not assign network address to instance
Summary: Do not assign network address to instance
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: async
: 7.0 (Kilo)
Assignee: Daniel Alvarez Sanchez
QA Contact: Toni Freger
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-09 03:27 UTC by Shinobu KINJO
Modified: 2020-01-17 16:08 UTC (History)
11 users (show)

Fixed In Version: openstack-neutron-2015.1.4-11
Doc Type: Bug Fix
Doc Text:
Previously, the DHCP agent only restarted its process when DHCP-enabled subnets were changed. Consequently, when a subnet with DHCP disabled was added or updated, it broke the association between the opts file tags and the process arg tags, which led to a state where dnsmasq sent its IP address as a default gateway. With this update, the process is restarted when a subnet with DHCP disabled is added or removed. As a result, dnsmasq is now correctly spawned with a matching opts file and tag args.
Clone Of:
Environment:
Last Closed: 2017-01-19 13:26:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0159 0 normal SHIPPED_LIVE openstack-neutron bug fix advisory 2017-01-19 18:19:02 UTC

Comment 42 Toni Freger 2016-11-30 13:31:16 UTC
The bug verified with latest version openstack-neutron-2015.1.4-11.el7ost.noarch

Verification steps:
1)Create internal network with three different subnets 
2)Sub1 - with dhcp enabled
3)Sub2 - with dhcp disabled
4)Sub3 - ipv6 stateless 

5)Check dnsmask process: 
/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/83c8f4ae-ec79-446a-8144-d1e2a0e78690/opts --dhcp-leasefile=/var/lib/neutron/dhcp/83c8f4ae-ec79-446a-8144-d1e2a0e78690/leases --dhcp-range=set:tag0,90.90.90.0,static,86400s --dhcp-range=set:tag1,2005:db2::,static,64,86400s --dhcp-lease-max=16777216 --conf-file=/etc/neutron/dnsmasq-neutron.conf --domain=openstacklocal

6)Check opt file of the dhcp 
 cat /var/lib/neutron/dhcp/83c8f4ae-ec79-446a-8144-d1e2a0e78690/opts 
tag:tag0,option:classless-static-route,80.80.80.0/24,0.0.0.0,0.0.0.0/0,90.90.90.1
tag:tag0,249,80.80.80.0/24,0.0.0.0,0.0.0.0/0,90.90.90.1
tag:tag0,option:router,90.90.90.1
tag:tag1,option6:domain-search,openstacklocal
tag:tag0,option:dns-server,90.90.90.3,90.90.90.4,90.90.90.2
tag:tag1,option6:dns-server,[2005:db2::f816:3eff:fe13:2e96],[2005:db2::f816:3eff:fe01:1d12],[2005:db2::f816:3eff:fe09:9341]

tag0 contains all information that related to the Sub1 (dhcp enabled) when tag1 contains ipv6 subnet configurations, no mismatch between the tags was found.

Comment 57 errata-xmlrpc 2017-01-19 13:26:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0159.html


Note You need to log in before you can comment on or make changes to this bug.