[Spacewalk-list] spacecmd system search command problem

Nathan Butcher nbutcher at dtst.com.au
Wed May 2 07:08:46 UTC 2012


Thanks. This seems to have fixed the problem.



Jason M. Nielsen <jnielsen at myriad.com> wrote :

> Does the system show up in the list of systems but simply does not show 
> up when you search (ie: upper right search field)?
> 
> If this is the case its probably the "rhn-search" service and its index 
> is not updating. Bouncing SW or rebuilding the index will probably 
> correct the situation.
> 
> ie:
> "service rhn-search cleanindex" if I recall can potentially correct it.
> 
> On 04/29/2012 08:53 PM, Nathan Butcher wrote:
> > Hi,
> >
> > I am trying to use the spacewalk "spacecmd" CLI program to generate a list of systems registered in spacewalk via a script (so I can have results in a text file for a report).
> >
> > To test this, I enter spacecmd from the command line and am using "system_search *" and "system_search hostname:*"
> > However, some systems just don't show up in the list. I have given the user I log into spacecmd with all the permissions I can give it, and yet some systems still don't show up.
> >
> > In fact, even within the spacewalk webtop, doing a direct search for a particular system from the search box in the top right corner doesn't work, and yet I can find the system I am looking for in the list of systems.
> >
> > Am I missing something here? Is there a reason why these hosts aren't showing up?
> > Is my CLI command wrong? Is this a bug of some sort? I am using spacewalk 1.7
> >
> > Thanks,
> >
> >
> >
> > ___________________________________
> > NOCC, http://nocc.sourceforge.net
> >
> >
> >
> > _______________________________________________
> > 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

___________________________________
NOCC, http://nocc.sourceforge.net






More information about the Spacewalk-list mailing list