← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
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

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


Follow ups

References