What's a 'topic' in nova?

Asked by Rohit Karajgi on 2011-07-19

This is a jargon question for Nova. I have seen certain flags such as network_topic, compute_topic, etc. What exactly is a topic and what values would it hold? What context are topics used in?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Vish Ishaya
Solved:
2011-07-19
Last query:
2011-07-19
Last reply:
2011-07-19
Best Vish Ishaya (vishvananda) said : #1

A topic represents an individual message queue that components can post to or read from. By default each nova-xxx worker that starts a nova/service.py:Service will listen on a topic based on their binary name and one based on binary name and host name, so nova-volume will listen for messages on
'volume' and 'volume.$HOSTNAME'
To send a message to a volume worker you send the message to one of those topics.

Vish

On Jul 19, 2011, at 6:56 AM, Rohit Karajgi wrote:

> New question #165321 on OpenStack Compute (nova):
> https://answers.launchpad.net/nova/+question/165321
>
> This is a jargon question for Nova. I have seen certain flags such as network_topic, compute_topic, etc. What exactly is a topic and what values would it hold? What context are topics used in?
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).

Rohit Karajgi (rohitk) said : #2

Alright! Thanks Vish!

Rohit Karajgi (rohitk) said : #3

Thanks Vish Ishaya, that solved my question.