[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova

James Falcon 827590 at bugs.launchpad.net
Tue May 9 17:45:43 UTC 2023


Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/2198

** Bug watch added: github.com/canonical/cloud-init/issues #2198
   https://github.com/canonical/cloud-init/issues/2198

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/827590

Title:
  cloud-init does not mount ephemeral0 on /mnt in nova

Status in cloud-init:
  Invalid
Status in OpenStack Compute (nova):
  Fix Released
Status in cloud-init package in Ubuntu:
  Invalid
Status in nova package in Ubuntu:
  Fix Released
Status in cloud-init source package in Oneiric:
  Invalid
Status in nova source package in Oneiric:
  Fix Released

Bug description:
  related bug: 
    bug 828357: request to add a label to the filesystem for ephemeral devices
    bug 827598: ephemeral device does not have a filesystem 

  $ python -c 'import boto.utils; print boto.utils.get_instance_metadata()["block-device-mapping"]'
  {'ami': 'sda1', 'root': '/dev/sda1', 'ephemeral0': 'sda2', 'swap': 'sda3'}

  $ cat /proc/partitions
  $ cat /proc/partitions
  major minor  #blocks  name

   253        0   10485760 vda
   253       16   83886080 vdb

  So there is an issue here, at very least the MD should say "/dev/sda"
  and "/dev/sdb" would be a better guess.  Additionally, there is no
  third disk (as reported in 'swap') present at all.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: cloud-init 0.6.1-0ubuntu14
  ProcVersionSignature: User Name 3.0.0-8.11-virtual 3.0.1
  Uname: Linux 3.0.0-8-virtual i686
  Architecture: i386
  Date: Tue Aug 16 19:17:00 2011
  Ec2AMI: ami-00000011
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: <nova.db.sqlalchemy.models.InstanceTypes object at 0x4f32090>
  Ec2Kernel: aki-00000010
  Ec2Ramdisk: unavailable
  PackageArchitecture: all
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: cloud-init
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list