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

Fouts, Christopher Christopher.Fouts at Teradata.com
Mon May 8 18:57:46 UTC 2017


I meant SW “client.” So if I do yum info osad* on a client that has been registered to my SW server, I see.

# yum info osad*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.cogentco.com
* epel: mirror.cogentco.com
* extras: mirrors.greenmountainaccess.net
* updates: mirror.cs.vt.edu
Error: No matching Packages to list

Chris

From: <spacewalk-list-bounces at redhat.com> on behalf of "Fouts, Christopher" <Christopher.Fouts at Teradata.com>
Reply-To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
Date: Monday, May 8, 2017 at 2:50 PM
To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
Subject: Re: [Spacewalk-list] Where are Spacewalk logs when applying patches?

Reading this https://github.com/spacewalkproject/spacewalk/wiki/OSADSetup#ServerSetup

I’m trying to install OSAD on my SW server, but I get this?

# yum info osad*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.cogentco.com
* epel: mirror.cogentco.com
* extras: mirrors.greenmountainaccess.net
* updates: mirror.cs.vt.edu
Error: No matching Packages to list

Chris


From: <spacewalk-list-bounces at redhat.com> on behalf of Waldirio Manhães Pinheiro <waldirio at gmail.com>
Reply-To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
Date: Friday, April 28, 2017 at 6:12 PM
To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
Subject: Re: [Spacewalk-list] Where are Spacewalk logs when applying patches?

Hi Chris
OSAd is part of SW, then you can say yes, SW could be real time talking about client execution / installation / etc, btw will be necessary install / configure the packages. By default, rhn will be 240 min, you can decrease to 60 min.
Have a good one.

______________
Atenciosamente
Waldirio
msn: waldirio at gmail.com<mailto:waldirio at gmail.com>
Skype: waldirio
Site: www.waldirio.com.br<http://www.waldirio.com.br>
Blog: blog.waldirio.com.br<http://blog.waldirio.com.br>
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html<http://www.waldirio.com.br/public.html>

On Fri, Apr 28, 2017 at 6:22 PM, Fouts, Christopher <Christopher.Fouts at teradata.com<mailto:Christopher.Fouts at teradata.com>> wrote:
I see. So SW is NOT a “real-time” solution, that is, it is NOT a tool that I can use to “apply patches NOW” or “apply patches at 5:00pm.” I’ll need yet some other tool to do this, e.g., OSAD.

Chris

From: <spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com>> on behalf of Waldirio Manhães Pinheiro <waldirio at gmail.com<mailto:waldirio at gmail.com>>
Reply-To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Date: Friday, April 28, 2017 at 4:55 PM

To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Subject: Re: [Spacewalk-list] Where are Spacewalk logs when applying patches?

Hi Chris
This is the SW architecture, by default, all clients will check what is pending in cycle of 240 min *4h* by default, you could decrease to 60 min / 1h *minimum value* */etc/sysconfig/rhn/rhn<something here>*, just grep 240, then if you did some schedule and your client still with default conf, only after 4h or just if you execute rhn_check in your machine.
As our friend told, OSAd is one good solution, because will be real time, when you submit, jabber will send one broadcast and then your machine will receive / execute the task.
Please, feel free to check our documentation on link [1] or just this book [2], here you will find all answers to your questions, via cli and/or webUI *osad, client configuration, schedule, tasks and much more*
Have a good one.

[1]. https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Client_Configuration_Guide/index.html
[2]. https://www.amazon.com/Spacewalk-Satellite-Project-solution-management-ebook/dp/B071DDQ4W2/ref=sr_1_1?s=books&ie=UTF8&qid=1492602720&sr=1-1&keywords=spacewalk+satellite

______________
Atenciosamente
Waldirio
msn: waldirio at gmail.com<mailto:waldirio at gmail.com>
Skype: waldirio
Site: www.waldirio.com.br<http://www.waldirio.com.br>
Blog: blog.waldirio.com.br<http://blog.waldirio.com.br>
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html<http://www.waldirio.com.br/public.html>

On Fri, Apr 28, 2017 at 5:45 PM, Fouts, Christopher <Christopher.Fouts at teradata.com<mailto:Christopher.Fouts at teradata.com>> wrote:
Good to know, but it kinda sucks. For example, some of my scheduled jobs have been in pending state for 1+ hours, and Spacewalk gives me NO idea why.

Chris

From: <spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com>> on behalf of Matthew Madey <mattmadey at gmail.com<mailto:mattmadey at gmail.com>>
Reply-To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Date: Friday, April 28, 2017 at 4:34 PM

To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Subject: Re: [Spacewalk-list] Where are Spacewalk logs when applying patches?

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/spacewalkproject/spacewalk/wiki/JabberAndOSAD

On Fri, Apr 28, 2017 at 2:43 PM, Fouts, Christopher <Christopher.Fouts at teradata.com<mailto:Christopher.Fouts at teradata.com>> wrote:
Well if I schedule it at say 4:00PM UTC, and it’s now 4:15PM UTC and it’s still pending, I curious to know why it’s still pending 15 minutes later?

Chris

From: <spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com>> on behalf of Waldirio Manhães Pinheiro <waldirio at gmail.com<mailto:waldirio at gmail.com>>
Reply-To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Date: Friday, April 28, 2017 at 3:36 PM

To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Subject: Re: [Spacewalk-list] Where are Spacewalk logs when applying patches?

Hi
Yes, should be, if you schedule/submit the new installation or errata via webUI, the task should be on pending state *schedule tab* until be processed.
Best Regards

______________
Atenciosamente
Waldirio
msn: waldirio at gmail.com<mailto:waldirio at gmail.com>
Skype: waldirio
Site: www.waldirio.com.br<http://www.waldirio.com.br>
Blog: blog.waldirio.com.br<http://blog.waldirio.com.br>
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html<http://www.waldirio.com.br/public.html>

On Fri, Apr 28, 2017 at 4:33 PM, Fouts, Christopher <Christopher.Fouts at teradata.com<mailto:Christopher.Fouts at teradata.com>> wrote:
Thanks, I was aware of that, but that’s not what I asked though. Is the scheduled update activity not logged in the system in real-time? If not, that’s fine, I just want to know.

Chris

From: <spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com>> on behalf of Waldirio Manhães Pinheiro <waldirio at gmail.com<mailto:waldirio at gmail.com>>
Reply-To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Date: Friday, April 28, 2017 at 3:29 PM
To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Subject: Re: [Spacewalk-list] Where are Spacewalk logs when applying patches?

Hi Chris
Schedule tab, just check there the information if the task was executed, still pending or if failed.
Best Regards

______________
Atenciosamente
Waldirio
msn: waldirio at gmail.com<mailto:waldirio at gmail.com>
Skype: waldirio
Site: www.waldirio.com.br<http://www.waldirio.com.br>
Blog: blog.waldirio.com.br<http://blog.waldirio.com.br>
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html<http://www.waldirio.com.br/public.html>

On Fri, Apr 28, 2017 at 4:14 PM, Fouts, Christopher <Christopher.Fouts at teradata.com<mailto:Christopher.Fouts at teradata.com>> wrote:
I’ve scheduled my registered systems to be updated. When the update actually runs, where is this logged in the Spacewalk server?

Chris

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list


_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list


_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list


_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list


_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto: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/20170508/50cc28be/attachment.htm>


More information about the Spacewalk-list mailing list