← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1675143] [NEW] placement microversion comparisons are sometimes floats

 

Public bug reported:

In a few different places in the placement API (as of version 1.5) there
are microversion comparisons which are based on floats. This means that
version 1.20 will evaluate as "older" than 1.3, which totally wrong.

This is pretty much my bad, so I'm glad I noticed just now. We've got a
bit of time to fix this (before 1.10) comes along, but should get to it
soon.

Sigh.

** Affects: nova
     Importance: High
     Assignee: Chris Dent (cdent)
         Status: Triaged


** Tags: placement

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

Title:
  placement microversion comparisons are sometimes floats

Status in OpenStack Compute (nova):
  Triaged

Bug description:
  In a few different places in the placement API (as of version 1.5)
  there are microversion comparisons which are based on floats. This
  means that version 1.20 will evaluate as "older" than 1.3, which
  totally wrong.

  This is pretty much my bad, so I'm glad I noticed just now. We've got
  a bit of time to fix this (before 1.10) comes along, but should get to
  it soon.

  Sigh.

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


Follow ups