Remove new= argument from create_connection
It has been marked deprecated [1] and recently removed. [2] [1] I57b0229c2b6028796cd10bbbfc9b166cf8a6dab0 [2] I550c65861a8664068e340b7b4689b2345951e888 Closes-Bug: #1570202 Closes-Bug: #1570840 This commit also includes the following change, to workaround gate job failure: ------- devstackgaterc: Exclude tempest plugins This is a temporary workaround for neutron tempest plugin issues. Note: this also disables our own tempest plugin. Related-Bug: #1571486 Change-Id: I072c145858793389f162304b1aad90ebc7e9c79b ------- Change-Id: Ia384be8d13431dbd6327a6bb689622d8d3731538
This commit is contained in:
parent
a7d933dec0
commit
4a34084b77
|
@ -39,3 +39,5 @@ r="$r)"
|
|||
r="$r(tempest\.(api.network\.|scenario.test_network)|neutron_taas\.).*$"
|
||||
|
||||
export DEVSTACK_GATE_TEMPEST_REGEX="$r"
|
||||
# bug 1571486
|
||||
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=0
|
||||
|
|
|
@ -58,7 +58,7 @@ def main():
|
|||
# Set up RPC
|
||||
mgr = taas_ovs_agent.TaasOvsAgentRpcCallback(cfg.CONF)
|
||||
endpoints = [mgr]
|
||||
conn = n_rpc.create_connection(new=True)
|
||||
conn = n_rpc.create_connection()
|
||||
conn.create_consumer(topics.TAAS_AGENT, endpoints, fanout=False)
|
||||
conn.consume_in_threads()
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@ class TaasPlugin(taas_db.Tass_db_Mixin):
|
|||
LOG.debug("TAAS PLUGIN INITIALIZED")
|
||||
self.endpoints = [TaasCallbacks(self)]
|
||||
|
||||
self.conn = n_rpc.create_connection(new=True)
|
||||
self.conn = n_rpc.create_connection()
|
||||
self.conn.create_consumer(
|
||||
topics.TAAS_PLUGIN, self.endpoints, fanout=False)
|
||||
self.conn.consume_in_threads()
|
||||
|
|
Loading…
Reference in New Issue