Comment 0 for bug 1183614

Revision history for this message
Maru Newby (maru) wrote :

The L3 agent is responsible for spawning the metadata proxy (quantum-ns-metadata-proxy), and at present only supports configuration of file-based logging for the proxy (see [1] and [2]). Even file-based logging will not be configured if log_dir is not set in the L3 agent config. This is the default in devstack, and the result is that the metadata proxy doesn't log anywhere, making any errors with the proxy opaque to a developer.

Either a sane default should be provided to ensure that some kind of logging is always configured for the proxy, or the L3 agent (and the DHCP agent going forward) should error out when it tries to spawn the proxy.

[1] https://github.com/openstack/quantum/blob/master/quantum/agent/l3_agent.py#L263
[2] https://github.com/openstack/quantum/blob/master/quantum/agent/common/config.py#L40