You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pe...@apache.org on 2025/08/15 16:27:50 UTC
(cloudstack) branch fix-cks-basic-zone created (now 5af34476a6a)
This is an automated email from the ASF dual-hosted git repository.
pearl11594 pushed a change to branch fix-cks-basic-zone
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
at 5af34476a6a Fix deployment of CKS clusters in Basic zone
This branch includes the following new commits:
new 5af34476a6a Fix deployment of CKS clusters in Basic zone
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(cloudstack) 01/01: Fix deployment of CKS clusters in Basic zone
Posted by pe...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
pearl11594 pushed a commit to branch fix-cks-basic-zone
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
commit 5af34476a6a40ad8a537326dec121d9da5f720c6
Author: Pearl Dsilva <pe...@gmail.com>
AuthorDate: Fri Aug 15 12:27:34 2025 -0400
Fix deployment of CKS clusters in Basic zone
---
.../org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java b/engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java
index e758d0b6832..a9c15afc2cf 100644
--- a/engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java
+++ b/engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java
@@ -21,6 +21,7 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
+import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
@@ -1292,6 +1293,7 @@ public class NetworkOrchestrator extends ManagerBase implements NetworkOrchestra
IPAddressVO lockedIpVO = _ipAddressDao.acquireInLockTable(ipVO.getId());
validateLockedRequestedIp(ipVO, lockedIpVO);
lockedIpVO.setState(IPAddressVO.State.Allocated);
+ lockedIpVO.setAllocatedTime(new Date());
_ipAddressDao.update(lockedIpVO.getId(), lockedIpVO);
} finally {
_ipAddressDao.releaseFromLockTable(ipVO.getId());