← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1155228] Re: Use shorter "serial" strings for disks & apply them for all disks, not just volumes

 

This wishlist bug has been open a year without any activity. I'm going
to move it to "Opinion / Wishlist", which is an easily-obtainable queue
of older requests that have come on. If you decide to work on this
consider using a blueprint [1] (with a spec [2]). I'll recommend to 
read [3] if not yet done. 

If there are any questions left, feel free to contact me (markus_z)
in the IRC channel #openstack-nova

References:
[1] https://blueprints.launchpad.net/nova/
[2] https://github.com/openstack/nova-specs
[3] https://wiki.openstack.org/wiki/Blueprints

** Changed in: nova
       Status: Confirmed => Opinion

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

Title:
  Use shorter "serial" strings for disks & apply them for all disks, not
  just volumes

Status in OpenStack Compute (nova):
  Opinion

Bug description:
  When attaching Cinder volumes to an instance, Nova is setting the
  <serial> XML element to contain the UUID of the Cinder volume. The
  idea is that this is exposed to the guest OS, allowing it to setup a
  stable device path in /dev/disk/by-id/ to identify the device.

  The problem of reliably identifying disks passed to an instance really
  applies to all disks, not merely those backed by Cinder volumes. As
  such Nova should apply a <serial> XML element to every disk that is
  configured.

  The current approach of using a UUID doesn't really work for non-
  volume backed disks, since they have no UUIDs. Even for Cinder volumes
  the use of UUIDs is flawed, because they are too long to fit in the
  available space. As a result rather than the UUID, the guest OS is
  seeing a truncated UUID string. UUIDs are pretty user unfriendly too,
  whether truncated or not.

  We ought to come up with a plan for better serial strings that can
  apply to all disks, and can avoid being truncated.

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