Bug 1525376

Summary: /var/log/tendrl/node-agent directory is created only after host reboot
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Filip Balák <fbalak>
Component: web-admin-tendrl-ansibleAssignee: Timothy Asir <tjeyasin>
Status: CLOSED ERRATA QA Contact: Filip Balák <fbalak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: asriram, fbalak, nthomas, rghatvis, rhs-bugs, sanandpa, srmukher, tjeyasin
Target Milestone: ---   
Target Release: RHGS 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tendrl-ansible-1.6.1-2.el7rhgs.noarch.rpm, tendrl-api-1.6.1-1.el7rhgs.noarch.rpm, tendrl-commons-1.6.1-1.el7rhgs.noarch.rpm, tendrl-monitoring-integration-1.6.1-1.el7rhgs.noarch.rpm, tendrl-node-agent-1.6.1-1.el7, tendrl-ui-1.6.1-1.el7rhgs.noarch.rpm, Doc Type: Known Issue
Doc Text:
Previously, as rsyslog service was not reloaded after the installation of the node agent, the /var/log/tendrl/node-agent directory was not created. This issue failed to create low severity log messages. This issue is fixed in the current version.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 07:00:31 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:
Bug Depends On:    
Bug Blocks: 1503134    

Description Filip Balák 2017-12-13 08:37:29 UTC
Description of problem:
Directory /var/log/tendrl/node-agent is not present after WA installation. It appears on all gluster nodes and on server node only after the machines are rebooted.

Version-Release number of selected component (if applicable):
tendrl-ansible-1.5.4-7.el7rhgs.noarch
tendrl-ui-1.5.4-6.el7rhgs.noarch
tendrl-grafana-plugins-1.5.4-14.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-commons-1.5.4-9.el7rhgs.noarch
tendrl-api-1.5.4-4.el7rhgs.noarch
tendrl-api-httpd-1.5.4-4.el7rhgs.noarch
tendrl-monitoring-integration-1.5.4-14.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-node-agent-1.5.4-16.el7rhgs.noarch
tendrl-notifier-1.5.4-6.el7rhgs.noarch


How reproducible:
100%

Steps to Reproduce:
1. Install WA
2. Look for /var/log/tendrl/node-agent folder on all hosts
3. Reboot all hosts
4. Look for /var/log/tendrl/node-agent folder on all hosts

Actual results:
Before reboot there is only /var/log/tendrl/api on server node. Machines need to be restarted to create node-agent log directory.

Expected results:
/var/log/tendrl/node-agent should exist right after installation and be able to store logs. 

Additional info:

Comment 5 Nishanth Thomas 2017-12-15 12:26:52 UTC
Yes, sanity checked.

Comment 7 Filip Balák 2018-05-21 07:32:05 UTC
Looks ok. --> VERIFIED

Tested with:

tendrl-ansible-1.6.3-4.el7rhgs.noarch
tendrl-api-1.6.3-3.el7rhgs.noarch
tendrl-api-httpd-1.6.3-3.el7rhgs.noarch
tendrl-commons-1.6.3-5.el7rhgs.noarch
tendrl-grafana-plugins-1.6.3-3.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-monitoring-integration-1.6.3-3.el7rhgs.noarch
tendrl-node-agent-1.6.3-5.el7rhgs.noarch
tendrl-notifier-1.6.3-3.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-ui-1.6.3-2.el7rhgs.noarch

Comment 12 errata-xmlrpc 2018-09-04 07:00:31 UTC
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/RHSA-2018:2616

Comment 13 Red Hat Bugzilla 2023-09-14 04:14:06 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days