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

Prasanna Santhanam commented on CLOUDSTACK-3698:
------------------------------------------------

Ok will investigate on this further. But this is what happens behind the scenes 
when VMs are created using the test framework. 

- VM deploy API called
- Based on zone model (we open up NAT,FW, SSH port to the guest for advanced 
zone, and SSH-22 ingress programmed for guest in case of basic zone)

So we have a ready connection to the guest when we need to check for any thing 
within it. The ssh connection has retries (10 by default with 5s delay) to 
allow for ssh service to come up. 

I will test this issue and get back with more details.
                
> Automation: VR has been stopped before VM deployment completed
> --------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3698
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3698
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation
>    Affects Versions: 4.2.0
>            Reporter: Sheng Yang
>            Assignee: Prasanna Santhanam
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> e.g In test_vpc_network_pfrules.py:
> <quote>
> vm_1 = self.deployvm_in_network(network_1)                                    
>                                                                               
>                                                                               
>    public_ip_1 = self.acquire_publicip(network_1)                             
>                                                                               
>                                                                               
>  router = self.stop_vpcrouter()                                               
>                                                                               
>                                                                               
>     self.create_natrule( vm_1, public_ip_1, network_1)                        
>                                                                               
>                                                                               
>          self.start_vpcrouter(router)                                         
>                                                                               
>                                                                               
>                self.check_ssh_into_vm(vm_1, public_ip_1, testnegative=False)
> </quote>
> vm_1 is still booting up, but router has been stopped, cause vm_1 failed to 
> get IP address.
> Need to find a way to know that VM has completed the deployment, e.g. ssh 
> into VR then ping the IP of user VM.

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