← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 883310] Re: allowed_instances should check both of instance_type['vcpus'] and instance_type['memory_mb'] are not zero

 

** Changed in: openstack-qa
       Status: In Progress => Fix Released

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

Title:
  allowed_instances  should check both of  instance_type['vcpus'] and
  instance_type['memory_mb'] are not zero

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack QA:
  Fix Released

Bug description:
  If instance_type['memory_mb'] or  instance_type['vcpus']  are zero, this method throws ZeroDivisionError.
  https://github.com/openstack/nova/blob/master/nova/quota.py#L100

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