Ask Your Question
0

Installing nova-lxd on centos

asked 2016-11-10 04:31:53 -0500

paul.k gravatar image

I'm trying to add nova-lxd driver to my openstack installation on centos.

I've installed nova-lxd from pip, and specified compute_driver=nova.virt.lxd.driver in nova config. However, openstack-nova-compute daemon fails with error:

2016-11-10 12:58:12.313 16585 TRACE nova.virt.driver File "/usr/lib/python2.7/site-packages/nova/openstack/common/importutils.py", line 52, in import_object_ns 2016-11-10 12:58:12.313 16585 TRACE nova.virt.driver return import_class(import_str)(args, *kwargs) 2016-11-10 12:58:12.313 16585 TRACE nova.virt.driver File "/usr/lib/python2.7/site-packages/nova/openstack/common/importutils.py", line 27, in import_class 2016-11-10 12:58:12.313 16585 TRACE nova.virt.driver __import__(mod_str) 2016-11-10 12:58:12.313 16585 TRACE nova.virt.driver File "/usr/lib/python2.7/site-packages/nova/virt/lxd/__init__.py", line 1, in <module> 2016-11-10 12:58:12.313 16585 TRACE nova.virt.driver from nova.virt.lxd import driver 2016-11-10 12:58:12.313 16585 TRACE nova.virt.driver File "/usr/lib/python2.7/site-packages/nova/virt/lxd/driver.py", line 31, in <module> 2016-11-10 12:58:12.313 16585 TRACE nova.virt.driver import nova.conf 2016-11-10 12:58:12.313 16585 TRACE nova.virt.driver ImportError: No module named conf

So where I should look for problem? Or how I should add lxd driver to nova, when binary package is not available?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-11-11 22:36:28 -0500

diltram gravatar image

It looks like something is not installed properly? What OpenStack version you're using and pip installed which version of nova-lxd?

edit flag offensive delete link more

Comments

nova-lxd 14.0.1 from pip, openstack 2014.2.2 from repo openstack-juno-rdo

paul.k gravatar imagepaul.k ( 2016-11-14 02:14:31 -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

1 follower

Stats

Asked: 2016-11-10 04:31:53 -0500

Seen: 383 times

Last updated: Nov 11 '16