← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1263294] Re: ephemeral0 of /dev/sda1 triggers 'did not find entry for sda1 in /sys/block'

 

This is blocking ephemeral disk usage on hardware which is critical to
our image based updates via rebuild code path.

** Also affects: tripleo
   Importance: Undecided
       Status: New

** Changed in: tripleo
       Status: New => Triaged

** Changed in: tripleo
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1263294

Title:
  ephemeral0 of /dev/sda1 triggers 'did not find entry for sda1 in
  /sys/block'

Status in Init scripts for use on cloud images:
  New
Status in tripleo - openstack on openstack:
  Triaged

Bug description:
  This is due to line 227 of ./cloudinit/config/cc_mounts.py::

      short_name = os.path.basename(device)
      sys_path = "/sys/block/%s" % short_name

      if not os.path.exists(sys_path):
          LOG.debug("did not find entry for %s in /sys/block", short_name)
          return None

  The sys path for /dev/sda1 is /sys/block/sda/sda1.

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


References