trove taskmanager_queue can not be changed

Bug #1462734 reported by jazeltq
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Medium
jazeltq

Bug Description

In the trove.taskmanager.api:API
we defined the target like this
        target = messaging.Target(topic=CONF.taskmanager_queue,
                                  version=rpc_version.RPC_API_VERSION)
But in the setupt of taskmanager, we defined like this:

 @with_initialize(extra_opts=extra_opts)
 def main(conf):
     startup(conf, None)

Then the topic can not be sent in. So we can not change the option CONF.taskmanager_queue.
If we change it in configuration file, the taskmanager can not get any message because it still declare on the default consumer queue.

jazeltq (jazeltq-k)
Changed in trove:
assignee: nobody → jazeltq (jazeltq-k)
Revision history for this message
jazeltq (jazeltq-k) wrote :
Changed in trove:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/189093
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=9ce659ca3dc1927e4504924a9567274e5d53783f
Submitter: Jenkins
Branch: master

commit 9ce659ca3dc1927e4504924a9567274e5d53783f
Author: tianqing <jazeltq@163.com>
Date: Sun Jun 7 10:06:10 2015 +0000

    Sent in the topic when taskmanager setup

    The old setup won't sent the topic in, then we can not
    change the taskmanager_queue as we want. So add it.

    Change-Id: Ib457e49c5e58df711a8b963689db4c053ed9d201
    Closes-bug: #1462734

Changed in trove:
status: In Progress → Fix Committed
Changed in trove:
milestone: none → liberty-1
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: liberty-1 → 4.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.