[Spacewalk-list] OSAD doesnt work behind SpaceWalk-Proxy

2017-01-23 Thread Matthias Gruber
Hi!
We are running a SW 2.5 with several SW-Proxy

I try to schedule scripts via the SW-scheduler but they are not picked up 
as expected but aprox 4h later, I have in mind that this happens if osad 
is not working well

This action will be executed after 1/23/17 7:00:00 PM CET
This action's status is: Completed.
The client picked up this action on 1/23/17 10:17 PM
The client completed this action on 1/23/17 11:19 PM
Client execution returned "Script executed" (code 0) 

If I check my machines, I do that every 10 minutes the osad of the 
Main-SpaceWalk tells me

###
Total servers:  114
Online OSA servers:  114
Offline OSA servers:  0
Unknown OSA servers:  0
###

Everything is fine, from that perspective, has anyone a clue for me, 
perhaps I missed something?

cheers
Matthias
 

Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, Friedrich von 
Metzler, Emmerich Müller, Dr. Johannes J. Reich, Gerhard Wiesheu
Vorsitzender des Aufsichtsrates: Dr. Christoph Schücking
Sitz der Gesellschaft: Frankfurt am Main, Handelsregisternummer: HRB 27 515

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfänger 
sein, so bitten wir Sie höflich, dies unverzüglich dem Absender mitzuteilen und 
die Nachricht zu löschen. Es ist unzulässig, die Nachricht unbefugt 
weiterzuleiten oder zu kopieren. Da wir nicht die Echtheit oder Vollständigkeit 
der in dieser Nachricht enthaltenen Informationen garantieren oder zusichern 
können, sind die vorstehenden Ausführungen rechtlich nicht bindend. Eine 
Haftung hierfür wird ausgeschlossen.
This message is confidential. If you are not the intended recipient, we kindly 
ask you to inform the sender and delete the information. Any unauthorised 
dissemination or copying hereof is prohibited. As we cannot guarantee or assure 
the genuineness or completeness of the information contained in this message, 
the statements set forth above are not legally binding. Accordingly we cannot 
accept any liability for their contents.


PGP.sig
Description: PGP signature
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] AttributeError: 'list' object has no attribute 'encode'

2017-01-23 Thread Bruce McAlister

Hi All,

I just updated 3 of my test CentOS 7 x64 systems to the "latest" package 
levels and I am now unable to perform any yum operations when the 
rhnplugin is enabled. I just wanted to check with the list if anyone 
else is experiencing this issue.


I am subscribed to the CentOS 7 spacewalk nightly client chennel, I'm 
guessing something may be amiss there. I am running spacewalk server 
version 2.5.


After running a "yum update", any subsequent yum operation with the 
rhnplugin enabled is aborted with the error listed below. Let me know if 
you need any further information to debug this further. Any 
tips/suggestions would be greatly appreciated.


---
# yum list installed
Loaded plugins: fastestmirror, rhnplugin
Traceback (most recent call last):
  File "/bin/yum", line 29, in 
yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 370, in user_main
errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 165, in main
base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 261, in getOptionsConfig
self.conf
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1078, 
in 

conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 420, in 
_getConfig

self.plugins.run('init')
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/share/yum-plugins/rhnplugin.py", line 121, in init_hook
login_info = up2dateAuth.getLoginInfo(timeout=timeout)
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 229, in 
getLoginInfo

login(timeout=timeout)
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 193, in login
maybeUpdateVersion()
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 46, in 
maybeUpdateVersion

systemVer = up2dateUtils.getVersion()
  File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 67, in 
getVersion

os_release, version, release = _getOSVersionAndRelease()
  File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 42, in 
_getOSVersionAndRelease
provides = dict(zip(sstr(h['providename']), 
sstr(h['provideversion'])))

  File "/usr/lib/python2.7/site-packages/rhn/i18n.py", line 60, in sstr
return str(obj.encode('utf8', 'ignore'))
AttributeError: 'list' object has no attribute 'encode'
---


# package-cleanup --dupes
Loaded plugins: fastestmirror, rhnplugin
Traceback (most recent call last):
  File "/bin/package-cleanup", line 400, in 
util = PackageCleanup()
  File "/bin/package-cleanup", line 60, in __init__
self.main()
  File "/bin/package-cleanup", line 290, in main
opts = self.doUtilConfigSetup()
  File "/usr/share/yum-cli/utils.py", line 322, in doUtilConfigSetup
self.conf
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1078, 
in 

conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 420, in 
_getConfig

self.plugins.run('init')
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/share/yum-plugins/rhnplugin.py", line 121, in init_hook
login_info = up2dateAuth.getLoginInfo(timeout=timeout)
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 229, in 
getLoginInfo

login(timeout=timeout)
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 193, in login
maybeUpdateVersion()
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 46, in 
maybeUpdateVersion

systemVer = up2dateUtils.getVersion()
  File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 67, in 
getVersion

os_release, version, release = _getOSVersionAndRelease()
  File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 42, in 
_getOSVersionAndRelease
provides = dict(zip(sstr(h['providename']), 
sstr(h['provideversion'])))

  File "/usr/lib/python2.7/site-packages/rhn/i18n.py", line 60, in sstr
return str(obj.encode('utf8', 'ignore'))
AttributeError: 'list' object has no attribute 'encode'


___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] Spacewalk 2.7 nighty release !

2017-01-23 Thread KHOUILDI Arij
Hi,

   I have installed spacewalk 2.6 but when I checked the WebUID I found 
spacewalk 2.7 nighty release.
   There are new updates into spacewalk configuration and scripts?
  I want to know if it is a final release or there are other updates.

Best Regards.

Arij Khouildi
Ingénieur Système
Sagemcom Software & Technologies
34, Avenue de Paris Mégrine 2033
Mobile: (+216) 58 58 25 56
Email: arij.khoui...@sagemcom.com


" Ce courriel et les documents qui lui sont joints peuvent contenir des
informations confidentielles ou ayant un caractère privé. 
S'ils ne vous sont pas destinés nous vous signalons qu'il est strictement 
interdit de les
divulguer, de les reproduire ou d'en utiliser de quelque manière que ce
soit le contenu. Si ce message vous a été transmis par erreur, merci d'en
informer l'expéditeur et de supprimer immédiatement de votre système
informatique ce courriel ainsi que tous les documents qui y sont attachés"

   **

" This e-mail and any attached documents may contain confidential or
proprietary information. If you are not the intended recipient, you are
notified that any dissemination, copying of this e-mail and any attachments
thereto or use of their contents by any means whatsoever is strictly
prohibited. If you have received this e-mail in error, please advise the
sender immediately and delete this e-mail and all attached documents
from your computer system."
#

___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] Spacewalk 2.6 rhnpush and spacewalk-repo sync problem

2017-01-23 Thread Rose Dowson
Hi,

  I installed spacewalk 2.6 I haven't any problem with the installation
process but when I want to sync my centos and ubuntu channels I have two
problems :

For centos :

 I haven't any package into WebUID and when I checked the database :
select count(*) from rhnchannelpackage:

count
---
 0
(1 row)

but my spacewalk had import 86 packages. So what is the problem ?


For Ubuntu :

When I sync my channels with debianSync.py I have this error :

ERROR: rhnpush [ rhnpush -c precise-security -u admin -p XXX
/tmp/linux-backports-modules-cw-3.3-3.2.0-35-generic_3.2.0-35.22_amd64.deb
] failed: ("('Internal server error', 500, 'Internal Server Error')\n


Could you help me.
Best Regards,
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list