← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1421272] [NEW] Hyper-V: Attribute error when trying to spawn instance from vhd image

 

Public bug reported:

When trying to boot an instance from a vhd image we get:

AttributeError: 'NoneType' object has no attribute  "root_gb"

This happens when we try to get the root disk size from the old flavor.
Since on creation there is no old flavor, instance.get_flavor will
return None and this the AttributeError when trying to return the
root_gb.

** Affects: nova
     Importance: Undecided
     Assignee: Adelina Tuvenie (atuvenie)
         Status: New


** Tags: hyper-v

** Changed in: nova
     Assignee: (unassigned) => Adelina Tuvenie (atuvenie)

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

Title:
  Hyper-V: Attribute error when trying to spawn instance from vhd image

Status in OpenStack Compute (Nova):
  New

Bug description:
  When trying to boot an instance from a vhd image we get:

  AttributeError: 'NoneType' object has no attribute  "root_gb"

  This happens when we try to get the root disk size from the old
  flavor. Since on creation there is no old flavor, instance.get_flavor
  will return None and this the AttributeError when trying to return the
  root_gb.

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


Follow ups

References