[Spacewalk-list] Spacewalk Filters

2020-02-18 Thread Raymond Setchfield
Hi All,

I am receiving an error message when I am trying to pull down the grafana
packages, and I thought I'd use the filters to remove the appropriate
packages.

10:58:48 197/200 : grafana-6.2.3-1.x86_64.rpm
10:58:48 198/200 : grafana-5.2.2-1.armhfp.rpm
10:58:48 199/200 : grafana-6.2.2-1.armhfp.rpm
10:58:48 200/200 : grafana-6.3.6-1.armhfp.rpm
10:58:49
10:58:49   Importing packages to DB:
   Importing packages:
|##| 100.0%
10:59:42
10:59:42   Linking packages to the channel.
10:59:42 ERROR: Unknown arch armhfp
10:59:43 Sync of channel completed in 0:03:32.
10:59:43 Total time: 0:03:32

So using the filters I am tried;
+grafana-*.x86_64.rpm

and I am receiving this from the repo  sync
11:06:44   Processing repository with URL:
https://packages.grafana.com/oss/rpm
11:06:45 Packages in repo:   201
11:06:45 Packages passed filter rules: 0
11:06:45 No new packages to sync.
11:06:45
11:06:45   Errata in repo: 0.
11:06:45 Sync of channel completed in 0:01:24.
11:06:45 Total time: 0:01:24

Can anyone suggest what I am doing wrong on the filters?

Thanks

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

Re: [Spacewalk-list] Spacewalk Filters

2020-02-18 Thread Robert Paschedag
Shouldn't it be "-grafana..."?

Robert


⁣sent from my mobile device​


 Originale Nachricht 
Von: Raymond Setchfield 
Gesendet: Tue Feb 18 12:11:22 GMT+01:00 2020
An: spacewalk-list@redhat.com
Betreff: [Spacewalk-list] Spacewalk Filters

Hi All,

I am receiving an error message when I am trying to pull down the grafana
packages, and I thought I'd use the filters to remove the appropriate
packages.

10:58:48 197/200 : grafana-6.2.3-1.x86_64.rpm
10:58:48 198/200 : grafana-5.2.2-1.armhfp.rpm
10:58:48 199/200 : grafana-6.2.2-1.armhfp.rpm
10:58:48 200/200 : grafana-6.3.6-1.armhfp.rpm
10:58:49
10:58:49   Importing packages to DB:
   Importing packages:
|##| 100.0%
10:59:42
10:59:42   Linking packages to the channel.
10:59:42 ERROR: Unknown arch armhfp
10:59:43 Sync of channel completed in 0:03:32.
10:59:43 Total time: 0:03:32

So using the filters I am tried;
+grafana-*.x86_64.rpm

and I am receiving this from the repo  sync
11:06:44   Processing repository with URL:
https://packages.grafana.com/oss/rpm
11:06:45 Packages in repo:   201
11:06:45 Packages passed filter rules: 0
11:06:45 No new packages to sync.
11:06:45
11:06:45   Errata in repo: 0.
11:06:45 Sync of channel completed in 0:01:24.
11:06:45 Total time: 0:01:24

Can anyone suggest what I am doing wrong on the filters?

Thanks

Ray




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


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

Re: [Spacewalk-list] Spacewalk Filters

2020-02-18 Thread Raymond Setchfield
I was looking to keep  grafana-*.x86_64.rpm but get rid of anything else

Ray

On Tue, Feb 18, 2020 at 11:47 AM Robert Paschedag 
wrote:

> Shouldn't it be "-grafana..."?
>
> Robert
>
>
> ⁣sent from my mobile device​
>
>
>  Originale Nachricht 
> Von: Raymond Setchfield 
> Gesendet: Tue Feb 18 12:11:22 GMT+01:00 2020
> An: spacewalk-list@redhat.com
> Betreff: [Spacewalk-list] Spacewalk Filters
>
> Hi All,
>
> I am receiving an error message when I am trying to pull down the grafana
> packages, and I thought I'd use the filters to remove the appropriate
> packages.
>
> 10:58:48 197/200 : grafana-6.2.3-1.x86_64.rpm
> 10:58:48 198/200 : grafana-5.2.2-1.armhfp.rpm
> 10:58:48 199/200 : grafana-6.2.2-1.armhfp.rpm
> 10:58:48 200/200 : grafana-6.3.6-1.armhfp.rpm
> 10:58:49
> 10:58:49   Importing packages to DB:
>Importing packages:
> |##| 100.0%
> 10:59:42
> 10:59:42   Linking packages to the channel.
> 10:59:42 ERROR: Unknown arch armhfp
> 10:59:43 Sync of channel completed in 0:03:32.
> 10:59:43 Total time: 0:03:32
>
> So using the filters I am tried;
> +grafana-*.x86_64.rpm
>
> and I am receiving this from the repo  sync
> 11:06:44   Processing repository with URL:
> https://packages.grafana.com/oss/rpm
> 11:06:45 Packages in repo:   201
> 11:06:45 Packages passed filter rules: 0
> 11:06:45 No new packages to sync.
> 11:06:45
> 11:06:45   Errata in repo: 0.
> 11:06:45 Sync of channel completed in 0:01:24.
> 11:06:45 Total time: 0:01:24
>
> Can anyone suggest what I am doing wrong on the filters?
>
> Thanks
>
> Ray
>
>
> 
>
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] Spacewalk 2.10 Failing to sync repo

2020-02-18 Thread Jody McIvor
Hi Michael,

Disregard previous, our dev env nightly build wasn't updating nightly. Manual 
push of .26 resolved the issue. Thanks a ton!

Jody McIvor
Sr. Systems Administrator, Integration
Les Services D'intégration
[TEL] (250) 852-5202


jmci...@bclc.com
BCLC.com





-Original Message-
From: spacewalk-list-boun...@redhat.com  On 
Behalf Of spacewalk-list-requ...@redhat.com
Sent: February 14, 2020 9:16 AM
To: spacewalk-list@redhat.com
Subject: Spacewalk-list Digest, Vol 141, Issue 19

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. Spacewalk 2.10 Failing to sync repo (Michael Mraka) (Jody McIvor)
   2. Re: "Invalid function call attempted (code 6)" (Paul Greene)


--

Message: 1
Date: Fri, 14 Feb 2020 17:03:25 +
From: Jody McIvor 
To: "spacewalk-list@redhat.com" 
Subject: [Spacewalk-list] Spacewalk 2.10 Failing to sync repo (Michael
Mraka)
Message-ID: <7730df3361b44aab9ffbf705daadb...@bclc.com>
Content-Type: text/plain; charset=WINDOWS-1252

Hi Michael,

I ran your suggested command to peek at the header info of one of (most recent) 
the RPMs:

[jmcivor@]$ rpm -qip .rpm
Name: -v2.15.01
Epoch   : 0
Version : 1
Release : 1
Architecture: x86_64
Install Date: (not installed)
Group   : BCLC
Size: 8121032
License : 2017 BCLC
Signature   : (none)
Source RPM  : terminal-source
Build Date  : Thu 06 Feb 2020 01:44:20 PM PST Build Host  :  
Relocations : (not relocatable)
Packager: 
Vendor  : BCLC
URL : n/a
Summary : terminal
Description :



And ran manual repo sync:

[root@]# spacewalk-repo-sync --channel  --type yum
08:42:02 ==
08:42:02 | Channel: 
08:42:02 ==
08:42:02 Sync of channel started.
08:42:02
08:42:02   Processing repository with URL: 
http:///rhel/x86_64/ /
08:42:03 Packages in repo:   111
08:42:03 Packages already synced: 65
08:42:03 Packages to sync:14
08:42:03 New packages to download:14
08:42:03   Downloading packages:
08:42:03 1/14 : .rpm
08:42:03 2/14 : .rpm
08:42:03 3/14 : .rpm
08:42:03 4/14 : .rpm
08:42:03 5/14 : .rpm
08:42:03 6/14 : .rpm
08:42:04 7/14 : .rpm
08:42:04 8/14 : .rpm
08:42:04 9/14 : .rpm
08:42:04 10/14 : .rpm
08:42:04 11/14 : .rpm
08:42:04 12/14 : .rpm
08:42:04 13/14 : .rpm
08:42:04 14/14 : .rpm
08:42:05
08:42:05   Importing packages to DB:
   Importing packages: 
|##| 100.0%
08:42:05
08:42:05   Errata in repo: 0.
08:42:05 Sync of channel completed in 0:00:03.
08:42:05 Total time: 0:00:03

As usual, it reports completion, but digging into the actual log for this 
channels reposync (var/log/rhn/reposync/.log) gives us the details 
I provided previously:

2020/02/14 08:42:05 -07:00 Sync of channel completed in 0:00:03.
2020/02/14 08:48:08 -07:00 Command: ['/bin/spacewalk-repo-sync', '--channel', 
'', '--type', 'yum']
2020/02/14 08:48:08 -07:00 Sync of channel started.
2020/02/14 08:48:08 -07:00
2020/02/14 08:48:08 -07:00   Processing repository with URL: 
http:///rhel/x86_64//
2020/02/14 08:48:08 -07:00 Packages in repo:   111
2020/02/14 08:48:08 -07:00 Packages already synced: 65
2020/02/14 08:48:08 -07:00 Packages to sync:14
2020/02/14 08:48:08 -07:00 New packages to download:14
2020/02/14 08:48:08 -07:00   Downloading packages:
2020/02/14 08:48:09 -07:00 1/14 : .rpm
2020/02/14 08:48:09 -07:00 2/14 : .rpm
2020/02/14 08:48:09 -07:00 3/14 : .rpm
2020/02/14 08:48:09 -07:00 4/14 : .rpm
2020/02/14 08:48:09 -07:00 5/14 : .rpm
2020/02/14 08:48:09 -07:00 6/14 : .rpm
2020/02/14 08:48:09 -07:00 7/14 : .rpm
2020/02/14 08:48:09 -07:00 8/14 : .rpm
2020/02/14 08:48:09 -07:00 9/14 : .rpm
2020/02/14 08:48:09 -07:00 10/14 : .rpm
2020/02/14 08:48:09 -07:00 11/14 : .rpm
2020/02/14 08:48:09 -07:00 12/14 : .rpm
2020/02/14 08:48:09 -07:00 13/14 : .rpm
2020/02/14 08:48:09 -07:00 14/14 : .rpm
2020/02/14 08:48:10 -07:00 Importing packages started.
2020/02/14 08:48:10 -07:00
2020/02/14 08:48:10 -07:00   Impor

Re: [Spacewalk-list] Spacewalk Filters

2020-02-18 Thread Rob Sterenborg
This works for me on the oVirt repo:: -*ppc64le

So you could try: -*armhfp and add any other architecture you don’t want to 
sync.


From: spacewalk-list-boun...@redhat.com  On 
Behalf Of Raymond Setchfield
Sent: Tuesday, February 18, 2020 16:14
To: spacewalk-list@redhat.com
Subject: Re: [Spacewalk-list] Spacewalk Filters

I was looking to keep  grafana-*.x86_64.rpm but get rid of anything else

Ray 

On Tue, Feb 18, 2020 at 11:47 AM Robert Paschedag 
 wrote:
Shouldn't it be "-grafana..."?

Robert


⁣sent from my mobile device​


 Originale Nachricht 
Von: Raymond Setchfield 
Gesendet: Tue Feb 18 12:11:22 GMT+01:00 2020
An: mailto:spacewalk-list@redhat.com
Betreff: [Spacewalk-list] Spacewalk Filters

Hi All,

I am receiving an error message when I am trying to pull down the grafana
packages, and I thought I'd use the filters to remove the appropriate
packages.

10:58:48     197/200 : grafana-6.2.3-1.x86_64.rpm
10:58:48     198/200 : grafana-5.2.2-1.armhfp.rpm
10:58:48     199/200 : grafana-6.2.2-1.armhfp.rpm
10:58:48     200/200 : grafana-6.3.6-1.armhfp.rpm
10:58:49
10:58:49   Importing packages to DB:
               Importing packages:
|##| 100.0%
10:59:42
10:59:42   Linking packages to the channel.
10:59:42 ERROR: Unknown arch armhfp
10:59:43 Sync of channel completed in 0:03:32.
10:59:43 Total time: 0:03:32

So using the filters I am tried;
+grafana-*.x86_64.rpm

and I am receiving this from the repo  sync
11:06:44   Processing repository with URL:
https://packages.grafana.com/oss/rpm
11:06:45     Packages in repo:               201
11:06:45     Packages passed filter rules:     0
11:06:45     No new packages to sync.
11:06:45
11:06:45   Errata in repo: 0.
11:06:45 Sync of channel completed in 0:01:24.
11:06:45 Total time: 0:01:24

Can anyone suggest what I am doing wrong on the filters?

Thanks

Ray




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


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

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

[Spacewalk-list] Spacewalk 2.9 on CentOS configuration save error

2020-02-18 Thread Eckert, Doug
Just getting Spacewalk 2.9 installed on CentOS 7 (7.7.1908). Browsed to the
URL for the first time to set configuration items, but get

An error occurred and your satellite configuration changes could not be
stored. Please contact support for more information

>From /var/log/messages

Feb 18 11:34:27 skpkspwk01 server: 2020-02-18 11:34:27,811
[ajp-bio-0:0:0:0:0:0:0:1-8009-exec-4] ERROR
com.redhat.rhn.manager.satellite.SystemCommandExecutor - Error encountered
executing (args=[/usr/bin/sudo, /usr/bin/rhn-config-satellite.pl,
--target=/etc/rhn/rhn.conf, --option=server.satellite.http_proxy=,
--option=server.satellite.http_proxy_username=,
--option=server.satellite.http_proxy_password=, 2>&1, >, /dev/null])
Feb 18 11:34:27 skpkspwk01 server: 2020-02-18 11:34:27,811
[ajp-bio-0:0:0:0:0:0:0:1-8009-exec-4] ERROR
com.redhat.rhn.manager.satellite.SystemCommandExecutor - Error message from
process: sudo: PAM account management error: Authentication service cannot
retrieve authentication info

I then modified /etc/sudoers.d/spacewalk, per the recommendation here

https://access.redhat.com/solutions/20799

Checking /var/log/secure

Feb 18 12:39:27 skpkspwk01 sudo: pam_unix(sudo:account): helper binary
execve failed: Permission denied
Feb 18 12:39:27 skpkspwk01 sudo:  tomcat : PAM account management error:
Authentication service cannot retrieve authentication info ; TTY=unknown ;
PWD=/usr/share/tomcat ; USER=root ; COMMAND=/usr/bin/rhn-config-satellite.pl
--target=/etc/rhn/rhn.conf --option=server.satellite.http_proxy=
--option=server.satellite.http_proxy_username=
--option=server.satellite.http_proxy_password= 2>&1 > /dev/null

I ran 'pwck' and even removed the 'tomcat' entry from /etc/shadow and
re-ran 'pwck'. All to no avail.

Afraid I've run out of places to look.

sudo-1.8.23-4.el7_7.1.x86_64
pam-1.1.8-22.el7.x86_64
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Spacewalk 2.9 on CentOS configuration save error

2020-02-18 Thread Eckert, Doug
Nevermindon a hunch I took a look at SELinux. Set to 'permissive' and
it works. Need to go back and find the selinux configuration steps to set
it back to enforcing.

On Tue, Feb 18, 2020 at 12:44 PM Eckert, Doug 
wrote:

> Just getting Spacewalk 2.9 installed on CentOS 7 (7.7.1908). Browsed to
> the URL for the first time to set configuration items, but get
>
> An error occurred and your satellite configuration changes could not be
> stored. Please contact support for more information
>
> From /var/log/messages
>
> Feb 18 11:34:27 skpkspwk01 server: 2020-02-18 11:34:27,811
> [ajp-bio-0:0:0:0:0:0:0:1-8009-exec-4] ERROR
> com.redhat.rhn.manager.satellite.SystemCommandExecutor - Error encountered
> executing (args=[/usr/bin/sudo, /usr/bin/rhn-config-satellite.pl,
> --target=/etc/rhn/rhn.conf, --option=server.satellite.http_proxy=,
> --option=server.satellite.http_proxy_username=,
> --option=server.satellite.http_proxy_password=, 2>&1, >, /dev/null])
> Feb 18 11:34:27 skpkspwk01 server: 2020-02-18 11:34:27,811
> [ajp-bio-0:0:0:0:0:0:0:1-8009-exec-4] ERROR
> com.redhat.rhn.manager.satellite.SystemCommandExecutor - Error message from
> process: sudo: PAM account management error: Authentication service cannot
> retrieve authentication info
>
> I then modified /etc/sudoers.d/spacewalk, per the recommendation here
>
> https://access.redhat.com/solutions/20799
>
> Checking /var/log/secure
>
> Feb 18 12:39:27 skpkspwk01 sudo: pam_unix(sudo:account): helper binary
> execve failed: Permission denied
> Feb 18 12:39:27 skpkspwk01 sudo:  tomcat : PAM account management error:
> Authentication service cannot retrieve authentication info ; TTY=unknown ;
> PWD=/usr/share/tomcat ; USER=root ; COMMAND=/usr/bin/
> rhn-config-satellite.pl --target=/etc/rhn/rhn.conf
> --option=server.satellite.http_proxy=
> --option=server.satellite.http_proxy_username=
> --option=server.satellite.http_proxy_password= 2>&1 > /dev/null
>
> I ran 'pwck' and even removed the 'tomcat' entry from /etc/shadow and
> re-ran 'pwck'. All to no avail.
>
> Afraid I've run out of places to look.
>
> sudo-1.8.23-4.el7_7.1.x86_64
> pam-1.1.8-22.el7.x86_64
>
>
>
>
>
>
>

-- 
Doug Eckert
LEAD ENGINEER, COMPUTE
[image: NewsTech] 
M: +1.732.666.3681 <+1+555+555+>O: +1.609.520.4993 <+1+555+555+>
E: doug.eck...@dowjones.com 
A: PO Box 300, Princeton, NJ 08543
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] can Spacewalk 2.9 be installed on RHEL 8

2020-02-18 Thread Paul Rontanini
I have an old version 2.4 on RHEL 6
I want to upgrade to the latest on github, which looks to be Spacewalk 2.9
It only lists RHEL 7 compatibility ,   any progress towards RHEL 8?
Is a newer version of Spacewalk coming to a theater nearby soon?


Paul Rontanini
System Engineer
516-237-4687 ( office )
516-591-5563 ( cell )
prontan...@1800flowers.com

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