[Spacewalk-list] Spacewalk won't execute any Remotescript

Daniel Thielking Daniel.Thielking at ias.rwth-aachen.de
Thu Jul 17 10:14:30 UTC 2014


That is what rhn_check -vvv says:

D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /var/lib/rpm/Packages
D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
D: loading keyring from rpmdb
D: opening  db index       /var/lib/rpm/Name rdonly mode=0x0
D: added key gpg-pubkey-ba684223-4f3248dc to keyring
D: added key gpg-pubkey-0608b895-4bd22942 to keyring
D: added key gpg-pubkey-7bed7bb1-52777fe1 to keyring
D: added key gpg-pubkey-f6777c67-45e5b1b9 to keyring
D: added key gpg-pubkey-baadae52-49beffa4 to keyring
D: added key gpg-pubkey-849c449f-4cb9df30 to keyring
D: added key gpg-pubkey-5568bbb2-4cb9de99 to keyring
D: added key gpg-pubkey-9b1fd350-4a576be4 to keyring
D: added key gpg-pubkey-863a853d-4f55f54d to keyring
D: added key gpg-pubkey-a179d329-4b9f8609 to keyring
D: added key gpg-pubkey-192a7d7d-4a5769d0 to keyring
D: added key gpg-pubkey-98ab5139-4bf2d0b0 to keyring
D: Using legacy gpg-pubkey(s) from rpmdb
D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
D: do_call packages.checkNeedUpdate('rhnsd=1',){}
D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
D: loading keyring from rpmdb
D: opening  db index       /var/lib/rpm/Name rdonly mode=0x0
D: added key gpg-pubkey-ba684223-4f3248dc to keyring
D: added key gpg-pubkey-0608b895-4bd22942 to keyring
D: added key gpg-pubkey-7bed7bb1-52777fe1 to keyring
D: added key gpg-pubkey-f6777c67-45e5b1b9 to keyring
D: added key gpg-pubkey-baadae52-49beffa4 to keyring
D: added key gpg-pubkey-849c449f-4cb9df30 to keyring
D: added key gpg-pubkey-5568bbb2-4cb9de99 to keyring
D: added key gpg-pubkey-9b1fd350-4a576be4 to keyring
D: added key gpg-pubkey-863a853d-4f55f54d to keyring
D: added key gpg-pubkey-a179d329-4b9f8609 to keyring
D: added key gpg-pubkey-192a7d7d-4a5769d0 to keyring
D: added key gpg-pubkey-98ab5139-4bf2d0b0 to keyring
D: Using legacy gpg-pubkey(s) from rpmdb
D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
D: closed   db index       /var/lib/rpm/Providename
D: closed   db index       /var/lib/rpm/Name
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm
Not loading "blacklist" plugin, as it is disabled
Not loading "whiteout" plugin, as it is disabled
Loaded plugins: fastestmirror, presto, refresh-packagekit, rhnplugin
Config time: 0.032
D: login(forceUpdate=False) invoked
D: readCachedLogin invoked
D: Checking pickled loginInfo, currentTime=1405591784.98, 
createTime=1405591723.85, expire-offset=3600.0
D: readCachedLogin(): using pickled loginInfo set to expire at 1405595323.85
D: rpcServer: Calling XMLRPC up2date.listChannels
This system is receiving updates from RHN Classic or Red Hat Satellite.
Setting up Package Sacks
Loading mirror speeds from cached hostfile
pkgsack time: 0.068
rpmdb time: 0.000
Loading mirror speeds from cached hostfile
repo time: 0.000
D: local action status: (0, 'rpm database not modified since last update 
(or package list recently updated)', {})
D: rpcServer: Calling XMLRPC registration.welcome_message
D: closed   db index       /var/lib/rpm/Providename
D: closed   db index       /var/lib/rpm/Name
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm

While I was upgrading Spacewalk form 2.1 to 2.2, I should use this command:
su - postgres -c 'PGPASSWORD=spacepw; createlang pltclu spaceschema ;'

but there is no spaceschema database on the server maybe this is the error?


_____________________________________________________

Auszubildender Fachinformatiker für Systemintegration
RWTH Aachen
Lehrstuhl für Integrierte Analogschaltungen
Raum 24C 313
Walter-Schottky-Haus
Sommerfeldstr. 24
D-52074 Aachen

www.ias.rwth-aachen.de

Email: Daniel.Thielking at ias.rwth-aachen.de
Phone: +49-(0)241-80-27771
   FAX: +49-(0)241-80-627771
_____________________________________________________

Am 17.07.2014 10:23, schrieb Milan Zázrivec:
> On Thursday 17 July 2014 09:53:10 Daniel Thielking wrote:
>> OS: Centos 6.5 on Clients and Server
>>
>> in /var/log/up2date:
>>
>> [Thu Jul 17 08:56:01 2014] up2date updateLoginInfo() login info
>> [Thu Jul 17 08:56:01 2014] up2date logging into up2date server
>> [Thu Jul 17 08:56:01 2014] up2date successfully retrieved authentication
>> token from up2date server
>>
>> And no Traceback mails or errors on Server
> This is strange -- I just tried this on both RHEL-6 and RHEL-7, with stock
> client packages and then with Spacewalk 2.2 packages.
>
> It always worked OK.
>
> Did the upgrade to 2.2 went smooth? (package / schema upgrade in particular)
>
> -MZ
>
>> Am 17.07.2014 09:40, schrieb Milan Zázrivec:
>>> On Thursday 17 July 2014 09:28:41 Daniel Thielking wrote:
>>>> Dear Colleagues,
>>>>
>>>> I have a huge problem.
>>>> I have updatet fom Spacewalk 2.1.to 2.2 and after this upgrade i can't
>>>> execute any remotescript.
>>>>
>>>> If I try to execute on all my host this script:
>>>>        #!/bin/sh
>>>>        echo "hello"
>>>>
>>>> I get this error message on the plan page:
>>>>
>>>>
>>>> Summary: 	Run an arbitrary script scheduled by dthielking
>>>> Details: 	This action will be executed after 07/17/14 8:47:00 AM CEST.
>>>>
>>>> This action's status is: Failed.
>>>> The client picked up this action on 07/17/14 8:48:08 AM CEST.
>>>> The client completed this action on 07/17/14 8:48:08 AM CEST.
>>>> Client execution returned "Script failed" (code 1)
>>> This seems to be working fine on my Spacewalk 2.2.
>>>
>>> What OS are the problematic clients? Anything in /var/log/up2date
>>> on the clients? Any error logs / traceback emails on the server?
>>>
>>> -MZ
>>>
>>> _______________________________________________
>>> Spacewalk-list mailing list
>>> Spacewalk-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20140717/60e16ebe/attachment.htm>


More information about the Spacewalk-list mailing list