← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1870569] [NEW] Unable to create network without default network_segment_range

 

Public bug reported:

When using the network_segment_range, it should be possible to specify
all ranges manually, without any default ranges being required.  Until
recently, this was the case, however a recent commit [1] went in that
broke that functionality.  Note this bug has also been merged [2] into
stable/train.

This line [3] assumes that there will be a default network segment
range.  This should be changed to check if there is a default range, and
if not, then return an empty set, to allow selecting a segment from the
shared and project ranges.


[1] https://opendev.org/openstack/neutron/commit/046672247de56bad950e8267a57bd26205f354a0
[2] https://opendev.org/openstack/neutron/commit/bbe401aaf9bfdd77e1d43d547b2cdb436b1440c8
[3] https://opendev.org/openstack/neutron/src/branch/master/neutron/objects/network_segment_range.py#L197

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1870569

Title:
  Unable to create network without default network_segment_range

Status in neutron:
  New

Bug description:
  When using the network_segment_range, it should be possible to specify
  all ranges manually, without any default ranges being required.  Until
  recently, this was the case, however a recent commit [1] went in that
  broke that functionality.  Note this bug has also been merged [2] into
  stable/train.

  This line [3] assumes that there will be a default network segment
  range.  This should be changed to check if there is a default range,
  and if not, then return an empty set, to allow selecting a segment
  from the shared and project ranges.

  
  [1] https://opendev.org/openstack/neutron/commit/046672247de56bad950e8267a57bd26205f354a0
  [2] https://opendev.org/openstack/neutron/commit/bbe401aaf9bfdd77e1d43d547b2cdb436b1440c8
  [3] https://opendev.org/openstack/neutron/src/branch/master/neutron/objects/network_segment_range.py#L197

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1870569/+subscriptions


Follow ups