Description of problem: I checked files in sbin directory and I found log file, which should be save in some other directory. The directory sbin is not good for them. I suppose that the log was created by rhn-search. rhn-search has own logfile in directory /var/log/rhn/search/ >> ls /usr/sbin/hadoop.log -hs 2,5M /usr/sbin/hadoop.log >> tail /usr/sbin/hadoop.log 2017-08-28 10:13:34,747 INFO tasks.GenericIndexTask - GenericIndexTask<class com.redhat.satellite.search.scheduler.tasks.IndexSystemsTask number of results returned = 0 2017-08-28 10:13:34,751 INFO tasks.GenericIndexTask - GenericIndexTask<class com.redhat.satellite.search.scheduler.tasks.IndexXccdfIdentTask last processed id = 2, lastRun was Mon Aug 28 06:40:18 EDT 2017 2017-08-28 10:13:34,752 INFO tasks.GenericIndexTask - GenericIndexTask<class com.redhat.satellite.search.scheduler.tasks.IndexXccdfIdentTask number of results returned = 0 2017-08-28 10:13:34,752 INFO tasks.GenericIndexTask - class com.redhat.satellite.search.scheduler.tasks.IndexXccdfIdentTaskfound [0] items to index 2017-08-28 10:13:34,752 INFO index.IndexManager - IndexManager::getIndexReader(xccdfIdent, en_US) path = /var/lib/rhn/search/indexes/xccdfIdent 2017-08-28 10:13:34,753 INFO tasks.GenericIndexTask - Deleted 0 records from index <xccdfIdent> 2017-08-28 10:13:34,753 INFO tasks.GenericIndexTask - class com.redhat.satellite.search.scheduler.tasks.IndexSystemsTaskfound [0] items to index 2017-08-28 10:13:34,753 INFO index.IndexManager - IndexManager::getIndexReader(server, en_US) path = /var/lib/rhn/search/indexes/server 2017-08-28 10:13:34,753 INFO tasks.GenericIndexTask - Deleted 0 records from index <server> 2017-08-28 10:13:34,754 INFO tasks.GenericIndexTask - Deleted 0 records from index <hwdevice> Version-Release number of selected component (if applicable): spacewalk-setup-2.7.12-1.el6.noarch spacewalk-search-2.7.6-1.el6.noarch How reproducible: always on RHEL Steps to Reproduce: 1. base installation and using Actual results: log file in /usr/sbin Expected results: not logfile in /sr/sbin directory
Also seeing this. How/where is log rolling configured for this hadoop.log file? It appears to be rolling daily on it's own, but I ended up with 20gb of logs in 6 hours. Seeing this sort of stuff: 2017-10-18 11:48:07,101 INFO index.IndexManager - snapshotTag:uniqId: <1000010820-123004> not found in list of current/good values assuming this has been deleted from Database and we should remove it. 2017-10-18 11:48:07,101 INFO index.IndexManager - Removing <snapshotTag> uniqId:1000010820-123004 2017-10-18 11:48:07,101 INFO index.IndexManager - IndexManager::getIndexReader(snapshotTag, en_US) path = /var/lib/rhn/search/indexes/snapshotTag 2017-10-18 11:48:07,103 INFO index.IndexManager - snapshotTag:uniqId: <1000010820-123004> not found in list of current/good values assuming this has been deleted from Database and we should remove it. 2017-10-18 11:48:07,103 INFO index.IndexManager - Removing <snapshotTag> uniqId:1000010820-123004 2017-10-18 11:48:07,103 INFO index.IndexManager - IndexManager::getIndexReader(snapshotTag, en_US) path = /var/lib/rhn/search/indexes/snapshotTag 2017-10-18 11:48:07,104 INFO index.IndexManager - snapshotTag:uniqId: <1000010821-123005> not found in list of current/good values assuming this has been deleted from Database and we should remove it. 2017-10-18 11:48:07,104 INFO index.IndexManager - Removing <snapshotTag> uniqId:1000010821-123005 2017-10-18 11:48:07,104 INFO index.IndexManager - IndexManager::getIndexReader(snapshotTag, en_US) path = /var/lib/rhn/search/indexes/snapshotTag 2017-10-18 11:48:07,105 INFO index.IndexManager - snapshotTag:uniqId: <1000010821-123005> not found in list of current/good values assuming this has been deleted from Database and we should remove it. 2017-10-18 11:48:07,105 INFO index.IndexManager - Removing <snapshotTag> uniqId:1000010821-123005 2017-10-18 11:48:07,105 INFO index.IndexManager - IndexManager::getIndexReader(snapshotTag, en_US) path = /var/lib/rhn/search/indexes/snapshotTag 2017-10-18 11:48:07,106 INFO index.IndexManager - snapshotTag:uniqId: <1000010821-123005> not found in list of current/good values assuming this has been deleted from Database and we should remove it. 2017-10-18 11:48:07,106 INFO index.IndexManager - Removing <snapshotTag> uniqId:1000010821-123005 2017-10-18 11:48:07,106 INFO index.IndexManager - IndexManager::getIndexReader(snapshotTag, en_US) path = /var/lib/rhn/search/indexes/snapshotTag ...is actually removing the tags, or is there corrective action that I need to do manually?
fixed in spacewalk.git(master): d4ad44b2190c97f1a461f5cb0a71652d3648843d
Moving ON_QA
Spacewalk 2.8 has been released. https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes28