← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1799153] [NEW] Inappropriate behaviour of limits when passing --region None in create and list.

 

Public bug reported:

When creating registered limit by passing --region None in registered
limit create cli, it is giving error message "More than one resource
exist for region" which is definitely a wrong message as regions with
same name cannot be created neither same exist.

The correct behaviour should be -
1. In the case if --region None it should create a registered limit.
2. "No region exist with name xyz" if passed a invalid 'xyz' region while creating.

Same in case of registerd limit list
1. In the case if --region None it should list all limits ignoring None.
2. "No region exist with name xyz" if passed a invalid 'xyz' region while listing.

Sane behaviors for limit create and list

** Affects: keystone
     Importance: Undecided
     Assignee: Vishakha Agarwal (vishakha.agarwal)
         Status: New

** Description changed:

  When creating registered limit by passing --region None in registered
  limit create cli, it is giving error message "More than one resource
  exist for region" which is definitely a wrong message as regions with
  name name cannot be created neither same exist.
  
- The correct behaviour should be - 
+ The correct behaviour should be -
  1. In the case if --region None it should create a registered limit.
  2. "No region exist with name xyz" if passed a invalid 'xyz' region while creating.
  
  Same in case of registerd limit list
  1. In the case if --region None it should list all limits ignoring None.
  2. "No region exist with name xyz" if passed a invalid 'xyz' region while listing.
+ 
+ Sane behaviors for limit create and list

** Changed in: keystone
     Assignee: (unassigned) => Vishakha Agarwal (vishakha.agarwal)

** Description changed:

  When creating registered limit by passing --region None in registered
  limit create cli, it is giving error message "More than one resource
  exist for region" which is definitely a wrong message as regions with
- name name cannot be created neither same exist.
+ same name cannot be created neither same exist.
  
  The correct behaviour should be -
  1. In the case if --region None it should create a registered limit.
  2. "No region exist with name xyz" if passed a invalid 'xyz' region while creating.
  
  Same in case of registerd limit list
  1. In the case if --region None it should list all limits ignoring None.
  2. "No region exist with name xyz" if passed a invalid 'xyz' region while listing.
  
  Sane behaviors for limit create and list

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

Title:
  Inappropriate behaviour of limits when passing --region None in create
  and list.

Status in OpenStack Identity (keystone):
  New

Bug description:
  When creating registered limit by passing --region None in registered
  limit create cli, it is giving error message "More than one resource
  exist for region" which is definitely a wrong message as regions with
  same name cannot be created neither same exist.

  The correct behaviour should be -
  1. In the case if --region None it should create a registered limit.
  2. "No region exist with name xyz" if passed a invalid 'xyz' region while creating.

  Same in case of registerd limit list
  1. In the case if --region None it should list all limits ignoring None.
  2. "No region exist with name xyz" if passed a invalid 'xyz' region while listing.

  Sane behaviors for limit create and list

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


Follow ups