2 commits - monitoring/PerlModules rel-eng/packages
by Jan Pazdziora
monitoring/PerlModules/NP/OracleDB/perl-NOCpulse-OracleDB.spec | 5 ++++-
monitoring/PerlModules/NP/Probe/perl-NOCpulse-Probe.spec | 5 ++++-
rel-eng/packages/perl-NOCpulse-OracleDB | 2 +-
rel-eng/packages/perl-NOCpulse-Probe | 2 +-
4 files changed, 10 insertions(+), 4 deletions(-)
New commits:
commit 504a24280de0ce1f6544d1819d75b223b64bfac5
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Thu Aug 11 10:26:19 2011 +0200
Automatic commit of package [perl-NOCpulse-Probe] release [1.184.10-1].
diff --git a/monitoring/PerlModules/NP/Probe/perl-NOCpulse-Probe.spec b/monitoring/PerlModules/NP/Probe/perl-NOCpulse-Probe.spec
index ddd1966..0fe4a42 100644
--- a/monitoring/PerlModules/NP/Probe/perl-NOCpulse-Probe.spec
+++ b/monitoring/PerlModules/NP/Probe/perl-NOCpulse-Probe.spec
@@ -2,7 +2,7 @@ Name: perl-NOCpulse-Probe
Summary: Monitoring probes for Spacewalk
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
-Version: 1.184.9
+Version: 1.184.10
Release: 1%{?dist}
BuildArch: noarch
Group: Development/Libraries
@@ -146,6 +146,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/NOCpulse::Probe::Shell::SQLPlus*
%changelog
+* Thu Aug 11 2011 Jan Pazdziora 1.184.10-1
+- The column names are always uppercase, due to the FetchHashKeyName setting.
+
* Tue Jul 19 2011 Jan Pazdziora 1.184.9-1
- Updating the copyright years.
diff --git a/rel-eng/packages/perl-NOCpulse-Probe b/rel-eng/packages/perl-NOCpulse-Probe
index 51e63db..66cb295 100644
--- a/rel-eng/packages/perl-NOCpulse-Probe
+++ b/rel-eng/packages/perl-NOCpulse-Probe
@@ -1 +1 @@
-1.184.9-1 monitoring/PerlModules/NP/Probe/
+1.184.10-1 monitoring/PerlModules/NP/Probe/
commit 4306d11e64d55fe85ad817b73ed6b360bea50fe2
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Thu Aug 11 10:25:50 2011 +0200
Automatic commit of package [perl-NOCpulse-OracleDB] release [1.28.21-1].
diff --git a/monitoring/PerlModules/NP/OracleDB/perl-NOCpulse-OracleDB.spec b/monitoring/PerlModules/NP/OracleDB/perl-NOCpulse-OracleDB.spec
index 3584b01..cfc97d7 100644
--- a/monitoring/PerlModules/NP/OracleDB/perl-NOCpulse-OracleDB.spec
+++ b/monitoring/PerlModules/NP/OracleDB/perl-NOCpulse-OracleDB.spec
@@ -1,5 +1,5 @@
Name: perl-NOCpulse-OracleDB
-Version: 1.28.20
+Version: 1.28.21
Release: 1%{?dist}
Summary: Perl modules for NOCpulse Oracle database access
URL: https://fedorahosted.org/spacewalk
@@ -48,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
%{perl_vendorlib}/NOCpulse/*
%changelog
+* Thu Aug 11 2011 Jan Pazdziora 1.28.21-1
+- The column names are always uppercase, due to the FetchHashKeyName setting.
+
* Tue Mar 22 2011 Michael Mraka <michael.mraka(a)redhat.com> 1.28.20-1
- fixed segmentation fault in use NOCpulse::DBRecord
diff --git a/rel-eng/packages/perl-NOCpulse-OracleDB b/rel-eng/packages/perl-NOCpulse-OracleDB
index c223850..73a5c33 100644
--- a/rel-eng/packages/perl-NOCpulse-OracleDB
+++ b/rel-eng/packages/perl-NOCpulse-OracleDB
@@ -1 +1 @@
-1.28.20-1 monitoring/PerlModules/NP/OracleDB/
+1.28.21-1 monitoring/PerlModules/NP/OracleDB/
12 years, 10 months
Changes to 'refs/tags/SatConfig-cluster-1.54.10-1'
by Jan Pazdziora
Tag 'SatConfig-cluster-1.54.10-1' created by Jan Pazdziora <jpazdziora(a)redhat.com> at 2011-08-11 08:25 +0000
Tagging package [SatConfig-cluster] version [1.54.10-1] in directory [monitoring/SatConfig/cluster/].
Changes since rhn-client-tools-1.6.10-1:
Jan Pazdziora (5):
Report the error to STDERR, not STDOUT.
The column names are always uppercase, due to the FetchHashKeyName setting.
The column names are always uppercase, due to the FetchHashKeyName setting.
Localization of STDOUT and STDERR was overoptimistic.
Automatic commit of package [SatConfig-cluster] release [1.54.10-1].
---
monitoring/PerlModules/NP/OracleDB/NPRecords.pm | 4 ++--
monitoring/PerlModules/NP/Probe/Config/ProbeRecord.pm | 4 ++--
monitoring/PerlModules/NP/ProcessPool/Process.pm | 2 --
monitoring/SatConfig/cluster/ConfigObject.pm | 2 +-
monitoring/SatConfig/cluster/SatConfig-cluster.spec | 5 ++++-
rel-eng/packages/SatConfig-cluster | 2 +-
6 files changed, 10 insertions(+), 9 deletions(-)
---
12 years, 10 months
monitoring/SatConfig rel-eng/packages
by Jan Pazdziora
monitoring/SatConfig/cluster/SatConfig-cluster.spec | 5 ++++-
rel-eng/packages/SatConfig-cluster | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 37af9aeb9e314ba40ff3fdc575e5d582727879de
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Thu Aug 11 10:25:19 2011 +0200
Automatic commit of package [SatConfig-cluster] release [1.54.10-1].
diff --git a/monitoring/SatConfig/cluster/SatConfig-cluster.spec b/monitoring/SatConfig/cluster/SatConfig-cluster.spec
index d062f05..1db0031 100644
--- a/monitoring/SatConfig/cluster/SatConfig-cluster.spec
+++ b/monitoring/SatConfig/cluster/SatConfig-cluster.spec
@@ -1,6 +1,6 @@
%define sysv_dir %{_sysconfdir}/rc.d/np.d
Name: SatConfig-cluster
-Version: 1.54.9
+Version: 1.54.10
Release: 1%{?dist}
Summary: Satellite Configuration System - cluster information
URL: https://fedorahosted.org/spacewalk
@@ -57,6 +57,9 @@ install -m 644 SatCluster.pm $RPM_BUILD_ROOT%{perl_vendorlib}/NOCpulse/
rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Aug 11 2011 Jan Pazdziora 1.54.10-1
+- Report the error to STDERR, not STDOUT.
+
* Fri Feb 18 2011 Jan Pazdziora 1.54.9-1
- Localize the filehandle globs; also use three-parameter opens.
diff --git a/rel-eng/packages/SatConfig-cluster b/rel-eng/packages/SatConfig-cluster
index c8c28a2..dac2629 100644
--- a/rel-eng/packages/SatConfig-cluster
+++ b/rel-eng/packages/SatConfig-cluster
@@ -1 +1 @@
-1.54.9-1 monitoring/SatConfig/cluster/
+1.54.10-1 monitoring/SatConfig/cluster/
12 years, 10 months
4 commits - monitoring/PerlModules monitoring/SatConfig
by Jan Pazdziora
monitoring/PerlModules/NP/OracleDB/NPRecords.pm | 4 ++--
monitoring/PerlModules/NP/Probe/Config/ProbeRecord.pm | 4 ++--
monitoring/PerlModules/NP/ProcessPool/Process.pm | 2 --
monitoring/SatConfig/cluster/ConfigObject.pm | 2 +-
4 files changed, 5 insertions(+), 7 deletions(-)
New commits:
commit 32073ab4de72201e79ba587ee268ca0888247587
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Thu Aug 11 10:01:55 2011 +0200
Localization of STDOUT and STDERR was overoptimistic.
Fixing a54bc8d1ef83a951e8e945f11ca2d203b52311bf.
This caused us to be hit by
https://rt.perl.org/rt3/Public/Bug/Display.html?id=66224
diff --git a/monitoring/PerlModules/NP/ProcessPool/Process.pm b/monitoring/PerlModules/NP/ProcessPool/Process.pm
index ba18a9d..bd5a0df 100644
--- a/monitoring/PerlModules/NP/ProcessPool/Process.pm
+++ b/monitoring/PerlModules/NP/ProcessPool/Process.pm
@@ -108,11 +108,9 @@ sub spawn {
my $f;
$f = sprintf($stdout, $$);
- local * STDOUT;
open(STDOUT, '>', $f) or die "Couldn't create $f: $!";
$f = sprintf($stderr, $$);
- local * STDERR;
open(STDERR, '>>', $f) or die "Couldn't create $f: $!";
commit 3e5e0e8bed10f4457cc58ef1624646196809fc47
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Aug 10 13:20:13 2011 +0200
The column names are always uppercase, due to the FetchHashKeyName setting.
Addressing
$ rhn-runprobe --probe=1 --log=all=4
Can't locate object method "hostaddress" via package "NOCpulse::Probe::Config::ProbeRecord" at blib/lib/Class/MethodMaker/Engine.pm (autosplit into blib/lib/auto/Class/MethodMaker/Engine/new.al) line 941.
and/or
Can't locate object method "hostname" via package "NOCpulse::Probe::Config::ProbeRecord" at blib/lib/Class/MethodMaker/Engine.pm (autosplit into blib/lib/auto/Class/MethodMaker/Engine/new.al) line 941.
diff --git a/monitoring/PerlModules/NP/Probe/Config/ProbeRecord.pm b/monitoring/PerlModules/NP/Probe/Config/ProbeRecord.pm
index 35a322e..bf6c09a 100644
--- a/monitoring/PerlModules/NP/Probe/Config/ProbeRecord.pm
+++ b/monitoring/PerlModules/NP/Probe/Config/ProbeRecord.pm
@@ -53,8 +53,8 @@ my %FIELD_MAP =
ADDRESS => undef,
contactGroupCustomers => 'contact_group_customers',
contactGroupNames => 'contact_group_names',
- hostAddress => 'host_ip',
- hostName => 'host_name',
+ HOSTADDRESS => 'host_ip',
+ HOSTNAME => 'host_name',
hostRecid => 'host_id',
parsedCommandLine => 'parameters',
);
commit 7b2cd4d3e601e176066d537c5608452622296490
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Aug 10 13:20:13 2011 +0200
The column names are always uppercase, due to the FetchHashKeyName setting.
Addressing
Wed Aug 10 06:21:47 2011: ERROR: Spacewalk 1: Cannot generate configuration: Cannot load satellite information
Message ProbeRecord::get_hostAddress() not understood
TRACEBACK:
at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/Object.pm line 443
NOCpulse::Object::doesNotUnderstand('ProbeRecord=HASH(0x9c95f78)', 'ProbeRecord', 'get_hostAddress') called at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/Object.pm line 463
NOCpulse::Object::AUTOLOAD('ProbeRecord=HASH(0x9c95f78)') called at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/NPRecords.pm line 337
ProbeRecord::__ANON__('ProbeRecord=HASH(0x9c95f78)') called at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/DBRecord.pm line 211
NOCpulse::DBRecord::Map('ProbeRecord', 'CODE(0x9c79a64)') called at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/NPRecords.pm line 342
ProbeRecord::LoadForSatellite('ProbeRecord', 1) called at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/SatConfig/GenerateConfig.pm line 60
eval {...} called at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/SatConfig/GenerateConfig.pm line 59
eval {...} called at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/SatConfig/GenerateConfig.pm line 19
NOCpulse::SatConfig::GenerateConfig::handler('Apache2::RequestRec=SCALAR(0x9b6d430)') called at -e line 0
eval {...} called at -e line 0
diff --git a/monitoring/PerlModules/NP/OracleDB/NPRecords.pm b/monitoring/PerlModules/NP/OracleDB/NPRecords.pm
index 7fa22bd..ab0058c 100644
--- a/monitoring/PerlModules/NP/OracleDB/NPRecords.pm
+++ b/monitoring/PerlModules/NP/OracleDB/NPRecords.pm
@@ -109,7 +109,7 @@ sub LoadForSatellite
my $probe_col_str = join(",\n" . ' ' x 17, @probe_cols);
my $host_col_str = q{
- host.ip as "hostAddress",
+ host.ip as hostaddress,
host.name as "hostName",
host.os_id};
@@ -335,7 +335,7 @@ sub LoadForSatellite
$class->Map(sub {
my $self = shift();
$self->addInstVar('parsedCommandLine',
- $self->commandLine($self->get_hostAddress,
+ $self->commandLine($self->get_HOSTADDRESS,
$self->get_CUSTOMER_ID,
$self->get_NETSAINT_ID));
}
commit eae151e4777ed27c668efcc6eaa389e0505d7173
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Aug 10 12:10:18 2011 +0200
Report the error to STDERR, not STDOUT.
diff --git a/monitoring/SatConfig/cluster/ConfigObject.pm b/monitoring/SatConfig/cluster/ConfigObject.pm
index 3bc6d99..67ea0cd 100644
--- a/monitoring/SatConfig/cluster/ConfigObject.pm
+++ b/monitoring/SatConfig/cluster/ConfigObject.pm
@@ -145,7 +145,7 @@ sub readFromFile
$filename = $self->configValue('configFile');
}
if (! -f $filename ) {
- print "!!! ******* ERROR ******* !!!: NO CONFIG FILE FOR ".ref($self)." ($filename)!!!!\n";
+ print STDERR "!!! ******* ERROR ******* !!!: NO CONFIG FILE FOR ".ref($self)." ($filename)!!!!\n";
} else {
local * FILE;
open(FILE, '<', $filename);
12 years, 10 months
Changes to 'refs/tags/rhn-client-tools-1.6.10-1'
by Martin Minar
Tag 'rhn-client-tools-1.6.10-1' created by Martin Minar <mminar(a)redhat.com> at 2011-08-11 06:50 +0000
Tagging package [rhn-client-tools] version [1.6.10-1] in directory [client/rhel/rhn-client-tools/].
Changes since spacewalk-web-1.6.11-1:
Martin Minar (1):
Automatic commit of package [rhn-client-tools] release [1.6.10-1].
---
client/rhel/rhn-client-tools/rhn-client-tools.spec | 6 +++++-
rel-eng/packages/rhn-client-tools | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
---
12 years, 10 months
client/rhel rel-eng/packages
by Martin Minar
client/rhel/rhn-client-tools/rhn-client-tools.spec | 6 +++++-
rel-eng/packages/rhn-client-tools | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
New commits:
commit 70e78bf7fabf8ff2bb993953515e64121663dd26
Author: Martin Minar <mminar(a)redhat.com>
Date: Thu Aug 11 08:50:53 2011 +0200
Automatic commit of package [rhn-client-tools] release [1.6.10-1].
diff --git a/client/rhel/rhn-client-tools/rhn-client-tools.spec b/client/rhel/rhn-client-tools/rhn-client-tools.spec
index a1b9022..4e82613 100644
--- a/client/rhel/rhn-client-tools/rhn-client-tools.spec
+++ b/client/rhel/rhn-client-tools/rhn-client-tools.spec
@@ -4,7 +4,7 @@ Group: System Environment/Base
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
URL: https://fedorahosted.org/spacewalk
Name: rhn-client-tools
-Version: 1.6.9
+Version: 1.6.10
Release: 1%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -339,6 +339,10 @@ make -f Makefile.rhn-client-tools test
%endif
%changelog
+* Thu Aug 11 2011 Martin Minar <mminar(a)redhat.com> 1.6.10-1
+- 702084 - always print trailing newline for error messages
+ (mzazrivec(a)redhat.com)
+
* Wed Aug 10 2011 Martin Minar <mminar(a)redhat.com> 1.6.9-1
- 684913 - fix SSLCertificateVerifyFailedError exception message
(mzazrivec(a)redhat.com)
diff --git a/rel-eng/packages/rhn-client-tools b/rel-eng/packages/rhn-client-tools
index 4ba8381..e8b156e 100644
--- a/rel-eng/packages/rhn-client-tools
+++ b/rel-eng/packages/rhn-client-tools
@@ -1 +1 @@
-1.6.9-1 client/rhel/rhn-client-tools/
+1.6.10-1 client/rhel/rhn-client-tools/
12 years, 10 months
Changes to 'refs/tags/spacewalk-web-1.6.11-1'
by Michael Mraka
Tag 'spacewalk-web-1.6.11-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2011-08-10 12:18 +0000
Tagging package [spacewalk-web] version [1.6.11-1] in directory [web/].
Changes since spacewalk-web-1.6.10-1:
Michael Mraka (2):
COALESCE works in both db backends
Automatic commit of package [spacewalk-web] release [1.6.11-1].
---
rel-eng/packages/spacewalk-web | 2 +-
web/modules/rhn/RHN/DB/DataSource/xml/System_queries.xml | 2 +-
web/spacewalk-web.spec | 5 ++++-
3 files changed, 6 insertions(+), 3 deletions(-)
---
12 years, 10 months
rel-eng/packages web/spacewalk-web.spec
by Michael Mraka
rel-eng/packages/spacewalk-web | 2 +-
web/spacewalk-web.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit f49e5a58b7222c2e5969099d907064c95aa25a7c
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Aug 10 14:18:01 2011 +0200
Automatic commit of package [spacewalk-web] release [1.6.11-1].
diff --git a/rel-eng/packages/spacewalk-web b/rel-eng/packages/spacewalk-web
index 7d89c20..da0eda1 100644
--- a/rel-eng/packages/spacewalk-web
+++ b/rel-eng/packages/spacewalk-web
@@ -1 +1 @@
-1.6.10-1 web/
+1.6.11-1 web/
diff --git a/web/spacewalk-web.spec b/web/spacewalk-web.spec
index c787b6d..5d42c90 100644
--- a/web/spacewalk-web.spec
+++ b/web/spacewalk-web.spec
@@ -2,7 +2,7 @@ Name: spacewalk-web
Summary: Spacewalk Web site - Perl modules
Group: Applications/Internet
License: GPLv2
-Version: 1.6.10
+Version: 1.6.11
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -257,6 +257,9 @@ rm -rf $RPM_BUILD_ROOT
# $Id$
%changelog
+* Wed Aug 10 2011 Michael Mraka <michael.mraka(a)redhat.com> 1.6.11-1
+- COALESCE works in both db backends
+
* Wed Aug 10 2011 Michael Mraka <michael.mraka(a)redhat.com> 1.6.10-1
- replace oracle specific syntax with ANSI one
- made NVL2 work in both db backends
12 years, 10 months
web/modules
by Michael Mraka
web/modules/rhn/RHN/DB/DataSource/xml/System_queries.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cab6342be786e25f9ce2cae6665e26c1e99940a8
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Aug 10 14:14:47 2011 +0200
COALESCE works in both db backends
diff --git a/web/modules/rhn/RHN/DB/DataSource/xml/System_queries.xml b/web/modules/rhn/RHN/DB/DataSource/xml/System_queries.xml
index 5a23d57..7ee73b4 100644
--- a/web/modules/rhn/RHN/DB/DataSource/xml/System_queries.xml
+++ b/web/modules/rhn/RHN/DB/DataSource/xml/System_queries.xml
@@ -346,7 +346,7 @@ SELECT S.id
AND SC.channel_id = CP.channel_id
AND CP.package_id = :pid
AND CP.package_id = P.id
- AND NVL((SELECT MAX(PE.evr)
+ AND COALESCE((SELECT MAX(PE.evr)
FROM rhnServerPackage SP, rhnPackageEvr PE
WHERE SP.name_id = P.name_id
AND SP.server_id = S.id
12 years, 10 months
Changes to 'refs/tags/spacewalk-web-1.6.10-1'
by Michael Mraka
Tag 'spacewalk-web-1.6.10-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2011-08-10 12:04 +0000
Tagging package [spacewalk-web] version [1.6.10-1] in directory [web/].
Changes since rhn-client-tools-1.6.9-1:
Michael Mraka (7):
replace oracle specific syntax with ANSI one
replace oracle specific syntax with ANSI one
replace oracle specific syntax with ANSI one
replace oracle specific syntax with ANSI one
made NVL2 work in both db backends
replace oracle specific syntax with ANSI one
Automatic commit of package [spacewalk-web] release [1.6.10-1].
Milan Zazrivec (1):
702084 - always print trailing newline for error messages
---
client/rhel/rhn-client-tools/src/bin/spacewalk-channel.py | 3
rel-eng/packages/spacewalk-web | 2
web/modules/rhn/RHN/DB/DataSource/xml/CustomInfo_queries.xml | 5 -
web/modules/rhn/RHN/DB/DataSource/xml/General_queries.xml | 2
web/modules/rhn/RHN/DB/DataSource/xml/Package_queries.xml | 30 +++----
web/modules/rhn/RHN/DB/DataSource/xml/SystemGroup_queries.xml | 42 +++++++---
web/modules/rhn/RHN/DB/DataSource/xml/config_queries.xml | 2
web/modules/rhn/RHN/DB/DataSource/xml/contact_method_queries.xml | 17 ++--
web/modules/rhn/RHN/DB/DataSource/xml/probe_queries.xml | 6 -
web/spacewalk-web.spec | 6 +
10 files changed, 72 insertions(+), 43 deletions(-)
---
12 years, 10 months