mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Description: Temporarily skipping exception until vsmresponse parser doesn't throw malformed exceptions after adding port profile for native access.
This commit is contained in:
parent
187d32057e
commit
a20aace44e
@ -133,7 +133,7 @@ public class HypervisorHostHelper {
|
|||||||
if(vsmCredentials == null || vsmCredentials.size() != 3) {
|
if(vsmCredentials == null || vsmCredentials.size() != 3) {
|
||||||
msg = "Failed to retrieve required credentials of Nexus VSM from database.";
|
msg = "Failed to retrieve required credentials of Nexus VSM from database.";
|
||||||
s_logger.error(msg);
|
s_logger.error(msg);
|
||||||
throw new Exception(msg);
|
throw new Exception(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
String vsmIp = vsmCredentials.containsKey("vsmip") ? vsmCredentials.get("vsmip") : null;
|
String vsmIp = vsmCredentials.containsKey("vsmip") ? vsmCredentials.get("vsmip") : null;
|
||||||
@ -191,7 +191,10 @@ public class HypervisorHostHelper {
|
|||||||
} catch (CloudRuntimeException e) {
|
} catch (CloudRuntimeException e) {
|
||||||
msg = "Failed to add vEthernet port profile " + networkName + ". Exception: " + e.toString();
|
msg = "Failed to add vEthernet port profile " + networkName + ". Exception: " + e.toString();
|
||||||
s_logger.error(msg);
|
s_logger.error(msg);
|
||||||
throw new CloudRuntimeException(msg);
|
if(vlanId == null) {
|
||||||
|
s_logger.warn("Ignoring exception : " + e.toString());
|
||||||
|
// throw new CloudRuntimeException(msg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user