There is no validation of IP ranges intersections on the Networks tab

Bug #1271070 reported by Julia Aranovich
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Medium
Fuel UI Team
Mitaka
Won't Fix
Medium
Fuel UI Team
Newton
Confirmed
Medium
Fuel UI Team

Bug Description

According to the https://etherpad.openstack.org/p/limitations-of-networking-configuration the following validation cases are not implemented on UI:

* Neutron networking:
  - IP address ranges of all networks (except Internal network) in cluster must not be intersected to each other.
  - Internal network address space must not intersect with external floating IP range.

* Nova networking : items 2, 3 and 5;
  - IP address spaces of all networks in cluster must not be intersected to each other (exception: Floating ranges can be in Public CIDR).
  - IP address ranges inside Public and Floating networks must not be intersected to each other.
  - Public network gateway field must be presented and must not be in any of Public or Floating IP ranges.

This validation is presented now on backend side only (when user clicks Save Settings or Verify Networks button).

Tags: area-ui ui
Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Julia Aranovich (jkirnosova)
status: New → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/69371

Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 4.1 → 5.0
Changed in fuel:
status: In Progress → Triaged
Changed in fuel:
milestone: 5.0 → 5.1
Changed in fuel:
status: Triaged → Confirmed
Changed in fuel:
assignee: Julia Aranovich (jkirnosova) → nobody
assignee: nobody → Fuel UI Team (fuel-ui)
Dmitry Ilyin (idv1985)
summary: - There is no validation of IP ranges intersections on the Networks tab
+ [ui] There is no validation of IP ranges intersections on the Networks
+ tab
Changed in fuel:
milestone: 5.1 → 6.0
Changed in fuel:
milestone: 6.0 → next
Mike Scherbakov (mihgen)
Changed in fuel:
milestone: next → 6.0
description: updated
Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Alexandra Morozova (astepanchuk)
Revision history for this message
Alexandra Morozova (astepanchuk) wrote : Re: [ui] There is no validation of IP ranges intersections on the Networks tab

Either we need to update https://review.openstack.org/#/c/69371 up to current master or use some other solution. Probably restrictions for networks the same way as for settings?

Changed in fuel:
assignee: Alexandra Morozova (astepanchuk) → Fuel UI Team (fuel-ui)
status: Confirmed → Incomplete
Revision history for this message
Julia Aranovich (jkirnosova) wrote :

I'm convinced that Network tab should be moved to React first.

IMHO IP ranges intersections stuff isn't related to setting restrictions, it can be done as a separate request. https://review.openstack.org/#/c/69371 won't be useful after moving to React.

Changed in fuel:
status: Incomplete → Confirmed
Changed in fuel:
milestone: 6.0 → 6.1
Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Alexandra Morozova (astepanchuk)
Changed in fuel:
importance: Medium → Low
Changed in fuel:
assignee: Alexandra Morozova (astepanchuk) → Fuel UI Team (fuel-ui)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-web (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/154793

Changed in fuel:
milestone: 6.1 → 7.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (master)

Change abandoned by Dmitry Pyzhov (<email address hidden>) on branch: master
Review: https://review.openstack.org/154793
Reason: No activity for more than a month

Changed in fuel:
status: Confirmed → Won't Fix
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 7.0 → 8.0
status: Won't Fix → Confirmed
no longer affects: fuel/8.0.x
Dmitry Pyzhov (dpyzhov)
tags: added: area-ui
Revision history for this message
Anastasia Palkina (apalkina) wrote : Re: [ui] There is no validation of IP ranges intersections on the Networks tab

I also see no validation for Ironic gateway.

1. Need to enable Ironic when you create new environment
2. Open "Networks" tab and click on "Neutron L3" segment
3. Change "Ironic gateway" to 192.168.3.53
4. Click "Save Settings"

Expected result: Error about intersection between "Ironic gateway" and "Ironic IP range" appears

Actual result: No errors, settings saved successfully

Move bug to 'Medium' because it important to add such validations for user

Changed in fuel:
importance: Low → Medium
Revision history for this message
Vitaly Kramskikh (vkramskikh) wrote :

Nastya, please file another bug for this case. This bug is fo UI change only, your case needs to be fixed also on backend

tags: added: feature
summary: - [ui] There is no validation of IP ranges intersections on the Networks
- tab
+ There is no validation of IP ranges intersections on the Networks tab
Changed in fuel:
status: Confirmed → Won't Fix
Revision history for this message
Vitaly Kramskikh (vkramskikh) wrote :

The only think which is left uncovered here is absense of range intersection validation between ranges of one network

tags: removed: feature
Changed in fuel:
status: Won't Fix → Confirmed
no longer affects: fuel/newton
Changed in fuel:
milestone: 10.0 → 10.1
Changed in fuel:
milestone: 10.1 → 11.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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