Bug 753579 - Error if I add node
Summary: Error if I add node
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: hekafs
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kaleb KEITHLEY
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-13 15:14 UTC by cr
Modified: 2011-11-13 16:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-13 16:24:36 UTC
Type: ---


Attachments (Terms of Use)

Description cr 2011-11-13 15:14:31 UTC
Description of problem:
If I want add a node via web I get following error:

Error 500: Internal Server Error

Sorry, the requested URL http://192.168.0.22:8080/cluster/add_node caused an error:

Unhandled exception
Exception:

KeyError('ssh',)
Traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/bottle.py", line 499, in handle
    return handler(**args)
  File "/usr/lib/python2.7/site-packages/hekafsd.py", line 77, in add_node
    return hfs_add_node.run_www()
  File "/usr/lib/python2.7/site-packages/hfs_add_node.py", line 60, in run_www
    return run_common(node_name)
  File "/usr/lib/python2.7/site-packages/hfs_add_node.py", line 50, in run_common
    hfs_utils.run_cmd("/sbin/chkconfig", "--add glusterd", can_node_addr)
  File "/usr/lib/python2.7/site-packages/hfs_utils.py", line 65, in run_cmd
    cmd = make_remote(host,cmd)
  File "/usr/lib/python2.7/site-packages/hfs_utils.py", line 56, in make_remote
    return "%s %s %s" % (get_path("ssh"), host, cmd)
  File "/usr/lib/python2.7/site-packages/hfs_utils.py", line 51, in get_path
    return class_cache[program]
KeyError: 'ssh'

Version-Release number of selected component (if applicable):
hekafs-0.7-17.fc16.x86_64.rpm

How reproducible:
I installed minimal Fedora 16 and followed this how to:

http://fedoraproject.org/wiki/Test_Day:2011-10-20_HekaFS

Steps to Reproduce:
1. Install DVD 64 bit Fedora image with minimal
2. after reboot:  yum -y install glusterfs glusterfs-server glusterfs-fuse hekafs
3.  service glistered start 
4.  service hekafsd start
5. iptables -F to configure
6. add 2nd node

Comment 1 cr 2011-11-13 16:24:36 UTC
just yum install openssh-clients fixed that "problem"


Note You need to log in before you can comment on or make changes to this bug.