Is there any document to add additional functionality to nova service

asked 2015-12-11 06:59:13 -0600

chandra gravatar image

updated 2015-12-17 05:42:56 -0600

Need to add additional functionality to nova service and would like to know if there is any supporting sight or document.

I have this question because when i try doing below steps i got the below errors and am clueless on how to set the TRANSPORT variable

from nova.api.openstack.compute.servers import Controller c= Controller() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/", line 119, in __init__ self.compute_api = compute.API() File "/usr/lib/python2.7/dist-packages/nova/compute/", line 39, in API return importutils.import_object(class_name, args, *kwargs) File "/usr/lib/python2.7/dist-packages/oslo_utils/", line 38, in import_object return import_class(import_str)(args, *kwargs) File "/usr/lib/python2.7/dist-packages/nova/compute/", line 277, in __init__ skip_policy_check=skip_policy_check) File "/usr/lib/python2.7/dist-packages/nova/network/", line 35, in API return cls(skip_policy_check=skip_policy_check) File "/usr/lib/python2.7/dist-packages/nova/network/", line 70, in __init__ self.network_rpcapi = network_rpcapi.NetworkAPI() File "/usr/lib/python2.7/dist-packages/nova/network/", line 123, in __init__ self.client = rpc.get_client(target, version_cap, serializer) File "/usr/lib/python2.7/dist-packages/nova/", line 130, in get_client assert TRANSPORT is not None AssertionError

Thanks in advance, Chandralekha

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-12-12 21:49:40 -0600

Bipin gravatar image


Can you please mention couple of your use cases ? Then somebody can help you.


edit flag offensive delete link more


Not sure if i can mention the scenario completly here, but in general, i do some operation in libvirt level for the instance i spun and now i want to write a nova api adding to nova-api service and so the methods need to be registered with rpc server and am clueless from where to start doing this

chandra gravatar imagechandra ( 2015-12-16 05:52:29 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-12-11 06:59:13 -0600

Seen: 117 times

Last updated: Dec 17 '15