Description of problem: [heat-admin@controller-0 ~]$ sudo ls /var/log/containers/ aodh ceilometer cinder glance gnocchi heat horizon httpd keystone memcached neutron nova panko swift [heat-admin@controller-0 ~]$ sudo ls /var/log/containers/neutron [heat-admin@controller-0 ~]$ [heat-admin@controller-0 ~]$ sudo docker exec -it neutron_api /bin/bash tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified ()[neutron@controller-0 /]$ ls /var/log/neutron/ tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified ()[neutron@controller-0 /]$ the same for 2447e6d76914 192.168.24.1:8787/rhosp13/openstack-neutron-openvswitch-agent:2018-01-26.3 "kolla_start" 2 days ago Up 2 days (healthy) neutron_ovs_agent 25e728ce5cab 192.168.24.1:8787/rhosp13/openstack-neutron-l3-agent:2018-01-26.3 "kolla_start" 2 days ago Up 2 days (healthy) neutron_l3_agent ff124f055e78 192.168.24.1:8787/rhosp13/openstack-neutron-metadata-agent:2018-01-26.3 "kolla_start" 2 days ago Up 2 days (healthy) neutron_metadata_agent a9a4458d7bd0 192.168.24.1:8787/rhosp13/openstack-neutron-dhcp-agent:2018-01-26.3 "kolla_start" 2 days ago Up 2 days (healthy) neutron_dhcp eddc949d7290 192.168.24.1:8787/rhosp13/openstack-neutron-server:2018-01-26.3 "kolla_start" 2 days ago Up 2 days neutron_api Version-Release number of selected component (if applicable): docker images:2018-01-26.3 How reproducible: always Steps to Reproduce: 1. Deploy OSP13 2. Check /var/log/containers on OC node Actual results: /var/log/containers/neutron is empty Expected results: /var/log/containers/neutron isn't empty Additional info:
*** Bug 1540499 has been marked as a duplicate of this bug. ***
Brent added on a Networking DFG call that this is likely a recent regression. Assigned to Or to investigate.
This same thing happened to me today with ovn metadata agent. I found out that we're searching for log_dir apparently and the option configured by TripleO is log-dir: [root@overcloud-novacompute-0 neutron]# pwd /var/lib/config-data/puppet-generated/neutron/etc/neutron [root@overcloud-novacompute-0 neutron]# grep log-dir neutron.conf log-dir=/var/log/neutron After I changed it to log_dir, I could verify that it started to log to /var/log/neutron (/var/log/containers/neutron) outside the container. The reason why this fails is because of this patch [0] which makes oslo-puppet to write the "xxx-xxx" variables but then argparser will convert it to "xxx_xxx". My understanding is that [0] should be reverted. [0] https://review.openstack.org/#/c/444345/6/manifests/log.pp@157
This is the revert: https://review.openstack.org/#/c/534629/
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:2086