Re: [Spacewalk-list] chasing ghosts...

2020-02-07 Thread Matthew Madey
Don't believe there is anything in spacecmd or the reports for this, however you can check back through the logfiles on the Spacewalk server in /var/log/rhn/rhn_web_api.log You'll see entries such as this when a server is deleted: [2020-02-07 12:55:05,887] INFO - REQUESTED FROM: 192.168.1.101 CA

Re: [Spacewalk-list] spacewalk repositories & file stores

2020-02-07 Thread Matthew Madey
Take a look at this. I used this script to create public http repos on my Spacewalk server under /var/www/html/pub. It links directly back to the packages already in /var/satellite so there's not much disk space required https://github.com/angrox/spacewalk-api-scripts/tree/master/spacewalk-create-

Re: [Spacewalk-list] "Checked In" vs "OSA Status"

2019-10-22 Thread Matthew Madey
OSA Status relates to the osad daemon running on the client and it's connection to the jabberd server on your Spacewalk server (or proxies). The "Checked In" status relates to rhnsd running on your client, which periodically runs the rhn_check command to check in with the Spacewalk server. The offl

Re: [Spacewalk-list] In light of Satellite 5's inevitable sunset, can you sync official RHEL channels somehow?

2019-07-25 Thread Matthew Madey
I believe this method still works: https://www.suse.com/documentation/suse-best-practices/sbp-sumaforrhel/data/sbp-sumaforrhel.html On Thu, Jul 25, 2019 at 1:40 PM gargunkle wrote: > I'm 90% sure I know the answer to this, but wanted to check if there might > be some good news. > > My organizat

Re: [Spacewalk-list] Really slow unresponsive GUI

2019-03-10 Thread Matthew Madey
Double check the httpd_error log. I occasionally get errors with AJP connector timeout, so apache and tomcat stop communicating. I had to make some modifications to the maxclients settings in the httpd.conf and spacewalk httpd conf files to reduce these occurrences. On Sat, Mar 9, 2019 at 1:20 AM

Re: [Spacewalk-list] Spacewalk - Patching Log Files

2019-01-11 Thread Matthew Madey
Logging on the client isn't enabled by default, but I believe you can get that information by enabling it in the /etc/sysconfig/rhn/up2date config file. writeChangesToLog[comment]=Log to /var/log/up2date which packages has been added and removed writeChangesToLog=1 Otherwise you can query the API

Re: [Spacewalk-list] DIsk usage and limiting number of instances of a package

2018-05-10 Thread Matthew Madey
Is there any way this can be modified to keep "n" number of obsoleted packages? I have a scenario where we need to do cleanup on developer packages.. they may have for instance 100 versions of a package. We need to keep a certain number of those packages around in case of a rollback scenario, but

[Spacewalk-list] Unused packages

2018-02-05 Thread Matthew Madey
I'm looking to do some cleanup of packages in Spacewalk, but not yet sure how to approach the problem. I'd like to identify packages managed by Spacewalk in specific channels that are not installed on any servers. We have many developers pushing content to Spacewalk 24/7. Over time, we end up with

Re: [Spacewalk-list] osa-dispatcher failing to start

2017-09-17 Thread Matthew Madey
The error you got seems as though the wrong packages for jabberd are installed. Did you install jabberd from EPEL or from the RHEL\Spacewalk repo? I'm pretty sure the version in EPEL is not compatible with Satellite\Spacewalk. On Fri, Sep 15, 2017 at 1:06 PM, Vipul Sharma (GDC) wrote: > Check if

Re: [Spacewalk-list] Recent Update from Redhat broke OSAD on RHEL 7 Clients

2017-07-14 Thread Matthew Madey
I have had similar issues. I do not expose my spacewalk server or clients to the RHN Tools repository, I exclusively use the spacewalk repositories. On Fri, Jul 14, 2017 at 12:15 PM, Eric wrote: > Hoping for some input on this. > > Server is RHEL 6, running Spacewalk 2.6 and current with the 2.6

Re: [Spacewalk-list] question regarding yum

2017-06-19 Thread Matthew Madey
It's important to note that you may get different results between these two methods. Scheduling updates via the web interface will update packages to the versions specified in the Errata. Whereas the command line will update to the latest version available in the channel. I've had circumstances whe

Re: [Spacewalk-list] Sync-ing EPEL repo

2017-06-16 Thread Matthew Madey
Check the taskomatic logs and ensure it didn't crash. /var/log/rhn/rhn_taskomatic_daemon.log I would try bouncing the service and see if the metadata get's refreshed. # service taskomatic restart On Fri, Jun 16, 2017 at 8:09 AM, Eckert, Doug wrote: > Just created an EPEL (EL7) channel and syn

Re: [Spacewalk-list] osa-dispatcher init issues, increase debug level?

2017-05-30 Thread Matthew Madey
I believe the value in /etc/rhn/rhn.conf is osa-dispatcher.debug = 7 (7 being most verbose) On Tue, May 30, 2017 at 2:46 PM, Fouts, Christopher < christopher.fo...@teradata.com> wrote: > I’m having the following OSAD server startup issues. How can I increase > the debug level to see more in /var/

Re: [Spacewalk-list] Where are Spacewalk logs when applying patches?

2017-04-28 Thread Matthew Madey
As far as I know, this isn't logged anywhere except the action tables in the database.. You can check /var/log/rhn/rhn_web_api.log, but I don't think it specifically logs those types of events. If you're having an issue with actions not being picked up, I would refer to this: https://github.com/spa

[Spacewalk-list] Error with Errata Clone

2017-03-22 Thread Matthew Madey
Running into an error when running spacewalk-clone-by-date. Here's what I see in the Tomcat logs after running the clone-by-date command: 2017-03-22 17:07:33,649 [TP-Processor969] ERROR com.redhat.rhn.frontend.xmlrpc.BaseHandler - Caused by: com.redhat.rhn.common.hibernate.HibernateRuntimeExceptio

[Spacewalk-list] No new files to upload; exiting

2017-01-17 Thread Matthew Madey
Occasionally, on an initial push of a RPM, I'll get the messages: No new files to upload; exiting. Subsequent pushes of the same package to other channels however, do not produce this message, and the package is properly added to the channels. I'm not seeing any kinds of errors in the taskomatic o

[Spacewalk-list] Error when updating SSL certificates

2016-12-28 Thread Matthew Madey
I've recently converted my old SHA-1 certificate to SHA-2 using the directions outlined here: https://access.redhat.com/solutions/10809 However, during one of the steps, to import the new cert into the database, I'm getting the below error. Any ideas on how I can rectify this? # rhn-ssl-dbstore -

Re: [Spacewalk-list] How to improve WUI performance

2016-10-17 Thread Matthew Madey
est version, especially the > production environment. > > > Thanks > > > Daryl > > > -- > *From:* spacewalk-list-boun...@redhat.com redhat.com> on behalf of Matthew Madey > *Sent:* Thursday, October 13, 2016 4:16 PM > > *To:* sp

Re: [Spacewalk-list] How to improve WUI performance

2016-10-13 Thread Matthew Madey
I would also recommend upgrading to Spacewalk 2.4. I have a Spacewalk environment with 8000 client systems, and clicking on systems would eventually cause a timeout. This issue was fixed after upgrading to version 2.4. On Thu, Oct 13, 2016 at 2:19 PM, Daryl Rose wrote: > Jan-Albert, > > > Thank

Re: [Spacewalk-list] Osad problems

2016-08-31 Thread Matthew Madey
What version of Spacewalk are you running? You likely need to reset the osad credentials on the clients. This typically only occurs when the jabber database has been corrupted. On the clients, run the below commands: rm -f /etc/sysconfig/rhn/osad-auth.conf ; service osad restart You may find th

Re: [Spacewalk-list] No errata for CentOS 7?

2016-08-29 Thread Matthew Madey
You can use the script found here to import errata for Centos http://cefs.steve-meier.de On Aug 29, 2016 12:38 PM, "Daryl Rose" wrote: > I am testing CentOS 7. I just added a channel and repositories, both the > primary repo and the update repo. I added a test server to the channel > and I'l

[Spacewalk-list] Spacewalk Proxy Auth token

2016-08-26 Thread Matthew Madey
I've seen this issue happen a couple times over the years.. it's rare, but has a huge impact. All clients registered to an affected Spacewalk proxy will throw Internal Server Errors and the apache error log on the proxy shows the below error: [Fri Aug 26 11:52:47 2016] [error] File "/usr/share/r

Re: [Spacewalk-list] Spacewalk performance issues

2016-08-08 Thread Matthew Madey
Are you sure it's postgres causing the issue? I run an oracle backend, but ran into similar performance issues when attempting actions on a few hundred systems at a time. I was able to get around this by tweaking some of the tomcat connector settings.. This works pretty well supporting 8000+ hosts.

Re: [Spacewalk-list] OSAD Online but System not checking with SpaceWalk

2016-06-30 Thread Matthew Madey
Ensure the rhnsd service is running on the two servers. On Jun 29, 2016 7:53 PM, "Zeal Vora" wrote: > Hi > > I've 2 systems whose OSAD status is Online however it says that System is > not checking with spacewalk as System status. > > I tried restarting OSAD and everything seems to be proper. > >

[Spacewalk-list] Spacewalk repo sync - erratas skipped due to empty package list

2016-06-14 Thread Matthew Madey
I've recently switched over from MREPO to Pulp.. I've noticed that when I sync Spacewalk with the Pulp repositories for RHEL, that the Errata's in Spacewalk don't match between environments. I have 2 Pulp servers, one in QA and one in Production.. the number of packages and the number of Errata mat

Re: [Spacewalk-list] File deployment fails

2016-06-11 Thread Matthew Madey
Did you try manually fetching the file from the client? You can run rhncfg-client get /file/path you may get a more useful error message that way On Jun 10, 2016 3:21 PM, "Konstantin Raskoshnyi" wrote: > Got this error when registered a new machine > > Client execution returned Prerequisite fail

Re: [Spacewalk-list] OSAD not picking up updates

2016-05-13 Thread Matthew Madey
Are there any errors in /var/log/rhn/osa-dispatcher.log? Also try running the below command on your clients rm -f /etc/sysconfig/rhn/osad-auth.conf; service osad restart If you are running a host firewall or have firewalls in place on your network, ensure port 5222 is open between clients and y

Re: [Spacewalk-list] Questions about setting up a proxy server

2016-04-25 Thread Matthew Madey
t; I see a "Provisioning" check box in the activation key. Is that all I > need, or do I have to install something else? > > > Thank you. > > > Daryl > > > -- > *From:* spacewalk-list-boun...@redhat.com < > spacewalk-list-boun..

Re: [Spacewalk-list] Questions about setting up a proxy server

2016-04-25 Thread Matthew Madey
Just ensure that whatever activation key you're using to register has the provisioning entitlement attached. The Proxy can be registered normally like any other system. There will be a step in the installation to run configure_proxy.sh which enables it as a Spacewalk proxy. On Mon, Apr 25, 2016 at

Re: [Spacewalk-list] Unable to kickstart client with PXE

2016-03-24 Thread Matthew Madey
You need to add the server to cobbler first. That generates the file based on its mac address On Mar 24, 2016 2:52 AM, "Lionel Caignec" wrote: > Hi, > > i'm trying to kickstart machine via PXE boot but i'm stuck with strange at > pxe boot. > > At network boot, my client get a IP, then managed to

[Spacewalk-list] Jabberd continuously corrupted on Spacewalk Proxy?

2015-11-03 Thread Matthew Madey
I have a Spacewalk proxy which had been running fine for over a year, running version 2.2. Occasionally, I'd find that systems failed to connect to the jabber database on the proxy. I would do the recommended fix of "rhn-proxy stop ; rm -rf /var/lib/jabberd/db/* ; rhn-proxy start, which would get t

Re: [Spacewalk-list] API requests overloading Tomcat???

2015-08-27 Thread Matthew Madey
process a reasonable amount of requests without suffering huge performance hits, and backlog the rest. On Thu, Aug 27, 2015 at 1:24 AM, Silvio Moioli wrote: > On 26/08/2015 18:52, Matthew Madey wrote: > >> [Tue Aug 25 04:21:18 2015] [error] (70007)The timeout specified has >> expire

[Spacewalk-list] API requests overloading Tomcat???

2015-08-26 Thread Matthew Madey
I use the API heavily for automation purposes. While load starts to increase on the application server, we reach a breaking point where Spacewalk becomes unresponsive, and throws 500 internal server errors. Listed at the bottom are some of the errors I see when this happens. I'm looking for advice

[Spacewalk-list] Spacewalk repo filters

2015-08-19 Thread Matthew Madey
Currently have the public yum repo for OracleLinux5 configured with the below filters: -*,debuginfo*,kernel* +oracleasm*,libaio*,libstdc*,libgcc*,compat-libstdc*,pdksh* I'd like to exclude everything, except for the packages listed after the "+". Currently the oracleasm packages are being synced

Re: [Spacewalk-list] Need help on one of the spacecmd commands

2015-07-29 Thread Matthew Madey
use spacecmd -q to suppress the top two lines On Tue, Jul 28, 2015 at 6:37 AM, DEBASHISH BOSE wrote: > Hi, > > I have run 2 commands one after the another and here is the output below > > [root@mytestspacewalk ~]# spacecmd -u admin -p admin -s > mytestspacewalk.com "softwarechannel_listbasechann

[Spacewalk-list] spacecmd ports

2015-07-29 Thread Matthew Madey
I had assumed spacecmd only used ports 80 and or 443. Is that not the case? I need to use an http/s proxy in a script to reach a Spacewalk server via spacecmd, but it just times out. After exporting the proxy in my script as a variable, I can wget the login page for the Spacewalk server, but spacec

Re: [Spacewalk-list] critical patching outside of your normal patching cycle

2015-06-16 Thread Matthew Madey
For this sort of instance, I created a Zero Day patch channel all my systems are subscribed to, and simply clone the critical erratas to this channel as needed. On Tue, Jun 16, 2015 at 1:09 PM, Robert Paschedag wrote: > I think I would subscribe the channel, apply the patch and unsubscribe > aga

Re: [Spacewalk-list] Spacewalk Proxies failing to serve large packages

2015-05-11 Thread Matthew Madey
to extend your /tmp partition. > > -Stephen > > > On 05/11/2015 02:39 PM, Matthew Madey wrote: > > Thanks for the responses. No, there are no other proxies between the > > Spacewalk Proxy and client, and I don't have any timeout settings > > specified in rhn.conf,

Re: [Spacewalk-list] Spacewalk Proxies failing to serve large packages

2015-05-11 Thread Matthew Madey
y 11 15:35:22 2015] [error] [client 172.18.138.140] mod_wsgi (pid=25120): Exception occurred processing WSGI script '/usr/share/rhn/wsgi/xmlrpc.py'. [Mon May 11 15:35:22 2015] [error] [client 172.18.138.140] IOError: failed to write data On Mon, May 11, 2015 at 1:39 PM, Matthew Mad

Re: [Spacewalk-list] Spacewalk Proxies failing to serve large packages

2015-05-11 Thread Matthew Madey
ssing WSGI script '/usr/share/rhn/wsgi/xmlrpc.py'. [Fri May 08 18:42:28 2015] [error] [client 172.20.165.201] IOError: failed to write data On Mon, May 11, 2015 at 11:21 AM, Michael Calmer wrote: > Hi, > > Am Freitag, 8. Mai 2015, 17:52:29 schrieb Matthew Madey: > > I'm

[Spacewalk-list] Spacewalk Proxies failing to serve large packages

2015-05-08 Thread Matthew Madey
I'm seeing an issue with packages 300MB and larger being served by Spacewalk proxies. When I run yum install on a client, it gets to 97% of the download or so and fails with the below message: Error Downloading Packages: somepackage.x86_64: failed to retrieve getPackage/somepackage.x86_64.rpm fro

Re: [Spacewalk-list] Generating System Report (spacewalk-report)

2015-05-06 Thread Matthew Madey
Use the system currency report: # spacewalk-report system-currency Example output: system_id,org_id,name,critical,important,moderate,low,bug,enhancement,score 11,2,test.example.com,0,2,1,0,5,4,54 On Wed, May 6, 2015 at 1:08 PM, Darryl Baker wrote: > I would like to regularly genera

[Spacewalk-list] Spacewalk Proxy\Apache not removing file handles from /tmp

2015-04-14 Thread Matthew Madey
Hey all, Just started having this issue on various Spacewalk proxies. (Some are on v2.2, others are v2.0). Apache is not releasing the file handles on deleted files in /tmp, causing /tmp to fill up to 100% # *lsof | egrep " /tmp/|^COMMAND"* COMMAND PIDUSER FD TYPE DE

Re: [Spacewalk-list] Password protected repo

2015-04-02 Thread Matthew Madey
is is that the username and password is in clear text and shows up in the reposync logs. If anyone knows of a better way to do this, please let me know. On Tue, Mar 31, 2015 at 2:28 PM, Matthew Madey wrote: > I have a request to add a repository to Spacewalk that is password > protect

Re: [Spacewalk-list] Export all RPMs from channel

2015-03-16 Thread Matthew Madey
I've created an API script to do just this. Update the SATELLITE_URL, LOGIN, PASSWORD, and channel variables for your environment. softwarechannel_listpackages.py ##BEGIN SCRIPT## #!/usr/bin/python import xmlrpclib import os import sys import subprocess SATELLITE_URL = "http://spacewalk.exampl

[Spacewalk-list] Systems tab times out after upgrade

2015-03-04 Thread Matthew Madey
I've upgraded 2 different Spacewalk environments from 2.0, to 2.2 (First upgrading to 2.1, then 2.2). In both instances, after the upgrade, when I click on the Systems tab, it times out with a 503 error. Every other tab\page works fine, it's just the Systems tab. Has anyone else come across this? I

Re: [Spacewalk-list] Could not connect to search server

2015-03-03 Thread Matthew Madey
Have you tried running service rhn-search cleanindex You might also want to look at the spacecmd command "softwarechannel_regenerateneededcache" The exception though appears to be network related.. are you running a host firewall? Do you have the below ports opened? - Outbound open ports 80,

Re: [Spacewalk-list] Subject: Client shows offline in Spacewalk GUI

2015-03-02 Thread Matthew Madey
Check the osa-dispatcher log on the Spacewalk server for more information: /var/log/rhn/osa-dispatcher.log Also, try this on the client: service osad stop ; rm -f /etc/sysconfig/rhn/osad-auth.conf ; service osad start On Mon, Mar 2, 2015 at 7:01 AM, Deepjoy Choudhury wrote: > Any Suggestions

Re: [Spacewalk-list] Spacewalk 2.2 : Changing ip of a system

2015-02-26 Thread Matthew Madey
On the client system, run rhn-profile-sync. This will update any outdated information (hostname, IP, packages, etc) On Thu, Feb 26, 2015 at 8:51 AM, Domenico Malorni < domenico.malo...@pixartprinting.com> wrote: >Hi, > > I noticed that when I change the ip of a system, spacewalk does not upda

Re: [Spacewalk-list] 1 proxy cant download channel's /repodata/primary.xml.gz

2015-02-20 Thread Matthew Madey
I would look at your squid logs for more information. I've had some weird situations with packages that didn't get cached correctly and caused problems. As a last resort I cleared the whole squid cache and bounced the proxy services.. but hopefully you can find the root cause in the squid logs. rm

Re: [Spacewalk-list] Machine getting the wrong hostname

2015-02-13 Thread Matthew Madey
ewalk-list-boun...@redhat.com [mailto: > spacewalk-list-boun...@redhat.com] *On Behalf Of *Matthew Madey > *Sent:* Thursday, February 12, 2015 5:12 PM > > *To:* spacewalk-list@redhat.com > *Subject:* Re: [Spacewalk-list] Machine getting the wrong hostname > > > > You can just c

Re: [Spacewalk-list] Problem with OSA (SSL error message)

2015-02-13 Thread Matthew Madey
er along with > clients talking to both the proxies and directly to the Spacewalk server. > > Thanks for your prompt response. > > Brian > > BM > > On Thu, Feb 12, 2015 at 9:24 PM, Matthew Madey > wrote: > >> Check /etc/rhn/rhn.conf and make

Re: [Spacewalk-list] Problem with OSA (SSL error message)

2015-02-12 Thread Matthew Madey
Check /etc/rhn/rhn.conf and make sure the below 2 variables match the hostname of your Spacewalk server server.jabber_server = yourspacewalk.server.com osa-dispatcher.jabber_server = yourspacewalk.server.com Also, verify that the hostname listed in your SSL certificate matches the hostname of you

Re: [Spacewalk-list] Machine getting the wrong hostname

2015-02-12 Thread Matthew Madey
warranty is given that this E-mail and > any attachments are virus free. You should ensure you have adequate > measures in place for your own virus checking. > > > > *From:* spacewalk-list-boun...@redhat.com [mailto: > spacewalk-list-boun...@redhat.com] *On Behalf Of *Matthew Madey

Re: [Spacewalk-list] Machine getting the wrong hostname

2015-02-11 Thread Matthew Madey
When I do rhnreg_ks I specify the profile name as the fully qualified domain name, like this: rhnreg_ks --serverUrl=https://spacewalk/XMLRPC --profilename=`hostname -f` --activationkey=1-blabla On Wed, Feb 11, 2015 at 5:03 PM, Brian Kinney wrote: > The DNS may not match the actual “hostname” of

Re: [Spacewalk-list] osa-dispatcher failing. openssl error / unexpected eof

2015-02-11 Thread Matthew Madey
You can try the following to regenerate the jabberd database (it tends to corrupt itself frequently for no apparent reason) On the Spacewalk server run: service jabberd stop service osa-dispatcher stop rm -Rf /var/lib/jabberd/db/* service jabberd start service osa-dispatcher start Wait about 5

Re: [Spacewalk-list] Register Client to a Spacewalk Proxy Server

2015-02-06 Thread Matthew Madey
On your proxy server, you should have a certificate called RHN-ORG-TRUSTED-SSL-CERT goto: http://yourproxyserver/pub/ This needs to be downloaded to the client being registered under /usr/share/rhn, and update /etc/sysconfig/rhn/up2date to point to this file instead of RHNS-CA-CERT. Example: sslC

Re: [Spacewalk-list] Why does one of my clients have a question mark next to it's name?

2015-01-28 Thread Matthew Madey
That means it's not checking in with Spacewalk. Verify that the rhnsd service is running on the client system. # service rhnsd status Without that service running the client won't periodically check-in with Spacewalk and thus has an unknown status. You can force the client to check-in manually by r

Re: [Spacewalk-list] Unable to register clients

2015-01-28 Thread Matthew Madey
to talk to the wrong url. Where > can I edit that URL? It’s not in rhn_check… > Thanks btw > > Mike Anderson | Systems Engineer | PaySpan®, Inc. > > Two Ravinia Drive, Suite 1710, Atlanta, GA 30346 | (404) 665-3020 > > mike.ander...@payspan.com > > From: Matthew Mad

Re: [Spacewalk-list] Full server rebuild - Best practice to rejoin it to SpaceWalk

2015-01-28 Thread Matthew Madey
If you haven't removed the system from Spacewalk yet.. you can easily re-register it using the re-activation key. Click on the system in Spacewalk, Click the Reactivation tab, and Generate new key. You'll have to use the force option unless you do the following on the client # rm -f /etc/sysconfig/

Re: [Spacewalk-list] Unable to register clients

2015-01-28 Thread Matthew Madey
Two things I would check right off the bat: 1. Name resolution to your spacewalk server. The error "up2date A socket error occurred: [Errno -2] Name or service not known" Can sometimes happen due to the client being unable to resolve an IP from the Spacewalk hostname listed in the /etc/sysconfig/r

Re: [Spacewalk-list] Redhat CDN Support?

2015-01-21 Thread Matthew Madey
No, you will have to use mrepo or pulp. I recommend pulp. I have a separate server running pulp to pull down packages nightly, then sync spacewalk with the pulp repo On Jan 21, 2015 2:44 PM, "Ciro Iriarte" wrote: > > Hi!, is it possible to download packages directory from the Redhat CDN using spa

[Spacewalk-list] Maximum Concurrent Kickstarts?

2015-01-20 Thread Matthew Madey
Hey everyone, We are having issues kickstarting more than 10 systems at the same time. We are seeing errors ranging from Missing file\corrupt packages, to cobbler not creating the configuration file in /var/lib/tftpboot. If we keep the number around 5 or lower, we don't see any issues and kickstar

Re: [Spacewalk-list] Query current OSA clients

2015-01-20 Thread Matthew Madey
Here is a python script I wrote for reporting. It will return the hostname and OSA status for every registered client, and is much faster than using spacecmd. You could wrap it in a shell script to return only the systems you're looking for, or if you're familiar with python just adjust the code to

Re: [Spacewalk-list] general inquiry about client install/registration

2015-01-19 Thread Matthew Madey
Another option, if you are familiar with creating custom RPM's, is to simply create an RPM that contains the prerequisite packages and their dependencies. Upon installation of the RPM on the client, the needed packages for registration are extracted and installed locally. You can even add in a scri

Re: [Spacewalk-list] Osad timeout

2015-01-18 Thread Matthew Madey
Check for errors in the /var/log/rhn/rhn_server_xmlrpc.log logfile. The client's OSAD credentials may not be good anymore. You can try this: On the client system, run: # service osad stop ; rm -f /etc/sysconfig/rhn/osad-auth.conf ; service osad start Worst case scenario, you need to rebuild the

Re: [Spacewalk-list] Register Client to a Spacewalk Proxy Server

2015-01-16 Thread Matthew Madey
Ensure the following ports are open on your Spacewalk Proxy: 80 443 5222 5269 On Fri, Jan 16, 2015 at 12:37 PM, Uwanna, Chukwuma (NIH/NCI) [C] < chukwuma.uwa...@nih.gov> wrote: > Hello Nick/Tux Consult, > > > > > > Thanks for responding. I have done everything you recommended even > before I

Re: [Spacewalk-list] Clients registered with spacwalk proxy does not pick up scheduled actions

2015-01-14 Thread Matthew Madey
When you look at your client in WebUI, does the OSA status say "online"? The Spacewalk proxy server runs it's own instance of jabberd, and has a jabber database. If your client was previously registered directly to the Spacewalk server, it's osad credentials are no longer valid. I'd recommend doing

Re: [Spacewalk-list] Unable to startup osa-dispatcher with 'Can't locate Config/IniFiles.pm in @INC' message

2015-01-09 Thread Matthew Madey
There are additional steps after upgrade to re-enable monitoring. Did you do the following? 1. Enable (or re-enable) monitoring (and monitoring scout). - If you wish to enable (or re-enable) monitoring without enabling monitoring scout, run the following command as root: # /usr/share/

Re: [Spacewalk-list] Clone channel management for monthly patching

2015-01-05 Thread Matthew Madey
You can accomplish this via the spacewalk-clone-by-date command. I do a similar thing for monthly patching, but I clone all the erratas up to a specific date into my patching channel. For what you are trying to do, I would have your CentOS 6 Updates channel updated daily, and use spacewalk-clone-by

Re: [Spacewalk-list] command to delete system from Spacewalk

2015-01-05 Thread Matthew Madey
You can do it easily from the Spacewalk server using spacecmd. # spacecmd system_delete system.example.com spacecmd {SSM:0}> system_delete system_delete: Delete a system profile usage: system_delete can be any of the following: name ssm (see 'help ssm') search:QUERY (see 'help system_search')

Re: [Spacewalk-list] Reg:OSA-dispatcher is not running

2014-12-23 Thread Matthew Madey
It's a parsing error in your configuration on line 60 of /etc/rhn/rhn.conf Check for syntax errors on or around line 60 of /etc/rhn/rhn.conf and verify that you have the fully qualified host name of your spacewalk server set as the server.jabber_server and osa-dispatcher.jabber_server variables. O

Re: [Spacewalk-list] Error when trying to update Spacewalk server from itself.

2014-12-11 Thread Matthew Madey
I assume you've already tried running "yum clean metadata" on the Spacewalk server you're trying to patch? Did you register it directly to itself, or via a Spacewalk Proxy? On Thu, Dec 11, 2014 at 10:53 AM, Matt Bayliss wrote: > I am testing a Spacewalk 2.2 server with a connected proxy and thr

[Spacewalk-list] Taskomatic Bug in 2.2?

2014-12-03 Thread Matthew Madey
I currently use an Oracle database with Spacewalk 2.2. We have a primary and standby database server. However, Taskomatic seems to try and connect to the standby which is read only. This happens every couple of days.. and causes the taskomatic to stop working. Restarting the service brings it back

Re: [Spacewalk-list] redhat channel in spacewalk

2014-12-02 Thread Matthew Madey
Yes, For Red Hat channels you basically have 2 options since you can't sync directly with Red Hat from Spacewalk 1. mrepo 2. pulp Personally I'd recommend using Pulp. We've been using mrepo for years, but Pulp is much easier to support and doesn't require any special scripts to process Red Hat E

Re: [Spacewalk-list] Packages not in a channel

2014-11-21 Thread Matthew Madey
Did the sync complete? One of the last steps of spacewalk-repo-sync is to link the packages to the channel. You can check the logs under /var/log/rhn/reposync and /var/log/rhn/rhn_taskomatic_daemon.log to see the progress. Packages will show up in the Packages in no channels view until the sync com

Re: [Spacewalk-list] Advice on Repo Configuration

2014-11-21 Thread Matthew Madey
Unless you have a requirement to stay at 6.5, I'd recommend just setting your repo to: http://mirror.centos.org/centos/6/os/x86_64/ and http://mirror.centos.org/centos/6/updates/x86_64/ This way you'll always have the latest packages for CentOS6. This is the way I have it configured. Clients will s

Re: [Spacewalk-list] Management of baselines

2014-11-21 Thread Matthew Madey
gt; > Matt Micene > > Solution Architect > > RHCA# 100-002-435 > > Direct 703-773-1195 > > > > *From:* spacewalk-list-boun...@redhat.com [ > mailto:spacewalk-list-boun...@redhat.com > ] *On Behalf Of *Szabo, Marc > *Sent:* Thursday, November 20, 2014

Re: [Spacewalk-list] Management of baselines

2014-11-20 Thread Matthew Madey
> Direct 703-773-1195 > > > > *From:* spacewalk-list-boun...@redhat.com [ > mailto:spacewalk-list-boun...@redhat.com > ] *On Behalf Of *Szabo, Marc > *Sent:* Thursday, November 20, 2014 11:17 AM > *To:* spacewalk-list@redhat.com > *Subject:* Re: [Spacewalk-list] Manage

Re: [Spacewalk-list] Management of baselines

2014-11-20 Thread Matthew Madey
This can easily be done, and I do something similar, but sync all Errata's on a monthly basis on patch tuesday. Create your baseline channel that is fully up to date. Sync this baseline channel nightly, so it's always current, but don't keep any systems subscribed to it. Clone that channel, and us

Re: [Spacewalk-list] Low bandwidth locations

2014-11-19 Thread Matthew Madey
iosamente > Waldirio > msn: waldi...@gmail.com > Skype: waldirio > Site: www.waldirio.com.br > Blog: blog.waldirio.com.br > LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646 > PGP: www.waldirio.com.br/public.html > > On Tue, Nov 18, 2014 at 2:20 PM, Matthew Madey

[Spacewalk-list] Low bandwidth locations

2014-11-18 Thread Matthew Madey
All, I've run into a situation where my total metadata for channels has grown quite large (about 200MB). I've done all I can as far as channel\package management to reduce the size of the metadata.. We have a number of locations where the bandwidth to the clients is extremely small.. So downloadin

Re: [Spacewalk-list] Squid Proxy for Spacewalk

2014-11-10 Thread Matthew Madey
I would just go ahead with the Spacewalk Proxy, even if you don't care about caching packages.. We register all clients through the Spacewalk proxies, and our Spacewalk servers (Primary and Standby) sit behind a load balancer. This way we force compliance at the Proxy level.. no clients can communi

Re: [Spacewalk-list] Spacewalk Web panel login issue

2014-11-05 Thread Matthew Madey
Were Spacewalk services running during the upgrade? This can cause issues.. the only service that should be running when doing an upgrade is the database.. otherwise you'll end up with strange problems. Restart services and check /var/log/rhn/rhn_web_api.log for errors. On Wed, Nov 5, 2014 at 5:59

Re: [Spacewalk-list] Workaround for Bug 1150295

2014-10-29 Thread Matthew Madey
That could certainly work. Our workaround for now is to schedule the reboot as a script instead of the API reboot action. On Tue, Oct 28, 2014 at 9:46 AM, Glen Collins wrote: > Hi all. Does anyone have a clean workaround for Bug 1150295 > "Sc

Re: [Spacewalk-list] Spacewalk performance tuning for deployments with 1000+ hosts

2014-10-29 Thread Matthew Madey
i get : > > > Service Temporarily Unavailable > > > > The server is temporarily unable to service your request due to > maintenance downtime or capacity problems. Please try again later. > > > > > 2014-10-28 17:41 GMT+01:00 Matthew Madey : > >> >&

Re: [Spacewalk-list] Spacewalk performance tuning for deployments with 1000+ hosts

2014-10-28 Thread Matthew Madey
Here are some configurations you might find helpful for tuning Apache\Tomcat\Java\Networking.. Like others have mentioned.. when you get over 1000+ clients, it's a good idea to start scaling horizontally with Spacewalk Proxies. We use 4 proxies in our production environment and are servicing 8000+

Re: [Spacewalk-list] System Profiles

2014-10-22 Thread Matthew Madey
Spacewalk creates snapshots when a system's package manifest changes. You can find it under the provisioning tab for a profile. You can rollback to a previous snapshot if needed. I'd recommend using that feature rather than system profiles. I don't think having hundreds of saved profiles will hurt

Re: [Spacewalk-list] Recommendations for Tuning Spacewalk

2014-10-13 Thread Matthew Madey
We use Oracle, so I don't know any of the Postgres tunings.. but here are some you might find helpful for tuning Apache\Tomcat\Java\Networking Add maxThreads to /etc/tomcat6/server.xml Tune Apache to service more requests /etc/httpd/conf.d/zz-spacewalk-server

Re: [Spacewalk-list] Spacewalk CPU lack / Scaling

2014-10-13 Thread Matthew Madey
ain > > Sebastien > > > > *De :* spacewalk-list-boun...@redhat.com [mailto: > spacewalk-list-boun...@redhat.com] *De la part de* Matthew Madey > *Envoyé :* vendredi 10 octobre 2014 18:25 > *À :* spacewalk-list@redhat.com > *Objet :* Re: [Spacewalk-list] Spacewalk CPU lack

Re: [Spacewalk-list] Patching your Spacewalk server (OS Level)

2014-10-10 Thread Matthew Madey
Same here, register Spacewalk server to itself as a client and patch. Previously we were just pointing it to our MREPO server. On Fri, Oct 10, 2014 at 3:24 PM, Avi Miller wrote: > Hi, > > On 11 Oct 2014, at 3:04 am, Glen Collins wrote: > > > I've just got a curious question. How do you all

Re: [Spacewalk-list] Spacewalk CPU lack / Scaling

2014-10-10 Thread Matthew Madey
We had a similar issue with Tomcat.. our Spacewalk server has 8000+ clients and is now running smoothly after some performance tuning. See the code snippets below, hopefully they'll help you out. Add maxThreads to /etc/tomcat6/server.xml Tune Apache to service mor

[Spacewalk-list] Schedule Reboot (Spacewalk 2.2 bug?)

2014-10-06 Thread Matthew Madey
Hey all, I've recently upgraded one of our Spacewalk environments from 2.0 to 2.2, following the instructions found here: https://fedorahosted.org/spacewalk/wiki/HowToUpgrade I first upgraded to 2.1, rebooted all systems (Spacewalk core, database server, and proxies), then upgraded to 2.2, reboote

Re: [Spacewalk-list] RHEL7 Errata Spacewalk 2.2

2014-10-01 Thread Matthew Madey
Here's the guide that I followed: http://pulp-user-guide.readthedocs.org/en/pulp-2.4/installation.html On Tue, Sep 30, 2014 at 11:07 PM, Gavin Jones wrote: > Sorry for the annyoance Paul however I go to > https://www.redhat.com/archives/spacewalk-list/ and I cannot locate a > search option, > >

Re: [Spacewalk-list] RHEL7 Errata Spacewalk 2.2

2014-09-30 Thread Matthew Madey
I'm currently using Pulp to download RHEL7 packages from RedHat. Then I just point my channel to the RHEL7 Pulp repo and it imports the Errata seamlessly with Spacewalk 2.2. On Tue, Sep 30, 2014 at 8:22 PM, Gavin Jones wrote: > Hi is there a way to bring RHEL7 Errata into Spacewalk 2.2? > > Than

Re: [Spacewalk-list] Patch Repositories - Monthly Patching

2014-09-26 Thread Matthew Madey
We create a "Baseline" channel that is sync'd nightly, so it always has the most recent patches. Then, on Patch Tuesday, we execute a spacewalk-clone-by-date to whatever that day is. We've had similar instances where a critical patch came out and our Security team wanted it in our channels immediat

Re: [Spacewalk-list] Client Install - OSAD Question

2014-09-23 Thread Matthew Madey
The OSA status should appear very shortly after osad is installed and the service is started. If this is not the case there may be issues with your OSA configuration. On Sep 23, 2014 9:53 AM, "Glen Collins" wrote: > Hello all. > > Now this maybe a little picky but I figure I would ask just in

Re: [Spacewalk-list] Clients not uprading software

2014-08-29 Thread Matthew Madey
', 1290) > 2014/08/29 13:28:29 -04:00 17700 0.0.0.0: osad/jabber_lib.process_forever > > I'm not sure what to make of it. An SSL problem? I can see the packages > awaiting > upgrade for the various clients. They just don't get installed. Arrgh. > > Dim

Re: [Spacewalk-list] Clients not uprading software

2014-08-29 Thread Matthew Madey
Did you upgrade your clients' Spacewalk packages? I had issues with OSAD and clients picking up actions until I upgraded my clients using the new 2.2 client repo: http://yum.spacewalkproject.org/2.2-client/ Also check /var/log/rhn/osa_dispatcher.log on your Spacewalk server for any errors. You may

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

2014-08-07 Thread Matthew Madey
Did you upgrade your client's Spacewalk related packages? There is a 2.2 client repo and new packages for clients. I had issues with OSAD when I upgraded from 2.1 to 2.2. I switched my clients over to the 2.2 - client repo and did a yum upgrade. Everything has worked flawlessly since. On Thu, Aug

  1   2   >