SCIENTIFIC-LINUX-USERS Archives

April 2016

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Stephen Berg (Contractor)" <[log in to unmask]>
Reply To:
Stephen Berg (Contractor)
Date:
Thu, 21 Apr 2016 11:37:16 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
I didn't want to submit a bug until I know a bit more about this issue.

We use pdsh here quite a bit.  Our systems (200+) are on SciLinux 6.6, 
6.7, 7.1 and 7.2.  We're just about finished transitioning from an old 
NIS setup to FreeIPA (4.2.0-15) and have noticed that the netgroups 
defined in FreeIPA aren't being seen in pdsh.

For instance, I've defined four hostgroups linux_af, linux_gm, linux_ns 
and linux_tz.  Hosts are put into one of those according to the first 
letter of the hostname.  I've also defined a netgroup, all_linux, that 
combines those four host groups into one netgroup.

If I run "pdsh -l root -g linux_af" it works just fine.  But running 
"pdsh -l root -g all_linux" I get this:

[root@host ~]# pdsh -l root -g all_linux
pdsh@host: no remote hosts specified

That system is on SL6.7 with pdsh-2.26-4.el6.x86_64, 
pdsh-rcmd-ssh-2.26-4.el6.x86_64 and pdsh-mod-netgroup-2.26-4.el6.x86_64 
installed.  I tried from a SL7.2 system with the same packages but 
version 2.31-1 installed and got the same results.

On a Fedora 23 system, using 2.31-4, everything seems to work just fine 
with both the hostgroup and the netgroup.

Is this something that I should report as a bug, or is it just the 
expected behaviors from those different versions of pdsh?

-- 
Stephen Berg
Systems Administrator
NRL Code: 7320
Office: 228-688-5738
[log in to unmask]

ATOM RSS1 RSS2