Conductor API has no attribute "xxxxxx"

asked 2013-09-10 03:58:05 -0600

Peeyush gravatar image

updated 2013-09-10 04:23:28 -0600

Hi all,

I have been trying to add a new table to the database. Now, I have created the table and I am going through conductor API to populate/update it. I have defined some function to achieve the task. There function are defined in conductor and db api, along with in conductor.manage and db.sqlalchemy.api. When I try to run the system it says

AttributeError: 'ConductorAPI' object has no attribute 'xxxxxx'

while the function is properly defined in Conductor API as well as manager and db.API. What is the reason I am still getting this error?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-09-10 05:42:09 -0600

unmesh-gurjar gravatar image

I guess you haven't defined the RPC method in the client side (i.e in nova/conductor/ Please refer some existing method code flow (say 'instance_get_by_uuid') to proceed further.

edit flag offensive delete link more


Yeah, turned out I had misspelled the name of the function in the RPC file. Thanks!

Peeyush gravatar imagePeeyush ( 2013-09-10 06:02:41 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-09-10 03:58:05 -0600

Seen: 266 times

Last updated: Sep 10 '13