Clusters defined in ~/.clusterssh/config not working

Bug #1144541 reported by Enno Gröper
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
clusterssh (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 12.10
clusterssh 4.01.01-4

I expected a working cluster config, but couldn't connect to any cluster defined in ~/.clusterssh/config.

This is fixed upstream by commit 0eb27e253892.
sf.net bug: 3605675

The attached patch was enough to make it work.

Tags: patch
Revision history for this message
Enno Gröper (egroeper) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "part of upstream commit 0eb27e253892" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in clusterssh (Ubuntu):
status: New → Confirmed
Revision history for this message
mikelococo (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.

Revision history for this message
Tony Mancill (tmancill) wrote : Re: [Bug 1144541] Re: Clusters defined in ~/.clusterssh/config not working

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.

Thank you,
tony

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.