← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1244043] Re: Can't delete the flavor by name which name is used in other flavor as id

 

as per discussion on patch, closing this bug.

** Changed in: nova
       Status: In Progress => Won't Fix

** Changed in: nova
     Assignee: Tiago Rodrigues de Mello (timello) => (unassigned)

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

Title:
  Can't delete the flavor by name which name is used in other flavor as
  id

Status in OpenStack Compute (Nova):
  Won't Fix

Bug description:
  # DETAILS
  1. create 2 flavors like below
  nova flavor-create duplicateName duplicateID 10 10 10
  nova flavor-create  duplicateID duplicateName 10 10 10

  [root@ns11 nova]# nova flavor-list
  +-----------------+-----------------+------------+------------+-----------+------+------------+-------------+-----------+
  | ID              | Name            | Memory_MB  | Disk       | Ephemeral | Swap | VCPUs      | RXTX_Factor | Is_Public |
  +-----------------+-----------------+------------+------------+-----------+------+------------+-------------+-----------+
  | 1               | m1.tiny         | 512        | 1          | 0         |      | 1          | 1.0         | True      |
  | 2               | m1.small        | 2048       | 20         | 0         |      | 1          | 1.0         | True      |
  | 3               | m1.medium       | 4096       | 40         | 0         |      | 2          | 1.0         | True      |
  | 4               | m1.large        | 8192       | 80         | 0         |      | 4          | 1.0         | True      |
  | 5               | m1.xlarge       | 16384      | 160        | 0         |      | 8          | 1.0         | True      |
  | duplicateID     | duplicateName   | 10         | 10         | 0         |      | 10         | 1.0         | True      |
  | duplicateName   | duplicateID     | 10         | 10         | 0         |      | 10         | 1.0         | True      |

  2.  Delete the flavor which id is duplicateID
  nova flavor-delete duplicateID

  3.  Delete the flavor which name is duplicateID
  nova flavor-delete duplicateID

  
  # EXPECTED RESULTS 
  The flavor which name is duplicateID can be delete successfully

  # Actual Result
  [root@ns11 nova]# nova flavor-delete duplicateID
  ERROR: NV-88FBE2E Flavor duplicateID could not be found. (HTTP 404) (Request-ID: req-08c7f398-e76a-48ac-b2a8-5e452dd97782)

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