cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthon...@apache.org
Subject git commit: updated refs/heads/4.2 to 121f947
Date Tue, 23 Jul 2013 22:04:34 GMT
Updated Branches:
  refs/heads/4.2 e13959afc -> 121f947f6


when create local link netowrk fails for xenserver, adding host should fail


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

Branch: refs/heads/4.2
Commit: 121f947f62557df1a429de586adafa9fd281a501
Parents: e13959a
Author: Anthony Xu <anthony.xu@citrix.com>
Authored: Tue Jul 23 15:03:01 2013 -0700
Committer: Anthony Xu <anthony.xu@citrix.com>
Committed: Tue Jul 23 15:04:25 2013 -0700

----------------------------------------------------------------------
 .../src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/121f947f/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
b/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
index 2399220..5c121e0 100644
--- a/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
+++ b/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
@@ -4921,8 +4921,10 @@ public abstract class CitrixResourceBase implements ServerResource,
HypervisorRe
 
         } catch (XenAPIException e) {
             s_logger.warn("Unable to create local link network", e);
+            throw new CloudRuntimeException("Unable to create local link network due to "
+ e.toString(), e);
         } catch (XmlRpcException e) {
             s_logger.warn("Unable to create local link network", e);
+            throw new CloudRuntimeException("Unable to create local link network due to "
+ e.toString(), e);
         }
     }
 


Mime
View raw message