← Back to team overview

registry team mailing list archive

[Bug 609792] [NEW] Hardcoded exchange name should be replaced with flags.control_exchange

 

Public bug reported:

There is a control_exchange flag, declared thus:

nova/flags.py:DEFINE_string('control_exchange', 'nova', 'the main
exchange to connect to')

However, there is one instance where this exchange name is hardcoded:

nova/rpc.py:
    publisher = messaging.Publisher(connection=Connection.instance(),
                                    exchange="nova",
                                    exchange_type="topic",
                                    routing_key=topic)

This should be using the flag, just like all the other occurrences in
this file.

** Affects: nova
     Importance: Undecided
     Assignee: Ewan Mellor (ewanmellor)
         Status: Fix Committed

** Changed in: nova
       Status: New => In Progress

** Changed in: nova
     Assignee: (unassigned) => Ewan Mellor (ewanmellor)

** Changed in: nova
       Status: In Progress => Fix Committed

-- 
Hardcoded exchange name should be replaced with flags.control_exchange
https://bugs.launchpad.net/bugs/609792
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.



Follow ups

References