euca_conf --discover-nodes (without --no-rsync) fails with: -oUserKnownHostsFile=/dev/null: unknown option

Bug #535345 reported by lid
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
Fix Released
Medium
Dustin Kirkland 
Lucid
Fix Released
Medium
Dustin Kirkland 

Bug Description

System: Ubuntu 10.04 Alpha3, eucalyptus 1.6.2-0ubuntu11
Observed behavior: running euca_conf --discover-nodes appears to successfully register one node(?). However, euca_conf --list-nodes shows no nodes. In addition, /etc/eucalyptus/eucalyptus.conf lists no nodes. Oddly enough, running euca_conf --discover-nodes does not list the previously registered node.

<code>
$ sudo euca_conf --discover-nodes
New node found on 192.168.3.16; add it? [Yn] Y

INFO: We expect all nodes to have eucalyptus installed in //var/lib/eucalyptus/keys for key synchronization.
Warning: cannot file file node-cert.pem in //var/lib/eucalyptus/keys/
Warning: cannot file file cluster-cert.pem in //var/lib/eucalyptus/keys/
Warning: cannot file file node-pk.pem in //var/lib/eucalyptus/keys/

Trying rsync to sync keys with "192.168.3.16"...rsync: -oUserKnownHostsFile=/dev/null': unknown option
rsync error: syntax or usage error (code 1) at main.c(1443) [client=3.0.7]
failed.

Trying scp to sync keys to: eucalyptus@192.168.3.16://var/lib/eucalyptus/keys/...
The authenticity of host '192.168.3.16 (192.168.3.16)' can't be established.
RSA key fingerprint is 4b:5d:24:94:72:bf:ed:a4:f8:dc:09:7b:80:db:69:33.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.3.16' (RSA) to the list of known hosts.
eucalyptus@192.168.3.16's password:
done.
lid@vm1:~$ sudo euca_conf --list-nodes

lid@vm1:~$ sudo euca_conf --discover-nodes

INFO: We expect all nodes to have eucalyptus installed in //var/lib/eucalyptus/keys for key synchronization.

lid@vm1:~$
</code>

tags: added: kernel-series-unknown
tags: removed: kernel-series-unknown
Revision history for this message
Thierry Carrez (ttx) wrote :

Looks like a combination of bugs, the root cause being running euca_conf without "--no-rsync" now fails:

Trying rsync to sync keys with "192.168.3.16"...rsync: -oUserKnownHostsFile=/dev/null': unknown option
rsync error: syntax or usage error (code 1) at main.c(1443) [client=3.0.7]
failed.

Regression probably introduced at rev932 in our tree.

Then you might be hitting bug 531195. Also note that nodes are now written to /var/lib/eucalyptus/nodes.list, not eucalyptus.conf.

Updating title accordingly.

summary: - euca_conf --discover-nodes fails without decipherable error
+ euca_conf --discover-nodes (without --no-rsync) fails with:
+ -oUserKnownHostsFile=/dev/null: unknown option
Revision history for this message
Thierry Carrez (ttx) wrote :

Assigning to Dustin, since he added "-oUserKnownHostsFile=/dev/null" in RSYNC_RSH

Changed in eucalyptus (Ubuntu):
assignee: nobody → Dustin Kirkland (kirkland)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I'll get this fixed.

Changed in eucalyptus (Ubuntu Lucid):
status: Confirmed → In Progress
Revision history for this message
lid (lid) wrote :

Hmm... /var/lib/eucalyptus/nodes.list does have the node that was added, but euca_conf --list-nodes does not show it. Also, I'm seeing in /var/log/eucalyptus/registration.log:
2010-03-10 16:07:27-05:00 | 13780 -> Calling node node015 192.168.3.15
2010-03-10 16:07:27-05:00 | 13780 -> Node is not a candidate for local cluster.

Changed in eucalyptus (Ubuntu Lucid):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eucalyptus - 1.6.2-0ubuntu13

---------------
eucalyptus (1.6.2-0ubuntu13) lucid; urgency=low

  [ Thierry Carrez ]
  * debian/build-jars, debian/eucalyptus-java-common.links: Migrate to
    google-collections new JAR name (LP: #455931)

  [ Dustin Kirkland ]
  * tools/euca_conf.in: fix bug introduced in r932, handle RSYNC_RSH
    quoting correctly, fixes euca_conf --discover-nodes, LP: #535345
 -- Dustin Kirkland <email address hidden> Thu, 11 Mar 2010 08:50:26 -0600

Changed in eucalyptus (Ubuntu Lucid):
status: Fix Committed → Fix Released
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.