Prasanna Santhanam created CLOUDSTACK-4453:
----------------------------------------------
Summary: 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