FIXED_RANGE_V6 not set to sane value in neutron_plugins/services/l3

Bug #1643055 reported by Jay Faulkner
24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Clark Boylan

Bug Description

http://logs.openstack.org/16/334816/21/check/gate-tempest-dsvm-ironic-ipa-wholedisk-agent_ipmitool-coreos-src-ubuntu-xenial/95f5e9e/logs/devstacklog.txt.gz#_2016-11-18_19_22_51_984

The awk statement here: https://github.com/openstack-dev/devstack/blob/master/lib/neutron_plugins/services/l3#L76 is only returning "64", leading to an invalid create command.

2016-11-18 19:40:58.306 | +++ lib/neutron_plugins/services/l3:_neutron_create_private_subnet_v6:306 : openstack --os-cloud devstack-admin --os-region RegionOne subnet create --project ded28149997744f2b64a840e53acb288 --ip-version 6 --subnet-range 64 --ipv6-ra-mode slaac --ipv6-address-mode slaac --network ac990965-9a51-400a-a41d-043362176698 ipv6-private-subnet

This is a bad request, as 64 is not a valid IPv6 subnet. Fix will be to fix the awk statement linked.

Tags: gate
Changed in devstack:
assignee: nobody → Clark Boylan (cboylan)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/399762
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=a5afa7d81ad380eeb91f7c58dd07facb214b347b
Submitter: Jenkins
Branch: master

commit a5afa7d81ad380eeb91f7c58dd07facb214b347b
Author: Clark Boylan <email address hidden>
Date: Fri Nov 18 12:32:19 2016 -0800

    Fix default ipv6 fixed range var

    The intent was to make any ipv6 safe addr range bigger than a /64 a /64
    when setting the fixed range. Unfortunately the awk only emited the mask
    and not the addr. Fix this by sprinkling the address back in.

    Fixes-Bug: 1643055
    Change-Id: I526d4c748fd404ecb3c77afcbb056aa95090c409

Changed in devstack:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.