← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1531109] [NEW] Fix error info when to create or update subnet

 

Public bug reported:

Network address source could be manual  or subnetpool.

If api.neutron.is_extension_supported(request, 'subnet_allocation') ==
False, widget subnetpool which label is"Address Pool" will be hide,  but
error info still is ('Specify "Network Address", "Address pool" or clear
"Create Subnet" checkbox.'), that will be misunderstand.

In the other hand, it is allowed to supply empty subnetpool_id when to create subnet, refer to: https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/networks/workflows.py#L285.
So we do not need "Address pool" in error info.

** Affects: horizon
     Importance: Undecided
     Assignee: Wang Bo (chestack)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Wang Bo (chestack)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1531109

Title:
  Fix error info when to create or update subnet

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Network address source could be manual  or subnetpool.

  If api.neutron.is_extension_supported(request, 'subnet_allocation') ==
  False, widget subnetpool which label is"Address Pool" will be hide,
  but error info still is ('Specify "Network Address", "Address pool" or
  clear "Create Subnet" checkbox.'), that will be misunderstand.

  In the other hand, it is allowed to supply empty subnetpool_id when to create subnet, refer to: https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/networks/workflows.py#L285.
  So we do not need "Address pool" in error info.

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


Follow ups