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
[email protected]

Reply via email to