Ask Your Question
0

Conductor API has no attribute "xxxxxx"

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

Peeyush gravatar image

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

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
0

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

unmesh-gurjar gravatar image

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

edit flag offensive delete link more

Comments

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 -0500 )edit

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: 2013-09-10 03:58:05 -0500

Seen: 144 times

Last updated: Sep 10 '13