Skip to content

Commit fc1b392

Browse files
authored
Merge pull request #588 from jschoiRR/mold-main#2025
[Mold API] 20250114일자 신규소스 반영 후 빌드 오류 수정
2 parents 0e2369d + 432f33b commit fc1b392

File tree

8 files changed

+15
-7
lines changed

8 files changed

+15
-7
lines changed

engine/storage/snapshot/src/main/java/org/apache/cloudstack/storage/snapshot/SnapshotObject.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,7 @@ public void setVmSnapshotName(String vmSnapshotName) {
476476
@Override
477477
public String getVmSnapshotName() {
478478
return vmSnapshotName;
479+
}
479480

480481
@Override
481482
public String toString() {

engine/storage/volume/src/main/java/org/apache/cloudstack/storage/volume/VolumeObject.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,8 @@ public Long getUsedPhysicalSize() {
998998
@Override
999999
public void setUsedPhysicalSize(Long usedPhysicalSize) {
10001000
volumeVO.setUsedPhysicalSize(usedPhysicalSize);
1001-
1001+
}
1002+
10021003
@Override
10031004
public String toString() {
10041005
return String.format("VolumeObject %s",

plugins/integrations/automation-service/src/main/java/com/cloud/automation/controller/actionworkers/AutomationControllerActionWorker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ protected DeployDestination plan(final long nodesCount, final DataCenter zone, f
403403
if (logger.isDebugEnabled()) {
404404
logger.debug(String.format("Checking host : %s for capacity already reserved %d", h.getName(), reserved));
405405
}
406-
if (capacityManager.checkIfHostHasCapacity(h.getId(), cpu_requested * reserved, ram_requested * reserved, false, cpuOvercommitRatio, memoryOvercommitRatio, true)) {
406+
if (capacityManager.checkIfHostHasCapacity(h, cpu_requested * reserved, ram_requested * reserved, false, cpuOvercommitRatio, memoryOvercommitRatio, true)) {
407407
if (logger.isDebugEnabled()) {
408408
logger.debug(String.format("Found host : %s for with enough capacity, CPU=%d RAM=%s", h.getName(), cpu_requested * reserved, toHumanReadableSize(ram_requested * reserved)));
409409
}

plugins/integrations/automation-service/src/main/java/com/cloud/automation/controller/actionworkers/AutomationControllerResourceModifierActionWorker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ protected DeployDestination plan(final long nodesCount, final DataCenter zone, f
157157
if (logger.isDebugEnabled()) {
158158
logger.debug(String.format("Checking host : %s for capacity already reserved %d", h.getName(), reserved));
159159
}
160-
if (capacityManager.checkIfHostHasCapacity(h.getId(), cpu_requested * reserved, ram_requested * reserved, false, cpuOvercommitRatio, memoryOvercommitRatio, true)) {
160+
if (capacityManager.checkIfHostHasCapacity(h, cpu_requested * reserved, ram_requested * reserved, false, cpuOvercommitRatio, memoryOvercommitRatio, true)) {
161161
if (logger.isDebugEnabled()) {
162162
logger.debug(String.format("Found host : %s for with enough capacity, CPU=%d RAM=%s", h.getName(), cpu_requested * reserved, toHumanReadableSize(ram_requested * reserved)));
163163
}

plugins/integrations/desktop-service/src/main/java/com/cloud/desktop/cluster/actionworkers/DesktopClusterResourceModifierActionWorker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ protected DeployDestination plan(final long nodesCount, final DataCenter zone, f
160160
if (logger.isDebugEnabled()) {
161161
logger.debug(String.format("Checking host : %s for capacity already reserved %d", h.getName(), reserved));
162162
}
163-
if (capacityManager.checkIfHostHasCapacity(h.getId(), cpu_requested * reserved, ram_requested * reserved, false, cpuOvercommitRatio, memoryOvercommitRatio, true)) {
163+
if (capacityManager.checkIfHostHasCapacity(h, cpu_requested * reserved, ram_requested * reserved, false, cpuOvercommitRatio, memoryOvercommitRatio, true)) {
164164
if (logger.isDebugEnabled()) {
165165
logger.debug(String.format("Found host : %s for with enough capacity, CPU=%d RAM=%s", h.getName(), cpu_requested * reserved, toHumanReadableSize(ram_requested * reserved)));
166166
}

plugins/storage/volume/ablestack/src/main/java/org/apache/cloudstack/storage/datastore/lifecycle/AblestackPrimaryDataStoreLifeCycleImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public boolean attachCluster(DataStore store, ClusterScope scope) {
234234
List<HostVO> poolHosts = new ArrayList<HostVO>();
235235
for (HostVO h : allHosts) {
236236
try {
237-
storageMgr.connectHostToSharedPool(h.getId(), primarystore.getId());
237+
storageMgr.connectHostToSharedPool(h, primarystore.getId());
238238
poolHosts.add(h);
239239
} catch (StorageConflictException se) {
240240
primaryDataStoreDao.expunge(primarystore.getId());
@@ -261,7 +261,7 @@ public boolean attachZone(DataStore dataStore, ZoneScope scope, HypervisorType h
261261
List<HostVO> poolHosts = new ArrayList<HostVO>();
262262
for (HostVO host : hosts) {
263263
try {
264-
storageMgr.connectHostToSharedPool(host.getId(), dataStore.getId());
264+
storageMgr.connectHostToSharedPool(host, dataStore.getId());
265265
poolHosts.add(host);
266266
} catch (StorageConflictException se) {
267267
primaryDataStoreDao.expunge(dataStore.getId());

server/src/main/java/com/cloud/vm/UserVmManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@
331331
import com.cloud.storage.StoragePoolStatus;
332332
import com.cloud.storage.VMTemplateStorageResourceAssoc;
333333
import com.cloud.storage.VMTemplateVO;
334+
import com.cloud.storage.VMTemplateZoneVO;
334335
import com.cloud.storage.Volume;
335336
import com.cloud.storage.VolumeApiService;
336337
import com.cloud.storage.VolumeVO;
@@ -4411,7 +4412,6 @@ private UserVm getUncheckedUserVmResource(DataCenter zone, String hostName, Stri
44114412
if (template.getTemplateType().equals(TemplateType.SYSTEM) && !CKS_NODE.equals(vmType) && !SHAREDFSVM.equals(vmType)) {
44124413
throw new InvalidParameterValueException(String.format("Unable to use system template %s to deploy a user vm", template));
44134414
}
4414-
44154415
List<VMTemplateZoneVO> listZoneTemplate = _templateZoneDao.listByZoneTemplate(zone.getId(), template.getId());
44164416
if (listZoneTemplate == null || listZoneTemplate.isEmpty()) {
44174417
throw new InvalidParameterValueException(String.format("The template %s is not available for use", template));

ui/public/locales/ko_KR.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,6 +1350,7 @@
13501350
"label.lbprovider": "\ub85c\ub4dc \ubc38\ub7f0\uc11c \uc81c\uacf5\uc790",
13511351
"label.lbruleid": "\ub85c\ub4dc \ubc38\ub7f0\uc11c ID",
13521352
"label.lbtype": "\ub85c\ub4dc \ubc38\ub7f0\uc11c \uc720\ud615",
1353+
"label.ldap": "LDAP",
13531354
"label.ldap.configuration": "LDAP \uad6c\uc131",
13541355
"label.ldap.group.name": "LDAP \uadf8\ub8f9",
13551356
"label.level": "\ub808\ubca8",
@@ -1537,6 +1538,7 @@
15371538
"label.name.optional": "\uc774\ub984(\uc635\uc158)",
15381539
"label.diskofferingname": "\ub514\uc2a4\ud06c \uc624\ud37c\ub9c1 \uc774\ub984",
15391540
"label.nat": "BigSwitch BCF NAT \uc0ac\uc6a9",
1541+
"label.native": "Native",
15401542
"label.ncc": "NCC",
15411543
"label.netmask": "\ub137\ub9c8\uc2a4\ud06c",
15421544
"label.netscaler": "NetScaler",
@@ -1579,6 +1581,7 @@
15791581
"label.networkspeed": "\ub124\ud2b8\uc6cc\ud06c \uc18d\ub3c4",
15801582
"label.networktype": "\ub124\ud2b8\uc6cc\ud06c \uc720\ud615",
15811583
"label.networkwrite": "\ub124\ud2b8\uc6cc\ud06c \uc4f0\uae30",
1584+
"label.never": "\uc5c6\uc74c",
15821585
"label.new": "\uc2e0\uaddc",
15831586
"label.new.autoscale.vmgroup": "\uc0c8 \uc624\ud1a0\uc2a4\ucf00\uc77c VM \uadf8\ub8f9",
15841587
"label.new.instance.group": "\uc0c8 \uac00\uc0c1\uba38\uc2e0 \uadf8\ub8f9",
@@ -2036,7 +2039,9 @@
20362039
"label.s3.secret.key": "\ube44\ubc00 \ud0a4",
20372040
"label.s3.socket.timeout": "\uc18c\ucf13 \uc2dc\uac04\ucd08\uacfc",
20382041
"label.s3.use.https": "HTTPS \uc0ac\uc6a9",
2042+
"label.saml": "SAML",
20392043
"label.saml.disable": "SAML \ube44\ud65c\uc131\ud654",
2044+
"label.saml.disabled": "SAML \ube44\ud65c\uc131\ud654\ub428",
20402045
"label.saml.enable": "SAML \ud65c\uc131\ud654",
20412046
"label.samlenable": "SAML SSO \uc2b9\uc778",
20422047
"label.samlentity": "\uc544\uc774\ub374\ud2f0\ud2f0 \uc81c\uacf5\uc790",
@@ -2186,6 +2191,7 @@
21862191
"label.srx.firewall": "Juniper SRX \ubc29\ud654\ubcbd",
21872192
"label.ssh.key.pairs": "SSH \ud0a4 \uc30d",
21882193
"label.uefi.supported": "\uc9c0\uc6d0\ub418\ub294 UEFI",
2194+
"label.usediops": "\uc0ac\uc6a9\ub41c IOPS",
21892195
"label.userdataid": "\uc0ac\uc6a9\uc790 \ub370\uc774\ud130 ID",
21902196
"label.userdataname": "\uc0ac\uc6a9\uc790 \ub370\uc774\ud130 \uc774\ub984",
21912197
"label.userdatadetails": "\uc0ac\uc6a9\uc790 \ub370\uc774\ud130 \uc138\ubd80 \uc815\ubcf4",

0 commit comments

Comments
 (0)