You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "bernardodemarco (via GitHub)" <gi...@apache.org> on 2025/09/08 17:28:30 UTC

[PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

bernardodemarco opened a new pull request, #11598:
URL: https://github.com/apache/cloudstack/pull/11598

   ### Description
   
   When scaling the compute offering of stopped k8s clusters, the following exception is thrown in the Management Server logs:
   
   ```bash
   2025-09-08 16:53:27,031 INFO  [c.c.k.c.a.KubernetesClusterActionWorker] (API-Job-Executor-3:ctx-32fdc15a job-43 ctx-3bbdb451) (logid:0a5136ec) Scaling Kubernetes cluster : k8s-min-offering
   2025-09-08 16:53:27,035 WARN  [c.c.k.c.a.KubernetesClusterActionWorker] (API-Job-Executor-3:ctx-32fdc15a job-43 ctx-3bbdb451) (logid:0a5136ec) Failed to transition state of the Kubernetes cluster : k8s-min-offering in state Stopped on event ScaleUpRequested
   com.cloud.utils.fsm.NoTransitionException: Unable to transition to a new state from Stopped via ScaleUpRequested
   	at com.cloud.utils.fsm.StateMachine2.getTransition(StateMachine2.java:108)
   	at com.cloud.utils.fsm.StateMachine2.getNextState(StateMachine2.java:94)
   	at com.cloud.utils.fsm.StateMachine2.transitTo(StateMachine2.java:124)
   	at com.cloud.kubernetes.cluster.actionworkers.KubernetesClusterActionWorker.stateTransitTo(KubernetesClusterActionWorker.java:560)
   	at com.cloud.kubernetes.cluster.actionworkers.KubernetesClusterScaleWorker.scaleKubernetesClusterOffering(KubernetesClusterScaleWorker.java:288)
   	at com.cloud.kubernetes.cluster.actionworkers.KubernetesClusterScaleWorker.scaleCluster(KubernetesClusterScaleWorker.java:470)
   	at com.cloud.kubernetes.cluster.KubernetesClusterManagerImpl.scaleKubernetesCluster(KubernetesClusterManagerImpl.java:1744)
   # (...)
   ```
   
   It is relevant to highlight that, although the exception is thrown, it does not interfere in the scaling process.
   
   This PR proposes to fix the exception throw by adding a new state and transitions to the Kubernetes Cluster finite state machine.
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [X] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   - [ ] build/CI
   - [ ] test (unit or integration test code)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [X] Trivial
   
   ### Screenshots (if appropriate):
   
   ### How Has This Been Tested?
   
   Before upgrading the environment with the current PR's changes, I verified that when scaling the compute offering of stopped k8s clusters, the exception was thrown.
   
   After applying the PR's changes, I verified that when scaling the compute offering of stopped k8s clusters, no exceptions were thrown.
   


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "bernardodemarco (via GitHub)" <gi...@apache.org>.
bernardodemarco commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3275440466

   @blueorangutan package


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "bernardodemarco (via GitHub)" <gi...@apache.org>.
bernardodemarco commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3267254358

   @blueorangutan package


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3267485556

   Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 14906


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3275974014

   @weizhouapache a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3275443495

   @bernardodemarco a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3275760303

   Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 14939


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3270802472

   Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 14919


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "Pearl1594 (via GitHub)" <gi...@apache.org>.
Pearl1594 commented on code in PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#discussion_r2331135810


##########
plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/KubernetesCluster.java:
##########
@@ -89,8 +90,11 @@ enum State {
             s_fsm.addTransition(State.Running, Event.AutoscaleRequested, State.Scaling);
             s_fsm.addTransition(State.Running, Event.ScaleUpRequested, State.Scaling);
             s_fsm.addTransition(State.Running, Event.ScaleDownRequested, State.Scaling);
+            s_fsm.addTransition(State.Stopped, Event.ScaleUpRequested, State.ScalingOfferingOfStoppedCluster);

Review Comment:
   can we not just use Scaling state as opposed to ScalingOfferingOfStoppedCluster? i.e.,
   ```suggestion
               s_fsm.addTransition(State.Stopped, Event.ScaleUpRequested, State.Scaling);
   ```



-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3270295603

   @bernardodemarco a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3280004787

   <b>[SF] Trillian test result (tid-14283)</b>
   Environment: kvm-ol8 (x2), zone: Advanced Networking with Mgmt server ol8
   Total time taken: 59010 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr11598-t14283-kvm-ol8.zip
   Smoke tests completed. 141 look OK, 0 have errors, 0 did not run
   Only failed and skipped tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3279225132

   We had some issues with the testing environments.
   Merging on approvals and manual test results. Will keep eye on smoke tests of the health check PR
   
   


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "bernardodemarco (via GitHub)" <gi...@apache.org>.
bernardodemarco commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3275439999

   @weizhouapache, done!  Verified now that when scaling a stopped k8s cluster to the same offering, no exception is thrown


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "bernardodemarco (via GitHub)" <gi...@apache.org>.
bernardodemarco commented on code in PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#discussion_r2333188529


##########
plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/KubernetesCluster.java:
##########
@@ -89,8 +90,11 @@ enum State {
             s_fsm.addTransition(State.Running, Event.AutoscaleRequested, State.Scaling);
             s_fsm.addTransition(State.Running, Event.ScaleUpRequested, State.Scaling);
             s_fsm.addTransition(State.Running, Event.ScaleDownRequested, State.Scaling);
+            s_fsm.addTransition(State.Stopped, Event.ScaleUpRequested, State.ScalingOfferingOfStoppedCluster);

Review Comment:
   > @weizhouapache, thanks, I agree. I'll change that soon
   
   @weizhouapache, done!



-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "bernardodemarco (via GitHub)" <gi...@apache.org>.
bernardodemarco commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3275091775

   > tested ok @bernardodemarco
   
   @weizhouapache, thanks for testing!
   
   ---
   
   > I suggest to add a simple change as below
   
   Yes, makes sense. I'll soon apply that. Thanks!


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on code in PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#discussion_r2333078802


##########
plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/KubernetesCluster.java:
##########
@@ -89,8 +90,11 @@ enum State {
             s_fsm.addTransition(State.Running, Event.AutoscaleRequested, State.Scaling);
             s_fsm.addTransition(State.Running, Event.ScaleUpRequested, State.Scaling);
             s_fsm.addTransition(State.Running, Event.ScaleDownRequested, State.Scaling);
+            s_fsm.addTransition(State.Stopped, Event.ScaleUpRequested, State.ScalingOfferingOfStoppedCluster);

Review Comment:
   @Pearl1594 
   I think It is needed as the final state is Stopped when the operation succeeds



##########
plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/KubernetesCluster.java:
##########
@@ -89,8 +90,11 @@ enum State {
             s_fsm.addTransition(State.Running, Event.AutoscaleRequested, State.Scaling);
             s_fsm.addTransition(State.Running, Event.ScaleUpRequested, State.Scaling);
             s_fsm.addTransition(State.Running, Event.ScaleDownRequested, State.Scaling);
+            s_fsm.addTransition(State.Stopped, Event.ScaleUpRequested, State.ScalingOfferingOfStoppedCluster);

Review Comment:
   `ScalingStoppedCluster` is more simple I think



-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3271044547

   @blueorangutan test


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3273465533

   <b>[SF] Trillian test result (tid-14259)</b>
   Environment: kvm-ol8 (x2), zone: Advanced Networking with Mgmt server ol8
   Total time taken: 52968 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr11598-t14259-kvm-ol8.zip
   Smoke tests completed. 141 look OK, 0 have errors, 0 did not run
   Only failed and skipped tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3274639411

   tested ok @bernardodemarco 
   
   - create CKS cluster
   - stop it
   - scale it with different offering: works
   - scale it with the same offering: works, but noticed an exception in log
   
   ```
   2025-09-10 10:25:54,591 WARN  [c.c.k.c.a.KubernetesClusterScaleWorker] (API-Job-Executor-3:[ctx-4c667cd3, job-94, ctx-37993c65]) (logid:29bd2ac2) Failed to transition state of the Kubernetes cluster : cks-002 in state Stopped on event OperationSucceeded com.cloud.utils.fsm.NoTransitionException: Unable to transition to a new state from Stopped via OperationSucceeded
   ```
   
   @bernardodemarco 
   I suggest to add a simple change as below
   ```
   diff --git a/plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/actionworkers/KubernetesClusterScaleWorker.java b/plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/actionworkers/KubernetesClusterScaleWorker.java
   index 6fb15088e9b..f6828e3b203 100644
   --- a/plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/actionworkers/KubernetesClusterScaleWorker.java
   +++ b/plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/actionworkers/KubernetesClusterScaleWorker.java
   @@ -476,6 +476,8 @@ public class KubernetesClusterScaleWorker extends KubernetesClusterResourceModif
                scaleKubernetesClusterOffering();
            } else if (clusterSizeScalingNeeded) {
                scaleKubernetesClusterSize();
   +        } else {
   +            return true;
            }
            stateTransitTo(kubernetesCluster.getId(), KubernetesCluster.Event.OperationSucceeded);
            return true;
   ```


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache merged PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3275967595

   @blueorangutan test


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "bernardodemarco (via GitHub)" <gi...@apache.org>.
bernardodemarco commented on code in PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#discussion_r2333147216


##########
plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/KubernetesCluster.java:
##########
@@ -89,8 +90,11 @@ enum State {
             s_fsm.addTransition(State.Running, Event.AutoscaleRequested, State.Scaling);
             s_fsm.addTransition(State.Running, Event.ScaleUpRequested, State.Scaling);
             s_fsm.addTransition(State.Running, Event.ScaleDownRequested, State.Scaling);
+            s_fsm.addTransition(State.Stopped, Event.ScaleUpRequested, State.ScalingOfferingOfStoppedCluster);

Review Comment:
   > `ScalingStoppedCluster` is more simple I think
   
   @weizhouapache, thanks, I agree. I'll change that soon
   
   ---
   
   > can we not just use Scaling state as opposed to ScalingOfferingOfStoppedCluster? i.e.,
   
   @Pearl1594, unfortunately we cannot. As @weizhouapache mentioned (https://github.com/apache/cloudstack/pull/11598#discussion_r2333078802), the FSM has this transition:
   
   ```java
   s_fsm.addTransition(State.Scaling, Event.OperationSucceeded, State.Running);
   ```
   
   Thus, it would not be possible to transition from `Scaling` to `Stopped` when receiving an `Event.OperationSucceeded` event



-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3271052734

   @weizhouapache a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3267259718

   @bernardodemarco a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3267274812

   ## [Codecov](https://app.codecov.io/gh/apache/cloudstack/pull/11598?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :white_check_mark: All modified and coverable lines are covered by tests.
   :white_check_mark: Project coverage is 4.00%. Comparing base ([`9349b69`](https://app.codecov.io/gh/apache/cloudstack/commit/9349b69b7e6e2c6ba240f9c93ec7d2d61a791186?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`0cc25ed`](https://app.codecov.io/gh/apache/cloudstack/commit/0cc25ed17c390687e89abf89d6a24a5b46e214fb?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   > :exclamation:  There is a different number of reports uploaded between BASE (9349b69) and HEAD (0cc25ed). Click for more details.
   > 
   > <details><summary>HEAD has 1 upload less than BASE</summary>
   >
   >| Flag | BASE (9349b69) | HEAD (0cc25ed) |
   >|------|------|------|
   >|unittests|1|0|
   ></details>
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   ```diff
   @@              Coverage Diff              @@
   ##               4.20   #11598       +/-   ##
   =============================================
   - Coverage     16.17%    4.00%   -12.17%     
   =============================================
     Files          5656      402     -5254     
     Lines        498082    32641   -465441     
     Branches      60415     5798    -54617     
   =============================================
   - Hits          80569     1308    -79261     
   + Misses       408551    31183   -377368     
   + Partials       8962      150     -8812     
   ```
   
   | [Flag](https://app.codecov.io/gh/apache/cloudstack/pull/11598/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [uitests](https://app.codecov.io/gh/apache/cloudstack/pull/11598/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `4.00% <ø> (ø)` | |
   | [unittests](https://app.codecov.io/gh/apache/cloudstack/pull/11598/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
   </details>
   
   [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/cloudstack/pull/11598?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
   - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "bernardodemarco (via GitHub)" <gi...@apache.org>.
bernardodemarco commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3270291586

   @blueorangutan package


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3275473527

   > @weizhouapache, done! Verified now that when scaling a stopped k8s cluster to the same offering, no exception is thrown
   
   good, tested ok, thanks @bernardodemarco 


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix transition exception when scaling Stopped k8s clusters [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#issuecomment-3279224866

   tested ok
   - scale running cluster
   - scale stopped cluster to same offering
   - scale stopped cluster to another offering


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org