metadata start with db connections

Bug #1425844 reported by yong sheng gong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
yong sheng gong

Bug Description

metadata agent should not try to connect db since it does not need db connections at all

$ neutron-metadata-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/metadata_agent.ini

2015-02-26 17:06:09.768 3045 WARNING oslo_db.sqlalchemy.session [-] SQL connection failed. 10 attempts left.
10.16.91.1:5672

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/159365

Changed in neutron:
status: New → In Progress
Changed in neutron:
assignee: yong sheng gong (gongysh) → Armando Migliaccio (armando-migliaccio)
Kyle Mestery (mestery)
Changed in neutron:
milestone: none → kilo-rc1
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/159365
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=458ff52c61ce7b6755df56fc2a940e4f04a6170b
Submitter: Jenkins
Branch: master

commit 458ff52c61ce7b6755df56fc2a940e4f04a6170b
Author: gong yong sheng <gong.yongsheng@99cloud.net>
Date: Thu Feb 26 16:09:54 2015 +0800

    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

Changed in neutron:
status: In Progress → Fix Committed
Changed in neutron:
assignee: Armando Migliaccio (armando-migliaccio) → yong sheng gong (gongysh)
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: kilo-rc1 → 2015.1.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.