Bug 1795559

Summary: Tripleo is deploying a keepalived container in the undercloud: no logs and sometimes it used 100%cpu
Product: Red Hat OpenStack Reporter: Candido Campos <ccamposr>
Component: openstack-tripleo-heat-templatesAssignee: RHOS Maint <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: Sasha Smolyak <ssmolyak>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.0 (Train)CC: aschultz, bperkins, dpeacock, mburns, michele
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-29 22:22:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Candido Campos 2020-01-28 10:28:37 UTC
Description of problem:



https://blueprints.launchpad.net/tripleo/+spec/replace-keepalived-undercloud

Log file is not created:


[root@undercloud-0 stack]# ls -lart /var/log/containers/keepalived/
total 4
drwxr-xr-x.  2 root root    6 Jan 15 22:54 .
drwxr-x---. 20 root root 4096 Jan 15 22:59 ..
[root@undercloud-0 stack]# 


and some times:

top - 09:06:21 up 23:02,  2 users,  load average: 3.04, 2.50, 2.34
Tasks: 397 total,   4 running, 393 sleeping,   0 stopped,   0 zombie
%Cpu(s): 49.8 us,  6.0 sy,  0.0 ni, 42.9 id,  0.0 wa,  1.0 hi,  0.4 si,  0.0 st
MiB Mem :  15876.5 total,   1628.2 free,   6954.0 used,   7294.3 buff/cache
MiB Swap:      0.0 total,      0.0 free,      0.0 used.   8507.4 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                                
  34854 root      20   0  109720   6224   5188 R  96.7   0.0 942:43.68 keepalived

Comment 1 Candido Campos 2020-01-28 10:29:14 UTC
WA for cpu issue:

 restart the container.

Comment 2 Michele Baldessari 2020-01-28 16:00:25 UTC
The log no logging bits will be addressed via https://bugzilla.redhat.com/show_bug.cgi?id=1739155 not sure if you want to close this as dupe of that or if you want to keep it open to track the 100% cpu usage

Comment 4 Alex Schultz 2020-01-29 22:22:49 UTC

*** This bug has been marked as a duplicate of bug 1739155 ***