Re: [Spacewalk-list] Client execution returned "Invalid function call attempted" (code 6)

2020-07-17 Thread Robert Paschedag
On my Debian, the CheckNeedUpdate is provided in 
/usr/share/rhn/actions/packages.py which is provided by 
"apt-transport-spacewalk"



⁣sent from my mobile device​


 Originale Nachricht 
Von: Wenkai Chen 
Gesendet: Thu Jul 16 09:52:50 GMT+02:00 2020
An: "spacewalk-list@redhat.com" 
Betreff: Re: [Spacewalk-list] Client execution returned "Invalid
functioncall attempted" (code 6)

HI ,

The rhncfg packages are already installed.

[root@x302 yum.repos.d]# rpm -qa | grep rhncfg*
rhncfg-5.10.129-1.el7.noarch
rhncfg-actions-5.10.129-1.el7.noarch
python2-rhncfg-5.10.129-1.el7.noarch
python2-rhncfg-client-5.10.129-1.el7.noarch
python2-rhncfg-actions-5.10.129-1.el7.noarch
rhncfg-management-5.10.129-1.el7.noarch
rhncfg-client-5.10.129-1.el7.noarch
python2-rhncfg-management-5.10.129-1.el7.noarch

I just checked under /usr/share/rhn/actions. It is empty.



Chen Wenkai
Infrastructure Security Engineer



  E:  wenkai_c...@ensigninfosecurity.com
  A:  30A Kallang Place, Level 9 Right Wing, Singapore 339213




-Original Message-
From: spacewalk-list-boun...@redhat.com  On 
Behalf Of Robert Paschedag
Sent: Saturday, 11 July 2020 3:10 PM
To: spacewalk-list@redhat.com
Subject: Re: [Spacewalk-list] Client execution returned "Invalid function call 
attempted" (code 6)

EXTERNAL: Caution this email originated from outside of the organization. Do 
not click links or open attachments unless you recognize the sender and know 
the content is safe.


You seem to be missing some packages that provide the function

packages.checkNeedUpdate('rhnsd=1',)

If I remember right, these should live in /usr/share/rhn/actions

Maybe your missing the rhn-actions package.

Robert


⁣sent from my mobile device​


 Originale Nachricht 
Von: Wenkai Chen 
Gesendet: Wed Jul 01 04:44:32 GMT+02:00 2020
An: "spacewalk-list@redhat.com" 
Betreff: Re: [Spacewalk-list] Client execution returned "Invalid function call 
attempted" (code 6)

HI,

Anyone can help on this?
Furthermore, when I do a 'yum repolist' command on the client machine, the 
number of packages listed for the Spacewalk channel is 0.
[cid:image009.jpg@01D64F94.E21B4380]

When in fact, it has 1 over packages.
[cid:image010.jpg@01D64F94.E21B4380]


[A close up of a sign  Description generated with very high confidence]

Chen Wenkai
Infrastructure Security Engineer

   [A picture containing building  Description generated with high 
confidence] 

  [A picture containing tableware  Description generated with high 
confidence] 

  [A close up of a sign  Description generated with high confidence] 


  E:  wenkai_c...@ensigninfosecurity.com
  A:  30A Kallang Place, Level 9 Right Wing, Singapore 339213


From: spacewalk-list-boun...@redhat.com  On 
Behalf Of Wenkai Chen
Sent: Wednesday, 24 June 2020 6:40 PM
To: spacewalk-list@redhat.com
Subject: [Spacewalk-list] Client execution returned "Invalid function call 
attempted" (code 6)

EXTERNAL: Caution this email originated from outside of the organization. Do 
not click links or open attachments unless you recognize the sender and know 
the content is safe.
HI Spacewalk users,

I encountered an error while trying to run a package verification job on one of 
the CentOS 7 clients.

Client execution returned "Invalid function call attempted" (code 6)

Here is the output of the command "rhn_check -vvv".

==
rhn_check -vvv
D: opening  db environment /var/lib/rpm cdb:0x401
D: opening  db index   /var/lib/rpm/Packages 0x400 mode=0x0
D: locked   db index   /var/lib/rpm/Packages
D: opening  db index   /var/lib/rpm/Providename 0x400 mode=0x0
D: do_call packages.checkNeedUpdate('rhnsd=1',){}
D: opening  db environment /var/lib/rpm cdb:0x401
D: opening  db index   /var/lib/rpm/Packages 0x400 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 

Re: [Spacewalk-list] Spacewalk-list Digest, Vol 146, Issue 7

2020-07-17 Thread vora shreyansh
Can anyone help me with "CentOS 8 client issue with spacewalk (vora shreyansh)"

Sent from Yahoo Mail on Android 
 
  On Thu, 16 Jul 2020 at 4:23 pm, 
spacewalk-list-requ...@redhat.com wrote:   
Send Spacewalk-list mailing list submissions to
    spacewalk-list@redhat.com

To subscribe or unsubscribe via the World Wide Web, visit
    https://www.redhat.com/mailman/listinfo/spacewalk-list
or, via email, send a message with subject or body 'help' to
    spacewalk-list-requ...@redhat.com

You can reach the person managing the list at
    spacewalk-list-ow...@redhat.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Spacewalk-list digest..."


Today's Topics:

  1. CentOS 8 client issue with spacewalk (vora shreyansh)
  2. Re: Client execution returned "Invalid    function    call
      attempted" (code 6) (Wenkai Chen)
  3. Re: Client execution returned "Invalid    function    call
      attempted" (code 6) (Laack, Andrea P)


--

Message: 1
Date: Thu, 16 Jul 2020 06:51:14 + (UTC)
From: vora shreyansh 
To: "spacewalk-list@redhat.com" 
Subject: [Spacewalk-list] CentOS 8 client issue with spacewalk
Message-ID: <500223295.2173555.1594882274...@mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

Hi All,
Recently we have registered CentOS 8 server to spacewalk and it looks pretty 
good as well.
While running "spacewalk-channel -list command I can see the repository but 
with "dnf repolist" I can not see any repository assigned to the server.
Can someone please let me know who I can make sure that spacewalk repos are 
listed on server and? server will get updates from spacewalk only.
Thanks in Advance.
Shreyansh Vora?
Sent from Yahoo Mail on Android
-- next part --
An HTML attachment was scrubbed...
URL: 


--

Message: 2
Date: Thu, 16 Jul 2020 07:52:50 +
From: Wenkai Chen 
To: "spacewalk-list@redhat.com" 
Subject: Re: [Spacewalk-list] Client execution returned "Invalid
    function    call attempted" (code 6)
Message-ID:
    

    
Content-Type: text/plain; charset="utf-8"

HI ,

The rhncfg packages are already installed.

[root@x302 yum.repos.d]# rpm -qa | grep rhncfg*
rhncfg-5.10.129-1.el7.noarch
rhncfg-actions-5.10.129-1.el7.noarch
python2-rhncfg-5.10.129-1.el7.noarch
python2-rhncfg-client-5.10.129-1.el7.noarch
python2-rhncfg-actions-5.10.129-1.el7.noarch
rhncfg-management-5.10.129-1.el7.noarch
rhncfg-client-5.10.129-1.el7.noarch
python2-rhncfg-management-5.10.129-1.el7.noarch

I just checked under /usr/share/rhn/actions. It is empty.



Chen Wenkai
Infrastructure Security Engineer

                
  
  E:  wenkai_c...@ensigninfosecurity.com
  A:  30A Kallang Place, Level 9 Right Wing, Singapore 339213




-Original Message-
From: spacewalk-list-boun...@redhat.com  On 
Behalf Of Robert Paschedag
Sent: Saturday, 11 July 2020 3:10 PM
To: spacewalk-list@redhat.com
Subject: Re: [Spacewalk-list] Client execution returned "Invalid function call 
attempted" (code 6)

EXTERNAL: Caution this email originated from outside of the organization. Do 
not click links or open attachments unless you recognize the sender and know 
the content is safe.


You seem to be missing some packages that provide the function

packages.checkNeedUpdate('rhnsd=1',)

If I remember right, these should live in /usr/share/rhn/actions

Maybe your missing the rhn-actions package.

Robert


?sent from my mobile device?


 Originale Nachricht 
Von: Wenkai Chen 
Gesendet: Wed Jul 01 04:44:32 GMT+02:00 2020
An: "spacewalk-list@redhat.com" 
Betreff: Re: [Spacewalk-list] Client execution returned "Invalid function call 
attempted" (code 6)

HI,

Anyone can help on this?
Furthermore, when I do a 'yum repolist' command on the client machine, the 
number of packages listed for the Spacewalk channel is 0.
[cid:image009.jpg@01D64F94.E21B4380]

When in fact, it has 1 over packages.
[cid:image010.jpg@01D64F94.E21B4380]


[A close up of a sign  Description generated with very high confidence]

Chen Wenkai
Infrastructure Security Engineer

      [A picture containing building  Description generated with high 
confidence] 

      [A picture containing tableware  Description generated with high 
confidence]