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

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

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

CLOUDSTACK-3452: Refactor VirtualMachine.create()

When creating a VM if it's going to a basic zone program sec.group rules
so as to allow SSH access for any tests requiring ssh access to the
guest. Similarly method used to program the NAT and PF for SSH access is
refactored and extracted into a separate method. By default no SSH
access is allowed if the mode is set to 'default'

Signed-off-by: Prasanna Santhanam <t...@apache.org>
(cherry picked from commit 9c9003a0dba755135f643777083b80ec5fa3d910)

                
> [Automation] Basic zone test cases failed to connect VM trough ssh 
> -------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3452
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3452
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation
>    Affects Versions: 4.2.0
>         Environment: Basic zone KVM 
>            Reporter: Rayees Namathponnan
>            Assignee: Girish Shilamkar
>            Priority: Blocker
>             Fix For: 4.2.0
>
>
> Below test cases failed to connect VM trough SSH, in basic we need to set 
> ingress rule to connect the vm from outside
> integration.smoke.test_vm_life_cycle.TestVMLifeCycle.test_10_attachAndDetach_iso
> integration.smoke.test_volumes.TestVolumes.test_02_attach_volume
> integration.smoke.test_volumes.TestCreateVolume.test_01_create_volume
> File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File 
> "/Repo_30X/ipcl/cloudstack/test/integration/smoke/test_vm_life_cycle.py", 
> line 748, in test_10_attachAndDetach_iso
>     (self.virtual_machine.ipaddress, e))
>   File "/usr/local/lib/python2.7/unittest/case.py", line 393, in fail
>     raise self.failureException(msg)
> SSH failed for virtual machine: 10.223.250.234 - [Errno 110] Connection timed 
> out

--
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