Bug 730305

Summary: no file /etc/notification/generated/customers.ini No such file or directory at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/Notif/NotificationIni.pm line 86.
Product: [Community] Spacewalk Reporter: Jan Hutař <jhutar>
Component: ServerAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 1.6CC: jpazdziora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: NPalert-1.126.29-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 642139 Environment:
Last Closed: 2012-03-07 09:53:59 UTC Type: ---
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: 462714, 765736    

Description Jan Hutař 2011-08-12 12:36:11 UTC
Description of problem:
I see this error message in /var/log/nocpulse/NotifLauncher-error.log log-file:

2011-08-11 02:19:28  no file /etc/notification/generated/customers.ini No such file or directory at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/Notif/NotificationIni.pm line 86.


Version-Release number of selected component (if applicable):
SW nightly 2011-08-11


How reproducible:
1 of 1


Steps to Reproduce:
1. Enable Monitoring & Monitoring Scout


Actual results:
Error message in the log


Expected results:
There should not be any error

Comment 2 Jan Pazdziora (Red Hat) 2011-12-09 12:19:15 UTC
I don't see error about customers.ini in the error log with Spacewalk 1.6 / nightly as of today.

Can you check if you still get the problem on the latest Spacewalk?

Comment 3 Jan Hutař 2012-01-18 09:59:43 UTC
I still see the bug there (after I have enabled Monitoring and MonitoringScout). Tested on SWnightly/OracleXE installed 2012-01-17. But when I have disables Enforcing SELinux with `setenforce 0`, I do not see that error.

This was probably incorrect reproducer as Monitoring is not supposed to run with SELinux Enforcing as of now. Please close the bug.

Comment 4 Jan Pazdziora (Red Hat) 2012-01-27 15:50:37 UTC
Fixed in Spacewalk master, b55cb176e84c519a9dcd2f68f7e75521205f98d7.

It turned out to be a race condition between /usr/bin/generate-config and /usr/bin/notif-launcher.

The message will now be

  Customers not yet generated by generate-config, sleeping for a while.

generated by notif-launcher every five seconds upon startup.

Comment 5 Jan Pazdziora (Red Hat) 2012-01-27 15:52:52 UTC
Also, the message is now in

  /var/log/nocpulse/notif-launcher.log

not in

  /var/log/nocpulse/NotifLauncher-error.log

as it is now understood and handled situation.

Comment 6 Jan Pazdziora (Red Hat) 2012-03-07 09:53:59 UTC
Spacewalk 1.7 has been released:

https://fedorahosted.org/spacewalk/wiki/ReleaseNotes17