← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1160041] Re: Instance fails to boot when injecting a file

 

Looks like nbd wasn't loaded into the kernel

`modprobe -l | grep nbd` didn't return anything.

After running

sudo modprobe nbd

I executed nova boot again.  This time the machine successfully started.

** Changed in: nova
       Status: Incomplete => Invalid

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

Title:
  Instance fails to boot when injecting a file

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Instances fail to boot when attempting to inject file with the error
  "No valid host was found"

  This is a single node installed with devstack. The system is running
  on Ubuntu 12.04 and the Folsom release.

  Booting a VM using the following command fails:
   nova boot --file /root/test_data.txt=/home/openstack/test_data.txt --flavor "m1.tiny" --image "cirros-0.3.1-x86_64-uec" --key-name=openstack MyTest02

  running
   nova show MyTest02 shows the following error
  nova show MyTest02
  +-------------------------------------+------------------------------------------------------------------------------------+
  | Property | Value |
  +-------------------------------------+------------------------------------------------------------------------------------+
  | OS-EXT-STS:vm_state | error |

  | fault | {u'message': u'NoValidHost', u'code': 500, u'details': u'No valid host was found. |
  | | ', u'created': u'2013-03-25T21:15:24Z'} |

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