← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 906706] Re: Handle read exception in glance code when reading from /dev/cdrom

 

I can't quite figure out how this is a glance problem, but in any case
it doesn't seem like we have any clear path forward other than kernel
fixes.

** Changed in: glance
       Status: Triaged => Invalid

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

Title:
  Handle read exception in glance code when reading from /dev/cdrom

Status in OpenStack Image Registry and Delivery Service (Glance):
  Invalid

Bug description:
  In the pre-3.0 Linux kernel, the scsi/fs code that reads from
  /dev/cdrom does not handle the last block correctly. If a simple dd
  if=/dev/cdrom/ of=/dev/null is fired, it will fail at the last block
  owing to EOF not being handled correctly by the FS code. This leads
  glance uploads of images ripped from the physical /dev/cdrom directly
  to fail. We need to handle this to prevent failure. This problem is
  not seen from Linux 3.0 onwards.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/906706/+subscriptions