How to fill context for rpc call when calling heat engine
I have created heat extension which listens nova notifications "notifications.
The problem is how to fill the context parameter correctly when calling heat engine? E.g. when I call
set_watch_
I can get stack related context from heat db with
rs = db_api.
if not rs:
with instanceId and then use stack_context successfully in any further db reads etc. But when using the same context in rpc call it fails to utf8 encoding as "password" and "service_password" are in some odd format when read from db.
Everything works if I in the code assign
stack_context.
stack_context.
So how I get the password correctly?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Samuli Silvius
- Solved:
- Last query:
- Last reply: