storage format provide consistent paths (dname)

Bug #1477756 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curtin
Fix Released
Undecided
Wesley Wiedenmeier

Bug Description

MAAS would like to be able to let the user give a disk (or raid device or md device) a "name" such that the user can then address the block device by that name.

in http://paste.ubuntu.com/10939715/
the key 'name' means that is the desireable name for the user.
We should restrict that name to not include spaces or /.

Then, curtin should set udev rules so that the device is available at:
  /dev/disk/by-dname/<name>
and partitions on it are:
  /dev/disk/by-dname/<name>-part<partitionNumber>

An example of something that does almost exactly that is:
in http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/udev/66-azure-ephemeral.rules

Tags: maas storage
tags: added: maas storage
Changed in curtin:
assignee: nobody → Wesley Wiedenmeier (wesley-wiedenmeier)
status: New → In Progress
Changed in curtin:
status: In Progress → Fix Committed
Revision history for this message
Scott Moser (smoser) wrote : Fixed in Curtin 17.1

This bug is believed to be fixed in curtin in 17.1. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in curtin:
status: Fix Committed → Fix Released
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.