← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1155713] Re: error injecting data into image when launching from volume

 

*** This bug is a duplicate of bug 1188543 ***
    https://bugs.launchpad.net/bugs/1188543

** This bug has been marked a duplicate of bug 1188543
   NBD mount errors when booting an instance from volume

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1155713

Title:
  error injecting data into image when launching from volume

Status in OpenStack Compute (Nova):
  Triaged

Bug description:
  branch: master
  commit: ae251b99a3fb6aa99ec8898152d79dfa2c026a92

  I launch the instance from a sheepdog volume without specifying an
  image when launching.

  The following error occurred:

  2013-03-16 01:20:52,245.245 WARNING nova.virt.disk.mount.api [req-851e9cfb-dd90-467c-ba6d-bc12fab96cd5 a41f168874b747249e32e4913e548a27 3433737bbc8b40d385c9cb5d29891804] Device allocation failed after repeated retries.
  2013-03-16 01:20:52,245.245 WARNING nova.virt.disk.mount.api [req-851e9cfb-dd90-467c-ba6d-bc12fab96cd5 a41f168874b747249e32e4913e548a27 3433737bbc8b40d385c9cb5d29891804] Device allocation failed after repeated retries.
  2013-03-16 01:20:52,246.246 WARNING nova.virt.disk.api [req-851e9cfb-dd90-467c-ba6d-bc12fab96cd5 a41f168874b747249e32e4913e548a27 3433737bbc8b40d385c9cb5d29891804] Ignoring error injecting data into image (Could not attach image to loopback: Unexpected error while running command.
  Command: losetup --find --show /var/lib/nova/instances/552cc662-2d98-421d-9f59-50e92915f960/disk
  Exit code: 1
  Stdout: ''
  Stderr: '/var/lib/nova/instances/552cc662-2d98-421d-9f59-50e92915f960/disk: No such file or directory\n')
  2013-03-16 01:20:52,246.246 WARNING nova.virt.disk.api [req-851e9cfb-dd90-467c-ba6d-bc12fab96cd5 a41f168874b747249e32e4913e548a27 3433737bbc8b40d385c9cb5d29891804] Ignoring error injecting data into image (Could not attach image to loopback: Unexpected error while running command.
  Command: losetup --find --show /var/lib/nova/instances/552cc662-2d98-421d-9f59-50e92915f960/disk
  Exit code: 1
  Stdout: ''
  Stderr: '/var/lib/nova/instances/552cc662-2d98-421d-9f59-50e92915f960/disk: No such file or directory\n')

  Clearly, nova tries to inject to an image file that doesn't exist on
  disk. We may need to skip injecting the data when launching from a
  volume.

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