← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

Similar as bug 828357 which is against on libvirt, we should label the
FileSystems for ephemeral and root device which running on XenServer.
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...)

** Affects: nova
     Importance: Undecided
     Assignee: Jianghua Wang (wjh-fresh)
         Status: In Progress


** Tags: xenserver

** Changed in: nova
       Status: New => In Progress

** Changed in: nova
     Assignee: (unassigned) => Jianghua Wang (wjh-fresh)

-- 
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):
  In Progress

Bug description:
  Similar as bug 828357 which is against on libvirt, we should label the
  FileSystems for ephemeral and root device which running on XenServer.
  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


Follow ups