yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #11317
[Bug 1290303] [NEW] ipv6 subnet causes dnsmasq bad command line options: only one tag allowed
Public bug reported:
This happens when I run any IPv6 tests from tempest.api.network locally. It doesn't cause test failures, but it does show a problem with the code. It happens sometimes in the OpenStack CI testing.
http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOiBcImJhZCBjb21tYW5kIGxpbmUgb3B0aW9uczogb25seSBvbmUgdGFnIGFsbG93ZWRcIiIsImZpZWxkcyI6W10sIm9mZnNldCI6MCwidGltZWZyYW1lIjoiNjA0ODAwIiwiZ3JhcGhtb2RlIjoiY291bnQiLCJ0aW1lIjp7InVzZXJfaW50ZXJ2YWwiOjB9LCJzdGFtcCI6MTM5NDQ0NTkzODA3Nn0=
2014-03-10 09:01:08.982 2987 TRACE neutron.agent.dhcp_agent Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-024c2b2b-8fc2-478f-b979-67b3c5b91088', 'env', 'NEUTRON_NETWORK_ID=024c2b2b-8fc2-478f-b979-67b3c5b91088', 'dnsmasq', '--no-hosts', '--no-resolv', '--strict-order', '--bind-interfaces', '--interface=tap9715ac3c-2a', '--except-interface=lo', '--pid-file=/opt/stack/data/neutron/dhcp/024c2b2b-8fc2-478f-b979-67b3c5b91088/pid', '--dhcp-hostsfile=/opt/stack/data/neutron/dhcp/024c2b2b-8fc2-478f-b979-67b3c5b91088/host', '--dhcp-optsfile=/opt/stack/data/neutron/dhcp/024c2b2b-8fc2-478f-b979-67b3c5b91088/opts', '--leasefile-ro', '--dhcp-range=set:tag0,2003::,static,86400s', '--dhcp-lease-max=16777216', '--conf-file=', '--domain=openstacklocal']
2014-03-10 09:01:08.982 2987 TRACE neutron.agent.dhcp_agent Exit code: 1
2014-03-10 09:01:08.982 2987 TRACE neutron.agent.dhcp_agent Stdout: ''
2014-03-10 09:01:08.982 2987 TRACE neutron.agent.dhcp_agent Stderr: '\ndnsmasq: bad command line options: only one tag allowed\n'
So it looks like the '--dhcp-range=set:tag0,2003::,static,86400s' part
is the problem because the subnet is 2003::/64.
There is a patch to wrap ipv6 addresses that are written to the hosts file with []. Maybe something similiar is needed for the command line, or ipv6 should be skipped for now.
https://github.com/openstack/neutron/commit/b5d09ffe604a1f6d8272b773bb183e5f2bc3d0f3
** Affects: neutron
Importance: Undecided
Status: New
** Description changed:
- This happens when I run any IPv6 tests from tempest.api.network locally. It doesn't cause test failures, but it does show a problem with the code. It happens sometimes in the OpenStack CI testing.
+ This happens when I run any IPv6 tests from tempest.api.network locally. It doesn't cause test failures, but it does show a problem with the code. It happens sometimes in the OpenStack CI testing.
http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOiBcImJhZCBjb21tYW5kIGxpbmUgb3B0aW9uczogb25seSBvbmUgdGFnIGFsbG93ZWRcIiIsImZpZWxkcyI6W10sIm9mZnNldCI6MCwidGltZWZyYW1lIjoiNjA0ODAwIiwiZ3JhcGhtb2RlIjoiY291bnQiLCJ0aW1lIjp7InVzZXJfaW50ZXJ2YWwiOjB9LCJzdGFtcCI6MTM5NDQ0NTkzODA3Nn0=
2014-03-10 09:01:08.982 2987 TRACE neutron.agent.dhcp_agent Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-024c2b2b-8fc2-478f-b979-67b3c5b91088', 'env', 'NEUTRON_NETWORK_ID=024c2b2b-8fc2-478f-b979-67b3c5b91088', 'dnsmasq', '--no-hosts', '--no-resolv', '--strict-order', '--bind-interfaces', '--interface=tap9715ac3c-2a', '--except-interface=lo', '--pid-file=/opt/stack/data/neutron/dhcp/024c2b2b-8fc2-478f-b979-67b3c5b91088/pid', '--dhcp-hostsfile=/opt/stack/data/neutron/dhcp/024c2b2b-8fc2-478f-b979-67b3c5b91088/host', '--dhcp-optsfile=/opt/stack/data/neutron/dhcp/024c2b2b-8fc2-478f-b979-67b3c5b91088/opts', '--leasefile-ro', '--dhcp-range=set:tag0,2003::,static,86400s', '--dhcp-lease-max=16777216', '--conf-file=', '--domain=openstacklocal']
2014-03-10 09:01:08.982 2987 TRACE neutron.agent.dhcp_agent Exit code: 1
2014-03-10 09:01:08.982 2987 TRACE neutron.agent.dhcp_agent Stdout: ''
2014-03-10 09:01:08.982 2987 TRACE neutron.agent.dhcp_agent Stderr: '\ndnsmasq: bad command line options: only one tag allowed\n'
So it looks like the '--dhcp-range=set:tag0,2003::,static,86400s' part
is the problem because the subnet is 2003::/64.
- There is a patch to wrap ipv6 addresses that are written to the hosts
- file with []. Maybe something similiar is needed for the command line,
- or ipv6 should be skipped for now.
+ There is a patch to wrap ipv6 addresses that are written to the hosts file with []. Maybe something similiar is needed for the command line, or ipv6 should be skipped for now.
+ https://github.com/openstack/neutron/commit/b5d09ffe604a1f6d8272b773bb183e5f2bc3d0f3
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1290303
Title:
ipv6 subnet causes dnsmasq bad command line options: only one tag
allowed
Status in OpenStack Neutron (virtual network service):
New
Bug description:
This happens when I run any IPv6 tests from tempest.api.network locally. It doesn't cause test failures, but it does show a problem with the code. It happens sometimes in the OpenStack CI testing.
http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOiBcImJhZCBjb21tYW5kIGxpbmUgb3B0aW9uczogb25seSBvbmUgdGFnIGFsbG93ZWRcIiIsImZpZWxkcyI6W10sIm9mZnNldCI6MCwidGltZWZyYW1lIjoiNjA0ODAwIiwiZ3JhcGhtb2RlIjoiY291bnQiLCJ0aW1lIjp7InVzZXJfaW50ZXJ2YWwiOjB9LCJzdGFtcCI6MTM5NDQ0NTkzODA3Nn0=
2014-03-10 09:01:08.982 2987 TRACE neutron.agent.dhcp_agent Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-024c2b2b-8fc2-478f-b979-67b3c5b91088', 'env', 'NEUTRON_NETWORK_ID=024c2b2b-8fc2-478f-b979-67b3c5b91088', 'dnsmasq', '--no-hosts', '--no-resolv', '--strict-order', '--bind-interfaces', '--interface=tap9715ac3c-2a', '--except-interface=lo', '--pid-file=/opt/stack/data/neutron/dhcp/024c2b2b-8fc2-478f-b979-67b3c5b91088/pid', '--dhcp-hostsfile=/opt/stack/data/neutron/dhcp/024c2b2b-8fc2-478f-b979-67b3c5b91088/host', '--dhcp-optsfile=/opt/stack/data/neutron/dhcp/024c2b2b-8fc2-478f-b979-67b3c5b91088/opts', '--leasefile-ro', '--dhcp-range=set:tag0,2003::,static,86400s', '--dhcp-lease-max=16777216', '--conf-file=', '--domain=openstacklocal']
2014-03-10 09:01:08.982 2987 TRACE neutron.agent.dhcp_agent Exit code: 1
2014-03-10 09:01:08.982 2987 TRACE neutron.agent.dhcp_agent Stdout: ''
2014-03-10 09:01:08.982 2987 TRACE neutron.agent.dhcp_agent Stderr: '\ndnsmasq: bad command line options: only one tag allowed\n'
So it looks like the '--dhcp-range=set:tag0,2003::,static,86400s' part
is the problem because the subnet is 2003::/64.
There is a patch to wrap ipv6 addresses that are written to the hosts file with []. Maybe something similiar is needed for the command line, or ipv6 should be skipped for now.
https://github.com/openstack/neutron/commit/b5d09ffe604a1f6d8272b773bb183e5f2bc3d0f3
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1290303/+subscriptions
Follow ups
References