mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Bug 12103 - Adding host without labelling guest network fails
Removing check for storage network for XenServer, since Xen resource does not use storage traffic type.
This commit is contained in:
parent
0dc7fb48a1
commit
54ec6598bb
@ -4273,19 +4273,20 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
|
||||
break;
|
||||
}
|
||||
if(!isNetworkSetupByName(info.getPrivateNetworkName())){
|
||||
msg = "For Physical Network id:"+ info.getPhysicalNetworkId() + ", Private Network is not configured on the backend by name " + info.getGuestNetworkName();
|
||||
msg = "For Physical Network id:"+ info.getPhysicalNetworkId() + ", Private Network is not configured on the backend by name " + info.getPrivateNetworkName();
|
||||
errorout = true;
|
||||
break; }
|
||||
break;
|
||||
}
|
||||
if(!isNetworkSetupByName(info.getPublicNetworkName())){
|
||||
msg = "For Physical Network id:"+ info.getPhysicalNetworkId() + ", Public Network is not configured on the backend by name " + info.getGuestNetworkName();
|
||||
msg = "For Physical Network id:"+ info.getPhysicalNetworkId() + ", Public Network is not configured on the backend by name " + info.getPublicNetworkName();
|
||||
errorout = true;
|
||||
break;
|
||||
}
|
||||
if(!isNetworkSetupByName(info.getStorageNetworkName())){
|
||||
msg = "For Physical Network id:"+ info.getPhysicalNetworkId() + ", Storage Network is not configured on the backend by name " + info.getGuestNetworkName();
|
||||
/*if(!isNetworkSetupByName(info.getStorageNetworkName())){
|
||||
msg = "For Physical Network id:"+ info.getPhysicalNetworkId() + ", Storage Network is not configured on the backend by name " + info.getStorageNetworkName();
|
||||
errorout = true;
|
||||
break;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
if(errorout){
|
||||
s_logger.error(msg);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user