← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1149890] [NEW] Inconsistent behaviour when preventing creation of too small subnets

 

Public bug reported:

The backport for bug #1102504 didn't cover creating a subnet from a
network details page (as opposed to using the "Create network" button on
the Networks page). This makes the experience a bit inconsistent, where
sometimes the user will be prevented from creating a single IP sized
network and sometimes not.

Steps to reproduce:
1. Create a network
2. Click on the network name to go to the details page
3. Click Create subnet and enter a subnet address without a mask e.g. 192.168.17.0
4. Click Create subnet

Actual result:
The subnet gets created with mask /32

Expected result:
The subnet isn't created and the form displays an error message, same as bug 1102504.

This applies to Folsom but not to master, as the subnet forms were
refactored into a workflow that reuses the create network subnet
creation logic, during the grizzly cycle
(https://github.com/openstack/horizon/commit/31d55e503d578f3af86fed15a37127aff9871ecd).

** Affects: horizon
     Importance: Undecided
         Status: Invalid

** Affects: horizon/folsom
     Importance: Undecided
     Assignee: Julie Pichon (jpichon)
         Status: New

** Also affects: horizon/folsom
   Importance: Undecided
       Status: New

** Changed in: horizon
       Status: New => Invalid

** Changed in: horizon/folsom
     Assignee: (unassigned) => Julie Pichon (jpichon)

-- 
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/1149890

Title:
  Inconsistent behaviour when preventing creation of too small subnets

Status in OpenStack Dashboard (Horizon):
  Invalid
Status in OpenStack Dashboard (Horizon) folsom series:
  New

Bug description:
  The backport for bug #1102504 didn't cover creating a subnet from a
  network details page (as opposed to using the "Create network" button
  on the Networks page). This makes the experience a bit inconsistent,
  where sometimes the user will be prevented from creating a single IP
  sized network and sometimes not.

  Steps to reproduce:
  1. Create a network
  2. Click on the network name to go to the details page
  3. Click Create subnet and enter a subnet address without a mask e.g. 192.168.17.0
  4. Click Create subnet

  Actual result:
  The subnet gets created with mask /32

  Expected result:
  The subnet isn't created and the form displays an error message, same as bug 1102504.

  This applies to Folsom but not to master, as the subnet forms were
  refactored into a workflow that reuses the create network subnet
  creation logic, during the grizzly cycle
  (https://github.com/openstack/horizon/commit/31d55e503d578f3af86fed15a37127aff9871ecd).

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


Follow ups

References