← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1488753] Re: ephemeral and root device filesystems should be labeled

 

Reviewed:  https://review.openstack.org/213094
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=63661a3ab444e85671dd9141b1f43b3493a721a1
Submitter: Jenkins
Branch:    master

commit 63661a3ab444e85671dd9141b1f43b3493a721a1
Author: jianghua wang <jianghua.wang@xxxxxxxxxx>
Date:   Fri Aug 14 11:42:12 2015 +0100

    XenAPI: Expose labels for ephemeral disks
    
    This fix is to display lables under /dev/disk/by-label for ephemeral
    disks in Linux guest running on XenServer:
       set the label as "ephemeral" for the first ephemeral device; If
       there are additional ephemerals, the label will be "ephemeraln"
       where the last n is the sequence number starts from 1:
       e.g.: "ephemeral" for the first one;
             "ephemeral1" for the 2nd one;
             "ephemeral2" for the 3rd one
             ...
    
    Closes-Bug: #1488753
    
    Change-Id: I8108aa7fa167989aa2f5c749996ea638d930f40e
    Signed-off-by: jianghua wang <jianghua.wang@xxxxxxxxxx>


** Changed in: nova
       Status: In Progress => 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/1488753

Title:
  ephemeral and root device filesystems should be labeled

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Similar to bug 828357 (against libvirt), we should label the
  FileSystems for ephemeral and root device which running on XenServer
  too. With a meaningful label, it's easier to get the device's type and
  allow you to easily add entries to fstab just as what is mentioned in
  bug 828357.

  The suggestion is as the following:
  1. if it uses the glance image to build-up root device, we give it
     a label of "cloudimg-rootfsn" to each partition(the last n is
     the partition number: e.g. cloudimg-rootfs1 for /dev/xvda1);
  2. set the label as "ephemeral" for the first ephemeral device;
     If there are additional ephemerals, the label will be
     "ephemeraln" where the last n is the sequence number starts
     from 1 (e.g.: "ephemeral" for the first one, "ephemeral1"
     for the 2nd one; and "ephemeral2" for the 3rd one...)

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


References