VxLAN deployment is limited by GRE limitation

Bug #1748749 reported by Alexander Rubtsov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Denis Meltsaykin

Bug Description

MOS: 9.2

--- Description ---
Fuel doesn't let to specify segmentation ID higher than 65535 for VxLAN deployment.

--- Steps to reproduce ---
1. Create a new environment with tunneling segmentation

2. Download the network settings:
fuel network --env 5 --download

3. Edit the network settings:
vim /root/network_5.yaml
...
  gre_id_range:
  - 70000
  - 80000
...

4. Upload the modified settings:
fuel network --env 5 --upload --dir /root/

5. Deploy the environment

--- Actual behavior ---
Step #4 (uploading the settings) fails with the following error:

400 Client Error: Bad Request for url: http://10.20.16.2:8000/api/v1/clusters/5/network_configuration/neutron (70000.0 is greater than the maximum of 65535

Failed validating 'maximum' in schema['properties']['networking_parameters']['properties']['gre_id_range']['items']:
    {'exclusiveMaximum': False,
     'exclusiveMinimum': False,
     'maximum': 65535,
     'minimum': 1,
     'type': 'integer'}

On instance['networking_parameters']['gre_id_range'][0]:
    70000)

--- Expected behavior ---
The environment is successfully deployed
The range specified prior to deployment is in Neutron configuration file
# grep "^vni_ranges" /etc/neutron/plugins/ml2/ml2_conf.ini
vni_ranges =70000:80000

Revision history for this message
Alexander Rubtsov (arubtsov) wrote :

sla2 for 9.0-updates

Changed in fuel:
importance: Undecided → Medium
milestone: none → 9.x-updates
tags: added: customer-found sla2
Changed in fuel:
milestone: 9.x-updates → 9.2-mu-5
Changed in fuel:
assignee: nobody → Denis Meltsaykin (dmeltsaykin)
status: New → Confirmed
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/fuel-web (9.0/mitaka)

Fix proposed to branch: 9.0/mitaka
Change author: Denis V. Meltsaykin <email address hidden>
Review: https://review.fuel-infra.org/37941

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/fuel-ui (9.0/mitaka)

Fix proposed to branch: 9.0/mitaka
Change author: Denis V. Meltsaykin <email address hidden>
Review: https://review.fuel-infra.org/37947

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/fuel-web (9.0/mitaka)

Reviewed: https://review.fuel-infra.org/37941
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0/mitaka

Commit: 24c751695e1ae43fae6fbbfd98e00ea6e4519ece
Author: Denis V. Meltsaykin <email address hidden>
Date: Sat Feb 24 16:59:16 2018

Allow GRE ids over 65535

Previously existed a limitation of the maximum GRE id of 65535.
This field is also used in the vxlan scheme which doesn't have
such limitations. Since GRE deployments are deprecated starting
from MOS7.0 it is possible to adjust this field validation allowing
maximum of 2 ** 32 - 1 vxlan ids.

Change-Id: I8e5c00871d77685c0a55ffc92612cbf9fa86faa3
Closes-Bug: #1748749

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/fuel-ui (9.0/mitaka)

Reviewed: https://review.fuel-infra.org/37947
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0/mitaka

Commit: 5e3e7753f608a2f88762df9a284a6cf32fc39005
Author: Denis V. Meltsaykin <email address hidden>
Date: Sat Feb 24 20:02:59 2018

Allow GRE ids over 65535

Previously existed a limitation of the maximum GRE id of 65535.
This field is also used in the vxlan scheme which doesn't have
such limitations. Since GRE deployments are deprecated starting
from MOS7.0 it is possible to adjust this field validation allowing
maximum of 2 ** 32 - 1 vxlan ids.

Change-Id: I8e5c00871d77685c0a55ffc92612cbf9fa86faa3
Closes-Bug: #1748749

Revision history for this message
Vladimir Jigulin (vjigulin) wrote :

Verified on 9.2-mu5-proposed

Changed in fuel:
status: Fix Committed → 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.