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

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

Commit b3306497fe4d59317443c5c9ecf181939e00a2bb in branch refs/heads/master 
from [~tsp]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b330649 ]

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 <t...@apache.org>
(cherry picked from commit 4b546ce85d40098ade69c575316e76e25a422a12)

                
> 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