On 11/12/2013 12:23 PM, mikelococo wrote:
> I confirm this bug is still present in 13.04. Steps to reproduce:
>
> 1) Edit ~/.clusterssh/config to add a cluster
> clusters=cluster1
> cluster1=hostname1.lan hostname2.lan
>
> 2) cssh cluster1
> ssh returns an error that indicates that hostname2.lan was passed as a parameter in the hostname1.lan ssh command instead of in a separate ssh command.
>
> 3) Apply the patch in this ticket to
> /usr/share/perl5/App/ClusterSSH/Config.pm
>
> 4) cssh cluster1 works windows for hostname1.lan and hostname2.lan
> appear with login prompts.
>
Hi,
Please try defining your clusters in the file ~/.clusterssh/clusters.
From the clusterssh manpage:
> FILES
> /etc/clusters, $HOME/.clusterssh/clusters
> These files contain a list of tags to server names mappings. When
> any name is used on the command line it is checked to see if it is
> a tag. If it is a tag, then the tag is replaced with the list of
> servers. The formated is as follows:
>
> <tag> [user@]<server> [user@]<server> [...]
>
> i.e.
>
> # List of servers in live
> live admin1@server1 admin2@server2 server3 server4
>
> All comments (marked by a #) and blank lines are ignored. Tags may
> be nested, but be aware of using recursive tags as they are not
> checked for.
On 11/12/2013 12:23 PM, mikelococo wrote: config to add a cluster hostname1. lan hostname2.lan perl5/App/ ClusterSSH/ Config. pm
> I confirm this bug is still present in 13.04. Steps to reproduce:
>
> 1) Edit ~/.clusterssh/
> clusters=cluster1
> cluster1=
>
> 2) cssh cluster1
> ssh returns an error that indicates that hostname2.lan was passed as a parameter in the hostname1.lan ssh command instead of in a separate ssh command.
>
> 3) Apply the patch in this ticket to
> /usr/share/
>
> 4) cssh cluster1 works windows for hostname1.lan and hostname2.lan
> appear with login prompts.
>
Hi,
Please try defining your clusters in the file ~/.clusterssh/ clusters.
From the clusterssh manpage:
> FILES clusterssh/ clusters
> /etc/clusters, $HOME/.
> These files contain a list of tags to server names mappings. When
> any name is used on the command line it is checked to see if it is
> a tag. If it is a tag, then the tag is replaced with the list of
> servers. The formated is as follows:
>
> <tag> [user@]<server> [user@]<server> [...]
>
> i.e.
>
> # List of servers in live
> live admin1@server1 admin2@server2 server3 server4
>
> All comments (marked by a #) and blank lines are ignored. Tags may
> be nested, but be aware of using recursive tags as they are not
> checked for.
Thank you,
tony