Setting instance default_ephemeral_device in Ironic driver should be more intelligent

Bug #1328939 reported by David Shrewsbury
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Opinion
Wishlist
Unassigned
OpenStack Compute (nova)
Opinion
Wishlist
Unassigned

Bug Description

The instance default_ephemeral_device value needs to be set within the nova driver to the partition where the ephemeral partition is created. We currently hard code this value to /dev/sda1 to duplicate the old nova-bm behavior. While this makes things work for TripleO [1], we should do something smarter to determine the true partition value to set (e.g., a Cirros image value should be /dev/vda1).

We could consider using something like udev by-label names (e.g., /dev/disk/by-label/NNN). This obviously adds a requirement on udev.

[1] https://bugs.launchpad.net/ironic/+bug/1324286

Revision history for this message
Dmitry Tantsur (divius) wrote :

For future implementer: please note that this change definitely requires a proper spec.

Changed in ironic:
status: New → Triaged
importance: Undecided → Low
Dmitry Tantsur (divius)
summary: - Setting instance default_ephemeral_device should be more intelligent
+ Setting instance default_ephemeral_device in Ironic driver should be
+ more intelligent
tags: added: ironic
Sean Dague (sdague)
Changed in nova:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
John L. Villalovos (happycamp) wrote :

This should be changed to 'Wishlist' as it is a request for an improvement.

Michael Davies (mrda)
Changed in ironic:
importance: Low → Wishlist
Changed in nova:
importance: Low → Wishlist
Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote :

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] (maybe with a spec [2]). I'll recommend to
read [3] if not yet done.

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
Changed in ironic:
assignee: nobody → Galyna Zholtkevych (gzholtkevych)
Changed in nova:
assignee: nobody → Galyna Zholtkevych (gzholtkevych)
Revision history for this message
Galyna Zholtkevych (gzholtkevych) wrote :

Hello!

In case of ironic usage this bug seems invalid.
When deploying instance with ephemeral flavor, this option
default_ephemeral_device in any appropriate mountpoints.

See http://paste.openstack.org/show/585931/

Changed in nova:
assignee: Galyna Zholtkevych (gzholtkevych) → nobody
Changed in ironic:
assignee: Galyna Zholtkevych (gzholtkevych) → nobody
Revision history for this message
Michael Turek (mjturek) wrote :

This wishlist bug has been open more than 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. This bug can be reopened (set back to "New") if someone decides to work on this.

Changed in ironic:
status: Triaged → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.