[Spacewalk-list] Spacewalk not pushing packages.
Hi, First post. I've installed and setup Spacewalk on a CentOS 5.8 machine (all of my clients are CentOS 5.8 32 and 64 bit) I have configured Spacewalk to download various CentOS and other repositories and all the clients are registered with the server and have osad installed and running. Spacewalk shows that each client is registered and requires a various number of update packages but, apart from a job appearing in the Schedule Pending Actions when I send packages, nothing much happens. Eventually it fails. The other thing I don't understand is that unless I have .repo files under /etc/yum.repo.d/ for repositories which can supply the update packages, when I do yum update I get no results - despite Spacewalk telling me that there should be. Also, when I DO add .repo files under /etc/yum.repo.d/ that point to repositories which can supply the update packages the downloaded packages come from those external servers rather than the local Spacewalk server. I must have something configured incorrectly. Any pointers? Steve -- = Steven J. Reilly, EDA Engineer Allegro Microsystems Europe Ltd Adam Ferguson House, Eskmills Park, Musselburgh, EH21 7PQ, Scotland. Tel:+44 (0)131 273 4306 Fax:+44 (0)131 273 4301 e-mail: srei...@allegromicro.com Any views expressed by me in this mail are mine ... all mine! Tux-power! Sent from Thunderbird on Linux Mint 13 (xfce) ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Spacewalk not pushing packages.
Steven, What do you get for output when you do this on a client: Yum --verbose repolist ? Robert -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Steven Reilly Sent: Wednesday, October 17, 2012 10:00 AM To: spacewalk-list@redhat.com Subject: [Spacewalk-list] Spacewalk not pushing packages. Hi, First post. I've installed and setup Spacewalk on a CentOS 5.8 machine (all of my clients are CentOS 5.8 32 and 64 bit) I have configured Spacewalk to download various CentOS and other repositories and all the clients are registered with the server and have osad installed and running. Spacewalk shows that each client is registered and requires a various number of update packages but, apart from a job appearing in the Schedule Pending Actions when I send packages, nothing much happens. Eventually it fails. The other thing I don't understand is that unless I have .repo files under /etc/yum.repo.d/ for repositories which can supply the update packages, when I do yum update I get no results - despite Spacewalk telling me that there should be. Also, when I DO add .repo files under /etc/yum.repo.d/ that point to repositories which can supply the update packages the downloaded packages come from those external servers rather than the local Spacewalk server. I must have something configured incorrectly. Any pointers? Steve -- = Steven J. Reilly, EDA Engineer Allegro Microsystems Europe Ltd Adam Ferguson House, Eskmills Park, Musselburgh, EH21 7PQ, Scotland. Tel:+44 (0)131 273 4306 Fax:+44 (0)131 273 4301 e-mail: srei...@allegromicro.com Any views expressed by me in this mail are mine ... all mine! Tux-power! Sent from Thunderbird on Linux Mint 13 (xfce) ___ 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 not pushing packages.
Robert, It looks valid enough. yum --verbose repolist Loading rhnplugin plugin Loading fastestmirror plugin Loading priorities plugin Loading security plugin Config time: 0.046 Looking for repo options for [main] Looking for repo options for [centos5-base-x86_64] Repo 'centos5-base-x86_64' setting option 'enabled' = '1' Repo 'centos5-base-x86_64' setting option 'gpgcheck' = '0' Looking for repo options for [rpmforge-el5-x86_64] Repo 'rpmforge-el5-x86_64' setting option 'enabled' = '1' Repo 'rpmforge-el5-x86_64' setting option 'gpgcheck' = '0' Looking for repo options for [spacewalk-client-el5-x86_64] Repo 'spacewalk-client-el5-x86_64' setting option 'enabled' = '1' Repo 'spacewalk-client-el5-x86_64' setting option 'gpgcheck' = '0' Looking for repo options for [centos5-extras-x86_64] Repo 'centos5-extras-x86_64' setting option 'enabled' = '1' Repo 'centos5-extras-x86_64' setting option 'gpgcheck' = '0' Looking for repo options for [centos5-updates-x86_64] Repo 'centos5-updates-x86_64' setting option 'enabled' = '1' Repo 'centos5-updates-x86_64' setting option 'gpgcheck' = '0' Yum Version: 3.2.22 Loading mirror speeds from cached hostfile centos5-base-x86_64 | 871 B 00:00 centos5-extras-x86_64 | 871 B 00:00 centos5-updates-x86_64 | 871 B 00:00 rpmforge-el5-x86_64 | 871 B 00:00 spacewalk-client-el5-x86_64 | 871 B 00:00 Setting up Package Sacks pkgsack time: 0.021 Repo-id : centos5-base-x86_64 Repo-name: CentOS 5 Base - x86_64 Repo-updated : Wed Oct 10 15:00:58 2012 Repo-pkgs: 3,590 Repo-size: 4.6 G Repo-baseurl : http://edcswalk.eng.allegro.msad/XMLRPC/GET-REQ/centos5-base-x86_64 Repo-expire : 3,600 second(s) (last: Wed Oct 17 15:42:15 2012) Repo-id : centos5-extras-x86_64 Repo-name: CentOS 5 Extras - x86_64 Repo-updated : Wed Oct 10 15:21:25 2012 Repo-pkgs: 274 Repo-size: 157 M Repo-baseurl : http://edcswalk.eng.allegro.msad/XMLRPC/GET-REQ/centos5-extras-x86_64 Repo-expire : 3,600 second(s) (last: Wed Oct 17 15:42:15 2012) Repo-id : centos5-updates-x86_64 Repo-name: CentOS 5 Updates - x86_64 Repo-updated : Wed Oct 10 00:15:03 2012 Repo-pkgs: 1,083 Repo-size: 5.0 G Repo-baseurl : http://edcswalk.eng.allegro.msad/XMLRPC/GET-REQ/centos5-updates-x86_64 Repo-expire : 3,600 second(s) (last: Wed Oct 17 15:42:15 2012) Repo-id : rpmforge-el5-x86_64 Repo-name: RPMforge EL5 - x86_64 Repo-updated : Sat Oct 6 14:32:11 2012 Repo-pkgs: 11,148 Repo-size: 5.8 G Repo-baseurl : http://edcswalk.eng.allegro.msad/XMLRPC/GET-REQ/rpmforge-el5-x86_64 Repo-expire : 3,600 second(s) (last: Wed Oct 17 15:42:15 2012) Repo-id : spacewalk-client-el5-x86_64 Repo-name: Spacewalk Client - EL5 - x86_64 Repo-updated : Sat Oct 6 14:33:25 2012 Repo-pkgs: 21 Repo-size: 1.9 M Repo-baseurl : http://edcswalk.eng.allegro.msad/XMLRPC/GET-REQ/spacewalk-client-el5-x86_64 Repo-expire : 3,600 second(s) (last: Wed Oct 17 15:42:15 2012) repolist: 16,116 The machine I ran it on has 5 updates showing in Spacewalk BUT when I click to see which patches I see 8?! Running yum update on the client gives no updates (none in yumex either) Steve On 17/10/12 15:22, Boyd, Robert wrote: Steven, What do you get for output when you do this on a client: Yum --verbose repolist ? Robert -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Steven Reilly Sent: Wednesday, October 17, 2012 10:00 AM To: spacewalk-list@redhat.com Subject: [Spacewalk-list] Spacewalk not pushing packages. Hi, First post. I've installed and setup Spacewalk on a CentOS 5.8 machine (all of my clients are CentOS 5.8 32 and 64 bit) I have configured Spacewalk to download various CentOS and other repositories and all the clients are registered with the server and have osad installed and running. Spacewalk shows that each client is registered and requires a various number of update packages but, apart from a job appearing in the Schedule Pending Actions when I send packages, nothing much happens. Eventually it fails. The other thing I don't understand is that unless I have .repo files under /etc/yum.repo.d/ for repositories which can supply the update packages, when I do yum update I get no results - despite Spacewalk telling me that there should be. Also, when I DO add .repo files under /etc/yum.repo.d/ that point to repositories which can supply the update packages the downloaded packages come from those external servers rather than the local Spacewalk server. I must have something configured incorrectly. Any pointers? Steve
Re: [Spacewalk-list] Spacewalk not pushing packages.
Steve -- I agree -- that looks fairly similar to what I have on typical clients. What if you do this on the client end: yum --verbose check-update ? And have you dug around in the rhn or httpd logs on either end? Robert -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Steven Reilly Sent: Wednesday, October 17, 2012 10:52 AM To: spacewalk-list@redhat.com Subject: Re: [Spacewalk-list] Spacewalk not pushing packages. Robert, It looks valid enough. yum --verbose repolist Loading rhnplugin plugin Loading fastestmirror plugin Loading priorities plugin Loading security plugin Config time: 0.046 Looking for repo options for [main] Looking for repo options for [centos5-base-x86_64] Repo 'centos5-base-x86_64' setting option 'enabled' = '1' Repo 'centos5-base-x86_64' setting option 'gpgcheck' = '0' Looking for repo options for [rpmforge-el5-x86_64] Repo 'rpmforge-el5-x86_64' setting option 'enabled' = '1' Repo 'rpmforge-el5-x86_64' setting option 'gpgcheck' = '0' Looking for repo options for [spacewalk-client-el5-x86_64] Repo 'spacewalk-client-el5-x86_64' setting option 'enabled' = '1' Repo 'spacewalk-client-el5-x86_64' setting option 'gpgcheck' = '0' Looking for repo options for [centos5-extras-x86_64] Repo 'centos5-extras-x86_64' setting option 'enabled' = '1' Repo 'centos5-extras-x86_64' setting option 'gpgcheck' = '0' Looking for repo options for [centos5-updates-x86_64] Repo 'centos5-updates-x86_64' setting option 'enabled' = '1' Repo 'centos5-updates-x86_64' setting option 'gpgcheck' = '0' Yum Version: 3.2.22 Loading mirror speeds from cached hostfile centos5-base-x86_64 | 871 B 00:00 centos5-extras-x86_64 | 871 B 00:00 centos5-updates-x86_64 | 871 B 00:00 rpmforge-el5-x86_64 | 871 B 00:00 spacewalk-client-el5-x86_64 | 871 B 00:00 Setting up Package Sacks pkgsack time: 0.021 Repo-id : centos5-base-x86_64 Repo-name: CentOS 5 Base - x86_64 Repo-updated : Wed Oct 10 15:00:58 2012 Repo-pkgs: 3,590 Repo-size: 4.6 G Repo-baseurl : http://edcswalk.eng.allegro.msad/XMLRPC/GET-REQ/centos5-base-x86_64 Repo-expire : 3,600 second(s) (last: Wed Oct 17 15:42:15 2012) Repo-id : centos5-extras-x86_64 Repo-name: CentOS 5 Extras - x86_64 Repo-updated : Wed Oct 10 15:21:25 2012 Repo-pkgs: 274 Repo-size: 157 M Repo-baseurl : http://edcswalk.eng.allegro.msad/XMLRPC/GET-REQ/centos5-extras-x86_64 Repo-expire : 3,600 second(s) (last: Wed Oct 17 15:42:15 2012) Repo-id : centos5-updates-x86_64 Repo-name: CentOS 5 Updates - x86_64 Repo-updated : Wed Oct 10 00:15:03 2012 Repo-pkgs: 1,083 Repo-size: 5.0 G Repo-baseurl : http://edcswalk.eng.allegro.msad/XMLRPC/GET-REQ/centos5-updates-x86_64 Repo-expire : 3,600 second(s) (last: Wed Oct 17 15:42:15 2012) Repo-id : rpmforge-el5-x86_64 Repo-name: RPMforge EL5 - x86_64 Repo-updated : Sat Oct 6 14:32:11 2012 Repo-pkgs: 11,148 Repo-size: 5.8 G Repo-baseurl : http://edcswalk.eng.allegro.msad/XMLRPC/GET-REQ/rpmforge-el5-x86_64 Repo-expire : 3,600 second(s) (last: Wed Oct 17 15:42:15 2012) Repo-id : spacewalk-client-el5-x86_64 Repo-name: Spacewalk Client - EL5 - x86_64 Repo-updated : Sat Oct 6 14:33:25 2012 Repo-pkgs: 21 Repo-size: 1.9 M Repo-baseurl : http://edcswalk.eng.allegro.msad/XMLRPC/GET-REQ/spacewalk-client-el5-x86_64 Repo-expire : 3,600 second(s) (last: Wed Oct 17 15:42:15 2012) repolist: 16,116 The machine I ran it on has 5 updates showing in Spacewalk BUT when I click to see which patches I see 8?! Running yum update on the client gives no updates (none in yumex either) Steve ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Spacewalk not pushing packages.
Hi Robert, A note. /etc/yum.repos.d/ on the client does NOT contain .repo files referencing these Repos. Just ones that I couldn't figure how to get to work with Spacewalk (Adobe and a local RPM repo) I had a look at loads of log files. Which ones are the most relevant - I couldn't decide? yum --verbose check-update Loading rhnplugin plugin Loading fastestmirror plugin Loading priorities plugin Loading security plugin Config time: 0.046 Looking for repo options for [main] Looking for repo options for [centos5-base-x86_64] Repo 'centos5-base-x86_64' setting option 'enabled' = '1' Repo 'centos5-base-x86_64' setting option 'gpgcheck' = '0' Looking for repo options for [rpmforge-el5-x86_64] Repo 'rpmforge-el5-x86_64' setting option 'enabled' = '1' Repo 'rpmforge-el5-x86_64' setting option 'gpgcheck' = '0' Looking for repo options for [spacewalk-client-el5-x86_64] Repo 'spacewalk-client-el5-x86_64' setting option 'enabled' = '1' Repo 'spacewalk-client-el5-x86_64' setting option 'gpgcheck' = '0' Looking for repo options for [centos5-extras-x86_64] Repo 'centos5-extras-x86_64' setting option 'enabled' = '1' Repo 'centos5-extras-x86_64' setting option 'gpgcheck' = '0' Looking for repo options for [centos5-updates-x86_64] Repo 'centos5-updates-x86_64' setting option 'enabled' = '1' Repo 'centos5-updates-x86_64' setting option 'gpgcheck' = '0' Yum Version: 3.2.22 Setting up Package Sacks Loading mirror speeds from cached hostfile centos5-base-x86_64 | 871 B 00:00 centos5-extras-x86_64 | 871 B 00:00 centos5-updates-x86_64 | 871 B 00:00 rpmforge-el5-x86_64 | 871 B 00:00 spacewalk-client-el5-x86_64 | 871 B 00:00 Skipping security plugin, no data pkgsack time: 0.284 rpmdb time: 0.000 Building updates object up:Obs Init time: 0.407 up:simple updates time: 0.083 up:obs time: 0.003 up:condense time: 0.000 updates time: 1.629 Steve On 17/10/12 16:57, Boyd, Robert wrote: yum --verbose check-update -- = Steven J. Reilly, EDA Engineer Allegro Microsystems Europe Ltd Adam Ferguson House, Eskmills Park, Musselburgh, EH21 7PQ, Scotland. Tel:+44 (0)131 273 4306 Fax:+44 (0)131 273 4301 e-mail: srei...@allegromicro.com Any views expressed by me in this mail are mine ... all mine! Tux-power! Sent from Thunderbird on Linux Mint 13 (xfce) ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list