CLOUDSTACK-8709 No out of band migrate alert for non-routers

This commit is contained in:
Remi Bergsma 2015-08-07 13:55:36 +02:00
parent a5e563aa85
commit daa30c4722
1 changed files with 1 additions and 1 deletions

View File

@ -2627,7 +2627,7 @@ Configurable, StateListener<State, VirtualMachine.Event, VirtualMachine> {
s_logger.info("Schedule a router reboot task as router " + vo.getId() + " is powered-on out-of-band. we need to reboot to refresh network rules");
_rebootRouterExecutor.execute(new RebootTask(vo.getId()));
} else {
if (isOutOfBandMigrated(opaque)) {
if (isOutOfBandMigrated(opaque) && (vo.getType() == VirtualMachine.Type.DomainRouter)) {
final String title = "Router has been migrated out of band: " + vo.getInstanceName();
final String context =
"An out of band migration of router " + vo.getInstanceName() + "(" + vo.getUuid() + ") was detected. No automated action was performed.";