Bug 1802411 - “Create network” dialog box works incorrectly after checking invalid values in “Allocation Pools” area
Summary: “Create network” dialog box works incorrectly after checking invalid values i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Tatiana Ovchinnikova
QA Contact: Beth White
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-13 05:36 UTC by Masayuki Igawa
Modified: 2024-10-01 16:29 UTC (History)
5 users (show)

Fixed In Version: python-django-horizon-13.0.3-9.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-16 10:58:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
shrunk dialog box (49.90 KB, image/png)
2020-02-13 05:36 UTC, Masayuki Igawa
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1804374 0 None None None 2020-12-01 21:12:09 UTC
OpenStack gerrit 619158 0 None MERGED Check if the alert box has a sibling element, delete its parent if it doesn't exist 2021-02-07 16:47:50 UTC
Red Hat Issue Tracker DFGUI-1567 0 None None None 2022-08-30 14:47:56 UTC
Red Hat Issue Tracker OSP-1521 0 None None None 2022-08-30 14:28:06 UTC
Red Hat Product Errata RHBA-2021:2385 0 None None None 2021-06-16 10:59:47 UTC

Description Masayuki Igawa 2020-02-13 05:36:14 UTC
Created attachment 1662872 [details]
shrunk dialog box

Description of problem:

When I make a network and subnet by the dialog box in the horizon dashboard, the box becomes something wrong (see attachments) if I submit wrong values in the “Allocation Pools” area then press the “Next” button.

After that, an error message (ie “Start address is larger than end address(value=x.x.x.x,x.x.x.x)”) shows up which is expected. However, I also can press the “Next” button even if it’s disabled. After pressing the disabled “Next” button, the box gets shrunk (“Enable DHCP”, “Allocation Pools”, “DNS Name Servers” and “Host Routes” areas disappear).

Then, I press the “Back” button and press the “Next” button again to move to the “Subnet Details” tab, “Create” button shows up strangely. And, I press the “Create” button, a network and subnet are created without DHCP and specified Allocation Pools. This should be a wrong behavior.

Version-Release number of selected component (if applicable):
 13(Queens) at least


How reproducible:
 Always

Steps to Reproduce:

1. Access http://HORIZON-SERVER/dashboard/project/networks/
2. Press “Create Network”
3. Enter “Network Name” in the “Network” tab, “Subnet Name”, “Network Address” in the “Subnet” tab whatever you want. Then enter a wrong “Allocation Pools” in the “Subnet Details” tab and press the “Create” button.
4. An error message shows up.
5. Press the disabled “Next” button.
6. The dialog box gets shrunk. (This is weird behavior.)
7. Press the “Back” button in the “Subnet Details” tab, then the “Next” button in the “Subnet” tab again.
8. Press the “Create” button in the “Subnet Details” tab.
9. A network and subnet creation is succeeded.

Actual results:
* The dialog becomes incorrect.
  * The “Create” button works partially. But the dialog is broken after pressing the button.
* An undesirable network is created after pushing the “Create” button. For example, DHCP is disabled, the subnet’s DHCP is disabled and “IP Allocation Pools” is the default setting.

Expected results:
* The dialog should be consistent always.
  * The “Create” button shouldn’t work. It should be disabled when the value is incorrect.
* Correct values should be applied or just raise an error at first.

Comment 17 errata-xmlrpc 2021-06-16 10:58:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 13.0 bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:2385


Note You need to log in before you can comment on or make changes to this bug.