← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1304183] [NEW] check flavor type is disabled before rebuild or not

 

Public bug reported:

when the flavor is disabled, we can't use it to create a new instance 
but we are able to rebuild a instance through rebuild interface, this should be checked 

in create function we have following but we don't have for rebuild 
if instance_type['disabled']:
            raise exception.FlavorNotFound(flavor_id=instance_type['id'])

** Affects: nova
     Importance: Undecided
     Assignee: jichencom (jichenjc)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => jichencom (jichenjc)

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

Title:
  check flavor type is disabled before rebuild or not

Status in OpenStack Compute (Nova):
  New

Bug description:
  when the flavor is disabled, we can't use it to create a new instance 
  but we are able to rebuild a instance through rebuild interface, this should be checked 

  in create function we have following but we don't have for rebuild 
  if instance_type['disabled']:
              raise exception.FlavorNotFound(flavor_id=instance_type['id'])

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


Follow ups

References