[openstack-dev] Conductor API has no attribute "xxxxxx"

Peeyush Gupta gpeeyush at ymail.com
Tue Sep 10 15:55:05 UTC 2013


Hi Dan,

Yeah, I figured that out. I was already using objects, but
I didn't add the interface to the conductor.rpcapi. It's working
fine now.

Thanks.
 
~Peeyush Gupta


________________________________
 From: Dan Smith <dms at danplanet.com>
To: Peeyush Gupta <gpeeyush at ymail.com>; OpenStack Development Mailing List <openstack-dev at lists.openstack.org> 
Sent: Tuesday, 10 September 2013 5:29 PM
Subject: Re: [openstack-dev] Conductor API has no attribute "xxxxxx"
 

> I have been trying to add a new table to the database.

Just FYI, new database interfaces should be added using objects, which
are automatically remotable. New conductor interfaces should not be
added to make database queries.

> #In class LocalAPI
> def xxxxxx(self, context, node_id, values):
>         return self._manager.xxxxxx(context, node_id, values)
> 

Is this on top of master?

Adding to api -> rpcapi -> manager should do the trick. It would be
helpful to know what you're trying to build this on top of, as well as
a little more detail about what you've added.

--Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130910/ef60bc43/attachment.html>


More information about the OpenStack-dev mailing list