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

 

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

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

** Changed in: cloud-init
       Status: Triaged => Expired

-- 
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 cloud-init:
  Expired
Status in tripleo:
  Won't Fix

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