Ask Your Question
1

Why nova boot failes with rbd enabled ?

asked 2014-01-15 07:08:57 -0500

peedu gravatar image

updated 2014-01-30 09:04:56 -0500

Hi,

I have installed openstack, cinder and glance use ceph rbd pools. nano image-list gives me list of images nano volume-list gives me list of volumes My compute server has connection to ceph rbd pool my controller node dosent have connection to ceph rbd pool, mybe this is the problem?

When i create instance from volume everything is ok When i create instance from image i get two ERRORS:

1)nova-scheduler log gives me error:

Error from last host: compute (node compute.cloud): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1037, in _build_instance\n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1410, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1407, in _spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2067, in spawn\n    write_to_disk=True)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3040, in to_xml\n    disk_info, rescue, block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2920, in get_guest_config\n    inst_type):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2697, in get_guest_storage_config\n    inst_type)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2660, in get_guest_disk_config\n    self.get_hypervisor_version())\n', u'TypeError: libvirt_info() takes exactly 6 arguments (7 given)\n']

2) nova show machineid
u'message': u'No valid host was found. ', u'code': 500, u'details': u'  File "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line 107, in schedule_run_instance |
|                                      |     raise exception.NoValidHost(reason="")
edit retag flag offensive close merge delete

Comments

I have the same problem on Ubuntu 12.04.4 LTS with cloud-archive repository. Which distribution do you use ?

salvorapi gravatar imagesalvorapi ( 2014-01-30 09:04:13 -0500 )edit

This looks like a scheduling problem and the title should probably be changed. The scheduler does not find the targeted host and there is not enough information in the post to figure out why.

dachary gravatar imagedachary ( 2014-04-15 06:21:43 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-03-05 10:03:55 -0500

same error

edit flag offensive delete link more
1

answered 2014-01-24 01:57:04 -0500

s2r2 gravatar image

The documentation is wrong, libvirt/nova rbd integration needs no changes to nova.conf on a compute node. This should solve the issue in scheduling that you posted. About the rest, more input would be needed. :)

edit flag offensive delete link more

Comments

is this problem resolved ?

ospz2014 gravatar imageospz2014 ( 2014-02-17 16:49:37 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

4 followers

Stats

Asked: 2014-01-15 07:08:57 -0500

Seen: 567 times

Last updated: Mar 05 '14