mirror of
https://github.com/apache/cloudstack
synced 2026-08-10 00:16:08 +00:00
bug 7822: fixing the storage maintenance failures centered around domr stop/start
status 7822: resolved fixed
This commit is contained in:
parent
edfbc5a782
commit
3aa1726009
@ -2266,7 +2266,7 @@ public class StorageManagerImpl implements StorageManager, StorageService, Manag
|
||||
//if the instance is of type domain router vm, call the network manager
|
||||
if(vmInstance.getType().equals(VirtualMachine.Type.DomainRouter))
|
||||
{
|
||||
if(_routerMgr.stopRouterInternal(vmInstance.getId()))
|
||||
if(!_routerMgr.stopRouterInternal(vmInstance.getId()))
|
||||
{
|
||||
String errorMsg = "There was an error stopping the domain router id: "+vmInstance.getId()+" ,cannot enable primary storage maintenance";
|
||||
s_logger.warn(errorMsg);
|
||||
@ -2276,7 +2276,7 @@ public class StorageManagerImpl implements StorageManager, StorageService, Manag
|
||||
}
|
||||
else if(restart)
|
||||
{
|
||||
if(_routerMgr.stopRouterInternal(vmInstance.getId()))
|
||||
if(!_routerMgr.stopRouterInternal(vmInstance.getId()))
|
||||
{
|
||||
String errorMsg = "There was an error starting the domain router id: "+vmInstance.getId()+" on another storage pool, cannot enable primary storage maintenance";
|
||||
s_logger.warn(errorMsg);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user