Merge "Rename networking-ovn-metadata-agent to neutron-ovn-metadata-agent"

This commit is contained in:
Zuul 2020-09-03 22:32:10 +00:00 committed by Gerrit Code Review
commit 71d271a48a
4 changed files with 4 additions and 4 deletions

View File

@ -198,7 +198,7 @@ class UnixDomainMetadataProxy(object):
def run(self):
self.server = agent_utils.UnixDomainWSGIServer(
'networking-ovn-metadata-agent')
'neutron-ovn-metadata-agent')
self.server.start(MetadataProxyHandler(self.conf),
self.conf.metadata_proxy_socket,
workers=self.conf.metadata_workers,

View File

@ -121,7 +121,7 @@ class ControllerGatewayAgent(ControllerAgent):
class MetadataAgent(NeutronAgent):
agent_type = ovn_const.OVN_METADATA_AGENT
binary = 'networking-ovn-metadata-agent'
binary = 'neutron-ovn-metadata-agent'
key = ovn_const.METADATA_LIVENESS_CHECK_EXT_ID_KEY
@property

View File

@ -1091,7 +1091,7 @@ class OVNMechanismDriver(api.MechanismDriver):
# the agent is not running or it crashed. We'll complete the
# provisioning block though.
LOG.warning("Metadata service is not ready for port %s, check"
" networking-ovn-metadata-agent status/logs.",
" neutron-ovn-metadata-agent status/logs.",
port_id)
def agent_alive(self, agent, update_db):

View File

@ -262,7 +262,7 @@ class TestUnixDomainMetadataProxy(base.BaseTestCase):
ensure_dir.assert_called_once_with('/the', mode=0o755)
server.assert_has_calls([
mock.call('networking-ovn-metadata-agent'),
mock.call('neutron-ovn-metadata-agent'),
mock.call().start(handler.return_value,
'/the/path', workers=0,
backlog=128, mode=0o644)]