[Spacewalk-list] How can I view the details logs of clients on spacewalk server

Shamim Uddin Shamim.Uddin at sherwin.com
Thu May 17 20:45:31 UTC 2012


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:   spacewalk-list-request at redhat.com
To:     spacewalk-list at redhat.com
Date:   05/17/2012 04:02 PM
Subject:        Spacewalk-list Digest, Vol 48, Issue 50
Sent by:        spacewalk-list-bounces at redhat.com



Send Spacewalk-list mailing list submissions to
                 spacewalk-list at 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-request at redhat.com

You can reach the person managing the list at
                 spacewalk-list-owner at 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. 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
      (rhn-satellite at epperson.homelinux.net)
   4. system delete (Brown, Rodrick)


----------------------------------------------------------------------

Message: 1
Date: Thu, 17 May 2012 13:37:20 -0400
From: "Musayev, Ilya" <imusayev at webmd.net>
To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
Subject: Re: [Spacewalk-list] unable to remove systems
Message-ID:
 
<DDA06D9F13ED3147ADEC9F441A72BB77012230655F at 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: spacewalk-list-bounces at redhat.com [
mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Brown, Rodrick
Sent: Thursday, May 17, 2012 1:29 PM
To: spacewalk-list at redhat.com
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" <imusayev at webmd.net>
To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
Subject: Re: [Spacewalk-list] Error: Cannot retrieve repository
                 metadata (repomd.xml) for repository: spacewalk. Please 
verify its
                 path and try again
Message-ID:
 
<DDA06D9F13ED3147ADEC9F441A72BB770122306585 at 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: spacewalk-list-bounces at redhat.com [
mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Ruben Tapia
Sent: Thursday, May 17, 2012 10:25 AM
To: spacewalk-list at redhat.com
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 at 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: rhn-satellite at epperson.homelinux.net
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] help - who to apply security
                 patches/erratas                 only
Message-ID:
 <eb4fd6d37f85fa3eb4576cad438ff884.squirrel at epperson.homelinux.net>
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" <rbrown at knight.com>
To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
Subject: [Spacewalk-list] system delete
Message-ID:
 <C9C3C7FC93B40A4DA409F4B1ACB610991DBDFDEEBD at 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
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

End of Spacewalk-list Digest, Vol 48, Issue 50
**********************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120517/6f4e45d7/attachment.htm>


More information about the Spacewalk-list mailing list