← Back to team overview

yahoo-eng-team team mailing list archive

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

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => kilo-3

-- 
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):
  Fix Released

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 thus 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


References