Description of problem:
I upgraded from sat520 to sat530 and started to recieve such emails:
Subject: Cron <nocpulse@sputnik-stage> if [ -e /etc/NOCpulse.ini ] ; then /usr/bin/monitor-queue ALERTS 50 100 2>&1 > /dev/null; fi
Undefined subroutine &main::bailout called at /usr/bin/monitor-queue line 35.
When i fixed the wrong call of &bailout i get:
unable to find queue directory /opt/notification/queue/alert_queue
Whereas the new path should be /var/lib/notification/queue/alert_queue
It is correctly upgraded in db, but not in /etc/NOCpulse.ini
This will happen if you enabled monitoring (this will load values from db and store to /etc/NOCpulse.ini), disable (will stop update of this file during satellite restart), then you will upgrade and not enable monitoring. Then you will have correct values in db, but old values in config file.
To delete file /etc/NOCpulse.ini during upgrade of satellite should be enough.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install sat520
2. enable monitoring and restart satellite
3. disable monitorin and restart satellite
4. upgrade to sat530
5. wait for cron or manualy run
if [ -e /etc/NOCpulse.ini ] ; then /usr/bin/monitor-queue ALERTS 50 100 2
Satellite installer will automatically delete /etc/NOCpulse.ini during upgrade:
satellite.git SATELLITE-5.5: fcfc3079592ee90685205af472147255c6cdd64a
This issue is resolved with the release of RHN Satellite 5.5.
As of September 20th 2012, RHN Satellite 5.5 has been generally available.
Release Notes and other 5.5 documentation can be found here:
The associated Errata for the 5.5 release are:
5.5 Satellite GA Errata
5.5 Upgrade Errata
5.5 RHN Proxy GA Errata
5.5 RHN Tools GA Errata
- Engineering Manager, Satellite