client/rhel/rhn-client-tools/rhn-client-tools.spec | 5 ++++-
client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py | 2 +-
rel-eng/packages/rhn-client-tools | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
New commits:
commit 914fcce8d12bede3b9318cce8883ec23052f0bf1
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed May 5 14:25:02 2010 +0200
Automatic commit of package [rhn-client-tools] release [1.0.2-1].
diff --git a/client/rhel/rhn-client-tools/rhn-client-tools.spec
b/client/rhel/rhn-client-tools/rhn-client-tools.spec
index 5e668c7..403fb46 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.0.0
+Version: 1.0.2
Release: 1%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -238,6 +238,9 @@ make -f Makefile.rhn-client-tools test
%{_datadir}/applications/rhn_register.desktop
%changelog
+* Wed May 05 2010 Jan Pazdziora 1.0.2-1
+- 589100 - address issue when clients were not able to register to the server.
+
* Thu Apr 08 2010 Jan Pazdziora 1.0.0-1
- Bumping up version to 1.0.0.
diff --git a/rel-eng/packages/rhn-client-tools b/rel-eng/packages/rhn-client-tools
index e5f2cd6..5624ade 100644
--- a/rel-eng/packages/rhn-client-tools
+++ b/rel-eng/packages/rhn-client-tools
@@ -1 +1 @@
-1.0.0-1 client/rhel/rhn-client-tools/
+1.0.2-1 client/rhel/rhn-client-tools/
commit df55d4df46ecdb4ab34b474dcf81afab97ad6fb2
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed May 5 14:16:30 2010 +0200
589100 - Revert "Check the capability in cfg."
This reverts commit 015c750daa164e80cca51bd683270fa1f91352ad.
The change caused a mismatch between the capabilities reported by
the client and the data type sent.
We revert while knowing that this will cause an additional
registration.welcome_message XMLRPC call before each
registration.add_packages.
(cherry picked from commit db3f1bd553304d4589d54d9d6ce6e45ef9d3915a)
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
b/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
index edac93b..eb9df6d 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
@@ -472,7 +472,7 @@ def sendHardware(systemId, hardwareList):
def sendPackages(systemId, packageList):
s = rhnserver.RhnServer()
- if not cfg['supportsExtendedPackageProfile'] == 2:
+ if not s.capabilities.hasCapability('xmlrpc.packages.extended_profile', 2):
# for older satellites and hosted - convert to old format
packageList = convertPackagesFromHashToList(packageList)
s.registration.add_packages(systemId, packageList)