Set text for vm terminate timeout
This commit is contained in:
		
					parent
					
						
							
								ce2d34350f
							
						
					
				
			
			
				commit
				
					
						4914280868
					
				
			
		
					 1 changed files with 6 additions and 4 deletions
				
			
		| 
						 | 
					@ -1431,10 +1431,12 @@ class VirtualMachineView(LoginRequiredMixin, View):
 | 
				
			||||||
                else:
 | 
					                else:
 | 
				
			||||||
                    sleep(2)
 | 
					                    sleep(2)
 | 
				
			||||||
            if not response['status']:
 | 
					            if not response['status']:
 | 
				
			||||||
                response['details'] = (
 | 
					                response['text'] = _(
 | 
				
			||||||
                    "Called VM terminate xml-rpc and waited for over "
 | 
					                    ("VM terminate action timed-out. Please contact support "
 | 
				
			||||||
                    "30 seconds for the VM to disappear. But, it did "
 | 
					                     "{support_email}"
 | 
				
			||||||
                    "not happen. So, please verify!"
 | 
					                     "for further information.").format(
 | 
				
			||||||
 | 
					                        support_email=settings.DCL_SUPPORT_FROM_ADDRESS
 | 
				
			||||||
 | 
					                     )
 | 
				
			||||||
                )
 | 
					                )
 | 
				
			||||||
            context = {
 | 
					            context = {
 | 
				
			||||||
                'vm_name': vm_name,
 | 
					                'vm_name': vm_name,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue