Ask Your Question
0

Add support for a new driver in nova.

asked 2018-03-28 02:56:53 -0500

Georgy gravatar image

Hello. First, prehistory. A native driver was added to the libvirt library, called suppz. Further, the file /usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py was modified to remove the restriction on the use of third-party drivers, since the OpenStack platform originally assumes only the use of hypervisors KVM, QEMU, Parallels , LXC. I changed the changes in such a way that I completely replaced the LXC driver with my own in this file. Next in the file nova.conf installed virt_type = suppz. Restarted the nova service, but still OpenStack does not see my driver. What's the problem? Help. The nova-compute.log displays the following "2018-03-27 19: 37: 06.056 97566 CRITICAL nova [req-c4624063-7a82-489f-8ac8-48f474b5fab3 - - - - -] ConfigFileValueError: Value for option virt_type is not valid: Valid values ​​are [kvm, lxc, qemu, uml, xen, parallels], but found 'suppz' "

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2018-04-06 09:32:28 -0500

edmondsw gravatar image

That error is because this doesn't list suppz as an option:

https://github.com/openstack/nova/blo...

If you want to add suppz support to the libvirt driver, please do that in the nova community so that others can benefit as well. And working in the community should benefit you, too, as you're trying to get this working. You're much more likely to get answers on IRC or the mailing list than in this forum. Checkout the wiki on how to contribute [1] and join the #openstack-nova channel on freenode IRC [2].

[1] https://wiki.openstack.org/wiki/How_T...

[2] https://wiki.openstack.org/wiki/IRC

edit flag offensive delete link more

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: 2018-03-28 02:56:53 -0500

Seen: 32 times

Last updated: Apr 06 '18