]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Start metadata agent without trying to connect db
authorgong yong sheng <gong.yongsheng@99cloud.net>
Thu, 26 Feb 2015 08:09:54 +0000 (16:09 +0800)
committerArmando Migliaccio <armamig@gmail.com>
Thu, 12 Mar 2015 23:01:54 +0000 (23:01 +0000)
commit458ff52c61ce7b6755df56fc2a940e4f04a6170b
tree29228fe0c2d878c4ee9b464bb052c91ec89f1b9c
parentffb4e40153e2a493cf556dc036a476f4ff673971
Start metadata agent without trying to connect db

We set conf.database.connection into empty in agent,
and tell wsgi does not to connect db in this case.

Change-Id: Icb83157ef6f1157068f3d4238b946fdbb890083f
Closes-bug: #1425844
neutron/agent/metadata_agent.py
neutron/tests/unit/test_metadata_agent.py
neutron/tests/unit/test_wsgi.py
neutron/wsgi.py