← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1409258] Re: Version number is not reported properly by the Hyper-V driver

 

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

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

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

Title:
  Version number is not reported properly by the Hyper-V driver

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Nova expects the hypervisor version to be reported as an int.

  Although undocumented, the int is converted back to a version number x.y.z by splitting the int in groups of 3 decimal digits:
  See: https://github.com/openstack/nova/blob/master/nova/utils.py#L1016

  The hyper-v driver reports the OS version by removing the "." in the
  version, so 6.3.9600 (Hyper-V 2012 R2) becomes 639600, which once
  translated becomes 639.600, which is incorrect.

  This is needed by image scheduler filters that use
  "requests_hypervisor_version=x.y.z" to request a minimum hypervisor
  version.

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


References