← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1259981] Re: VMware: factor out the management of unit numbers

 

** Changed in: nova
       Status: Fix Committed => 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/1259981

Title:
  VMware: factor out the management of unit numbers

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Virtual devices need a unit number when they are attached to a
  controller. We cannot have two devices on the same controller with the
  same unit number.

  Currently, the selection of unit numbers is spread all over the driver
  code, leaking to high-level functions like spawn() and rescue(). We
  need to factor this out into helper functions which take care of
  choosing a proper unit number and creating additional controllers if
  needed.

  High-level functions need to communicate only the intent like 'attach
  CDROM' or 'attach disk' and shouldn't bother with details like unit
  numbers.

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


References