[Spacewalk-list] spacecmd system_list

Aaron Prayther aprayther at LCE.com
Mon Nov 29 17:30:09 UTC 2010


system_list now works as expected only listing hosts available to the
user credentials presented.  After finding the .spacecmd/<host>/session
file and 0'ing it out.

Aaron Prayther

-----Original Message-----
From: spacewalk-list-bounces at redhat.com
[mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Aron Parsons
Sent: Monday, November 29, 2010 12:16 PM
To: prayther at gmail.com; spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] spacecmd system_list

The behavior you're seeing on your system is not correct.  The
system.listSystems API 
call that spacecmd uses only lists systems that are visible to the
current user, which
should only be the systems in your organization.  This is the behavior I
see on Spacewalk
1.2.

Can you clear your spacecmd caches and see if you can replicate the
issue?

/aron

----- Original Message -----
From: "aaron prayther" <prayther at gmail.com>
To: spacewalk-list at redhat.com
Sent: Monday, November 29, 2010 10:39:59 AM GMT -05:00 US/Canada Eastern
Subject: [Spacewalk-list]  spacecmd system_list

spacecmd --username='username1' --password='PASSWD' -- system_list

I was hoping that this command would only bring back system host names
that
the users "organization" had access to.  it appears to bring back the
system
host names from all organizations on the satellite server regardless of
organization.

is this a bug or am i doing something silly?

Regards,

Aaron

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

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




More information about the Spacewalk-list mailing list