Skip to content

Commit 089cbb6

Browse files
author
Anthony Xu
committed
when create local link netowrk fails for xenserver, adding host should fail
1 parent dfdbf20 commit 089cbb6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4885,8 +4885,10 @@ private void setupLinkLocalNetwork(Connection conn) {
48854885

48864886
} catch (XenAPIException e) {
48874887
s_logger.warn("Unable to create local link network", e);
4888+
throw new CloudRuntimeException("Unable to create local link network due to " + e.toString(), e);
48884889
} catch (XmlRpcException e) {
48894890
s_logger.warn("Unable to create local link network", e);
4891+
throw new CloudRuntimeException("Unable to create local link network due to " + e.toString(), e);
48904892
}
48914893
}
48924894

0 commit comments

Comments
 (0)