cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [1/2] git commit: updated refs/heads/master to a08d8b1
Date Fri, 07 Aug 2015 14:45:16 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 90feab18e -> a08d8b184


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


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/daa30c47
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/daa30c47
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/daa30c47

Branch: refs/heads/master
Commit: daa30c472201e69c4f932ab504352e195b535199
Parents: a5e563a
Author: Remi Bergsma <github@remi.nl>
Authored: Fri Aug 7 13:55:36 2015 +0200
Committer: Remi Bergsma <github@remi.nl>
Committed: Fri Aug 7 14:30:00 2015 +0200

----------------------------------------------------------------------
 .../cloud/network/router/VirtualNetworkApplianceManagerImpl.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/daa30c47/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java b/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
index 8dab44d..8ec7417 100644
--- a/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
+++ b/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
@@ -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.";


Mime
View raw message