[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747567#comment-13747567
 ] 

ASF subversion and git services commented on CLOUDSTACK-4453:
-------------------------------------------------------------

Commit 69f6f49ae1bb6655107245f8327f7fe1afa33f9f in branch 
refs/heads/4.2-forward from [~tsp]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=69f6f49 ]

CLOUDSTACK-4453: fetch host credentials from marvin config

Tests would fetch the credentials for the host to hop into router to
check for essential services. Each test would require to put in the host
information into the test data. Instead fetch the credential information
from the marvin configuration file.

Signed-off-by: Prasanna Santhanam <[email protected]>

                
> Routers test use VM credentials as host credentials
> ---------------------------------------------------
>
>                 Key: CLOUDSTACK-4453
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4453
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>            Reporter: Prasanna Santhanam
>            Priority: Critical
>
> In test_routers.py (in smoke and component) we do the following,
>                 result = get_process_status(
>                                     host.ipaddress,
>                                     
> self.services['virtual_machine']["publicport"],
>                                     self.vm_1.username,
>                                     self.vm_1.password,
>                                     router.linklocalip,
>                                     "service dnsmasq status"
>                                     )
> In this case :
> host.ipaddress is the IP address of the XenServer host.
> self.services['virtual_machine']["publicport"] is 22 (SSH port)
> self.vm_1.username / password are the username and password of the VM 
> instance created for this test.
> The call that fails in get_process_status is this:
> ssh = remoteSSHClient(hostip, port, username, password)
> In this case it seems the test is trying to create a SSH connection to the
> XS host using the username / password of the VM instance (which will fail
> because the XS host has a different password)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to