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

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

Sheng, All async jobs actually block within the framework itself. So additional 
waits will not be required. In case of looking for services like say httpd 
within the VMs then a different logic needs to be applied which is missing 
right now in the framework. We could add utility methods that ensure the guest 
VMs ssh service is up, httpd is present and service is up etc.
                
> 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