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 <d...@danplanet.com>
To: Peeyush Gupta <gpeey...@ymail.com>; OpenStack Development Mailing List 
<openstack-dev@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
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to