neutron guide OVS + provider nets section lacks IPv6 gateway
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am not sure whether this is a doc bug or a script bug or both.
In the localrc contents exhibited at http://
there is no mention of any IPv6 gateways, nor is there a restriction of IP_VERSION to 4.
In Liberty the default is 4+6, but the DevStack scripts do not supply a default value for the needed gateway
nor the needed network name.
The result is that when running stack.sh against the localrc contents exhibited there to create the controller,
on exactly the "physical network setup" described in that section,
the creation of the provider IPv6 subnet fails; following is a quote from stack.sh output:
2015-10-20 06:16:01.982 | ++ neutron subnet-create --tenant_id 2f2e3b018cd548a
2015-10-20 06:16:01.995 | ++ get_field 2
2015-10-20 06:16:01.996 | ++ local data field
2015-10-20 06:16:01.996 | ++ read data
2015-10-20 06:16:02.000 | ++ grep id
2015-10-20 06:16:02.716 | usage: neutron subnet-create [-h]
2015-10-20 06:16:02.716 | [-f {html,json,
2015-10-20 06:16:02.717 | [-c COLUMN] [--max-width <integer>] [--noindent]
2015-10-20 06:16:02.717 | [--prefix PREFIX] [--request-format {json,xml}]
2015-10-20 06:16:02.717 | [--tenant-id TENANT_ID] [--name NAME]
2015-10-20 06:16:02.717 | [--gateway GATEWAY_IP | --no-gateway]
2015-10-20 06:16:02.717 | [--allocation-pool start=IP_
2015-10-20 06:16:02.717 | [--host-route destination=
2015-10-20 06:16:02.717 | [--dns-nameserver DNS_NAMESERVER]
2015-10-20 06:16:02.717 | [--disable-dhcp] [--enable-dhcp]
2015-10-20 06:16:02.717 | [--ip-version {4,6}]
2015-10-20 06:16:02.717 | [--ipv6-ra-mode {dhcpv6-
2015-10-20 06:16:02.717 | [--ipv6-
2015-10-20 06:16:02.717 | [--subnetpool SUBNETPOOL]
2015-10-20 06:16:02.717 | [--prefixlen PREFIX_LENGTH]
2015-10-20 06:16:02.717 | NETWORK [CIDR]
2015-10-20 06:16:02.717 | neutron subnet-create: error: argument --gateway: expected one argument
BTW, I did my testing on Ubuntu 14.04.03 after a recent `apt-get update; apt-get upgrade`.