Hi, I'm suing spacewalk for Linux server management, I'm executing shell script on client site, I would like to know how can I view the detail logs on spacewalk server or import logs from spacewalk clients to spacewalk server?
Please guide. From: [email protected] To: [email protected] Date: 05/17/2012 04:02 PM Subject: Spacewalk-list Digest, Vol 48, Issue 50 Sent by: [email protected] Send Spacewalk-list mailing list submissions to [email protected] 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 [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Spacewalk-list digest..." Today's Topics: 1. Re: unable to remove systems (Musayev, Ilya) 2. Re: Error: Cannot retrieve repository metadata (repomd.xml) for repository: spacewalk. Please verify its path and try again (Musayev, Ilya) 3. Re: help - who to apply security patches/erratas only ([email protected]) 4. system delete (Brown, Rodrick) ---------------------------------------------------------------------- Message: 1 Date: Thu, 17 May 2012 13:37:20 -0400 From: "Musayev, Ilya" <[email protected]> To: "[email protected]" <[email protected]> Subject: Re: [Spacewalk-list] unable to remove systems Message-ID: <dda06d9f13ed3147adec9f441a72bb770122306...@excls01l-crp-03.webmdhealth.net> Content-Type: text/plain; charset="us-ascii" Look into spacecmd - you may need to install it via yum.. I'd say review your rhn logs. From: [email protected] [ mailto:[email protected]] On Behalf Of Brown, Rodrick Sent: Thursday, May 17, 2012 1:29 PM To: [email protected] Subject: [Spacewalk-list] unable to remove systems I'm getting an error 'Internal Server Error' nothing else when trying to remove a system from spacewalk. What could be causing this? Is there a cli tool to remove systems? Another unrelated question is it possible to register a system using multiple keys during registration? --RB Please visit our website for important disclaimers/disclosures regarding Knight's products and services: http://knight.com/KnightEmailDisclaimer.html -------------- next part -------------- An HTML attachment was scrubbed... URL: < https://www.redhat.com/archives/spacewalk-list/attachments/20120517/64e40094/attachment.html > ------------------------------ Message: 2 Date: Thu, 17 May 2012 13:42:12 -0400 From: "Musayev, Ilya" <[email protected]> To: "[email protected]" <[email protected]> Subject: Re: [Spacewalk-list] Error: Cannot retrieve repository metadata (repomd.xml) for repository: spacewalk. Please verify its path and try again Message-ID: <dda06d9f13ed3147adec9f441a72bb770122306...@excls01l-crp-03.webmdhealth.net> Content-Type: text/plain; charset="us-ascii" Have you confirmed that proxy works, if not, try export http_proxy=http://yourhostip:80 wget http://spacewalk.redhat.com/yum/1.7/RHEL/6/x86_64/repodata/repomd.xml From: [email protected] [ mailto:[email protected]] On Behalf Of Ruben Tapia Sent: Thursday, May 17, 2012 10:25 AM To: [email protected] Subject: [Spacewalk-list] Error: Cannot retrieve repository metadata (repomd.xml) for repository: spacewalk. Please verify its path and try again Hello: I'm trying to install a Red Hat Spacewalk server, however when I tried to use spacewalk repo I get this problem: [root@slm011 ~]# yum update Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager Updating certificate-based repositories. rhel-6-server-cf-tools-1-rpms | 2.6 kB 00:00 rhel-6-server-rpms | 3.7 kB 00:00 http://spacewalk.redhat.com/yum/1.7/RHEL/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: spacewalk. Please verify its path and try again Proxy is set it up in /etc/yum.conf http_proxy=http://xxxxxxx:8080 https_proxy=http://xxxxxx:8080 (xxxx are real ip's) Any idea? Thanks. Ruben. -------------- next part -------------- An HTML attachment was scrubbed... URL: < https://www.redhat.com/archives/spacewalk-list/attachments/20120517/879d44fe/attachment.html > ------------------------------ Message: 3 Date: Thu, 17 May 2012 15:44:47 -0400 From: [email protected] To: [email protected] Subject: Re: [Spacewalk-list] help - who to apply security patches/erratas only Message-ID: <[email protected]> Content-Type: text/plain;charset=iso-8859-1 On Thu, May 17, 2012 13:20, Musayev, Ilya wrote: > I???m thinking on how to do this in programmatic way > > > 1) gather a list of security errata applicable to specific group of > hosts via spacecmd or API. > > > 2) Clone a channel and add only applicable security erratas to this > channel, also via spacecmd or API. > > > 3) Assign channel to needed hosts and push the packages that are > applicable via security errata. You should only have security packages > appicable if done right. > This is basically how we do it. We use the API for 1&2 and the gui to do 3. We have a QA clone channel and a production one. After resolving issues for a push from the QA channel to the QA group, we clone prod from QA and push to the prod group. We have a cron job that puts systems into QA or prod group nightly depending on whether they're subscribed to a QA or prod base channel. ------------------------------ Message: 4 Date: Thu, 17 May 2012 15:54:32 -0400 From: "Brown, Rodrick" <[email protected]> To: "[email protected]" <[email protected]> Subject: [Spacewalk-list] system delete Message-ID: <c9c3c7fc93b40a4da409f4b1acb610991dbdfde...@exchange10.global.knight.com> Content-Type: text/plain; charset="us-ascii" spacecmd {SSM:0}> system_delete jc1ldsamm121 WARNING: Duplicate system profile names found WARNING: You can delete duplicates with 'system_delete' WARNING: jc1ldsamm121 = 1000010183, 1000010182, 1000010184 spacecmd {SSM:0}> system_delete 1000010182 1000010183 Profile System ID ------------ --------- jc1ldsamm121 1000010182 jc1ldsamm121 1000010183 Delete these systems [y/N]: y INFO: Deleted 2 system(s) spacecmd {SSM:0}> system_delete jc1ldsamm121 WARNING: Duplicate system profile names found WARNING: You can delete duplicates with 'system_delete' WARNING: jc1ldsamm121 = 1000010183, 1000010182, 1000010184 Any reason why the database isn't purging these hosts? Please visit our website for important disclaimers/disclosures regarding Knight's products and services: http://knight.com/KnightEmailDisclaimer.html -------------- next part -------------- An HTML attachment was scrubbed... URL: < https://www.redhat.com/archives/spacewalk-list/attachments/20120517/5cc15932/attachment.html > ------------------------------ _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list End of Spacewalk-list Digest, Vol 48, Issue 50 **********************************************
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
