nvazquez commented on code in PR #10946:
URL: https://github.com/apache/cloudstack/pull/10946#discussion_r2152019316
##########
plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/KubernetesClusterManagerImpl.java:
##########
@@ -434,7 +434,8 @@ private IpAddress getSourceNatIp(Network network) {
}
public VMTemplateVO getKubernetesServiceTemplate(DataCenter dataCenter,
Hypervisor.HypervisorType hypervisorType) {
- VMTemplateVO template =
templateDao.findSystemVMReadyTemplate(dataCenter.getId(), hypervisorType);
+ ConfigKey<String> preferredArchitecture =
ResourceManager.SystemVmPreferredArchitecture;
+ VMTemplateVO template =
templateDao.findSystemVMReadyTemplate(dataCenter.getId(), hypervisorType,
preferredArchitecture.value());
Review Comment:
Fixed, thanks @harikrishna-patnala
##########
plugins/storage/sharedfs/storagevm/src/main/java/org/apache/cloudstack/storage/sharedfs/lifecycle/StorageVmSharedFSLifeCycle.java:
##########
@@ -174,10 +175,11 @@ private UserVm deploySharedFSVM(Long zoneId, Account
owner, List<Long> networkId
customParameterMap.put("maxIopsDo", maxIops.toString());
}
List<String> keypairs = new ArrayList<String>();
+ ConfigKey<String> preferredArchitecture =
ResourceManager.SystemVmPreferredArchitecture;
for (final Iterator<Hypervisor.HypervisorType> iter =
hypervisors.iterator(); iter.hasNext();) {
final Hypervisor.HypervisorType hypervisor = iter.next();
- VMTemplateVO template =
templateDao.findSystemVMReadyTemplate(zoneId, hypervisor);
+ VMTemplateVO template =
templateDao.findSystemVMReadyTemplate(zoneId, hypervisor,
preferredArchitecture.value());
Review Comment:
Fixed, thanks @harikrishna-patnala
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]