cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Santhosh Kumar Edukulla (JIRA)" <>
Subject [jira] [Created] (CLOUDSTACK-5056) Cleaning up SSH library
Date Wed, 06 Nov 2013 11:17:18 GMT
Santhosh Kumar Edukulla created CLOUDSTACK-5056:

             Summary: Cleaning up SSH library
                 Key: CLOUDSTACK-5056
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Automation, marvin
            Reporter: Santhosh Kumar Edukulla

1. The library in it current form has some issues. As part of that, did clean up of the code.
2. Added tcp timeout flag as an additional parameter to help establish the tcp connections
and retry if failed. It retries even otherwise failed.
3. Renamed few variables and maintained uniform usage and convention.
4. Added few new member functions runCommand,createConnection
5. Current, way of creating connection and raising exception from constructor along with return
was removed and added a new way of handling it.
6. Currently, result list was returned for execute command, but we dont know the status of
command execution, whether the output contains error or output etc. Now, provided more information
in the return with new implementation.
7. Added few codes for proper return status.

1. Remove establishing connection from constructor altogether. This will effect the current
modules using it.
2. Need to change is_server_ssh_ready function for proper and adequate checks, currently the
name and functionality is little different. It can add more adequate checks before returning
ssh object. 

This message was sent by Atlassian JIRA

View raw message