mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	Fixed rolling restart on VPC network (#4272)
This PR fixes the problem where restarting a network with cleanup within a VPC destroys the VR first before creating a new one. Fixes: #3815
This commit is contained in:
		
							parent
							
								
									cddf69c0f8
								
							
						
					
					
						commit
						c4922c4289
					
				| @ -200,6 +200,7 @@ public class VpcVirtualRouterElement extends VirtualRouterElement implements Vpc | |||||||
| 
 | 
 | ||||||
|         if (network.isRollingRestart()) { |         if (network.isRollingRestart()) { | ||||||
|             params.put(VirtualMachineProfile.Param.RollingRestart, true); |             params.put(VirtualMachineProfile.Param.RollingRestart, true); | ||||||
|  |             vpc.setRollingRestart(true); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         final RouterDeploymentDefinition routerDeploymentDefinition = routerDeploymentDefinitionBuilder.create() |         final RouterDeploymentDefinition routerDeploymentDefinition = routerDeploymentDefinitionBuilder.create() | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user