kube-manager container's log files not seen in /var/log/contrail on the host

Bug #1694407 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
High
Yuvaraja Mariappan
Trunk
Fix Committed
High
Yuvaraja Mariappan

Bug Description

R4.0 Build 15 Ubuntu 16.04.2 Container setup

All the contrail containers are expected to have their log folders mounted so that they are accessible from the host
But we see that contrail-kube-manager's log folders are not mounted

root@testbed-1-vm1:~# ls /var/log/contrail/ -l
total 12
drwxr-xr-x 2 uuidd messagebus 4096 May 30 15:12 analytics
drwxr-xr-x 2 dnsmasq uuidd 4096 May 30 13:09 analyticsdb
drwxr-xr-x 2 111 lpadmin 4096 May 30 15:07 controller
root@testbed-1-vm1:~#

root@testbed-1-vm1:~# docker ps | grep contrail
4d2b5466126c 10.204.217.152:5000/contrail-kube-manager-ubuntu16.04:4.0.0.0-15 "/lib/systemd/systemd" 2 hours ago Up 2 hours contrail-kube-manager
23f852858417 10.204.217.152:5000/contrail-analytics-ubuntu16.04:4.0.0.0-15 "/lib/systemd/systemd" 2 hours ago Up 2 hours analytics
1731066994f0 10.204.217.152:5000/contrail-analyticsdb-ubuntu16.04:4.0.0.0-15 "/lib/systemd/systemd" 2 hours ago Up 2 hours analyticsdb
379e2b96165d 10.204.217.152:5000/contrail-controller-ubuntu16.04:4.0.0.0-15 "/lib/systemd/systemd" 2 hours ago Up 2 hours controller
3662f09f630a 10.204.217.152:5000/contrail-repo-ubuntu16.04:4.0.0.0-15 "/bin/sh -c /entrypoi" 2 hours ago Up 2 hours contrail-repo-ubuntu16.04
root@testbed-1-vm1:~#

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/32724
Submitter: Yuvaraja Mariappan

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/32725
Submitter: Yuvaraja Mariappan

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/32725
Committed: http://github.com/Juniper/contrail-ansible/commit/4706a72f07991d0650efe16343522a80e45927ef
Submitter: Zuul (<email address hidden>)
Branch: master

commit 4706a72f07991d0650efe16343522a80e45927ef
Author: Yuvaraja Mariappan <email address hidden>
Date: Fri Jun 9 14:27:49 2017 -0700

Added support to view log files of kube manager in host

Mounted host dir /var/log/contrail/kubemanager as /var/log/contrail
in kube-manager.

Change-Id: I1d0c227a396366ca0601ef10c2c2672ba4a4e448
Closes-bug: #1694407

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/32724
Committed: http://github.com/Juniper/contrail-ansible/commit/f93291f36a345da14eaf0bd09d8b95b82ed51626
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit f93291f36a345da14eaf0bd09d8b95b82ed51626
Author: Yuvaraja Mariappan <email address hidden>
Date: Fri Jun 9 14:27:49 2017 -0700

Added support to view log files of kube manager in host

Mounted host dir /var/log/contrail/kubemanager as /var/log/contrail
in kube-manager.

Change-Id: I1d0c227a396366ca0601ef10c2c2672ba4a4e448
Closes-bug: #1694407

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.