Skip to content

CKS: reconcile node capacity after live resize - #14223

Open
andrijapanicsb wants to merge 15 commits into
mainfrom
cks-live-resize-capacity-reconciliation
Open

andrijapanicsb wants to merge 15 commits into
mainfrom
cks-live-resize-capacity-reconciliation

CKS: avoid leaving a pending resize when placement fails

a8a500f
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Oct 31, 2026 in 5m 0s

Annotations

Check warning on line 2189 in server/src/main/java/com/cloud/vm/UserVmManagerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'com.cloud.exception.VirtualMachineMigrationException', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaGRqNi5Lh6Xm1Y7ugyw&open=AaGRqNi5Lh6Xm1Y7ugyw&pullRequest=14223

Check failure on line 2188 in server/src/main/java/com/cloud/vm/UserVmManagerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 41 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaGRqNi5Lh6Xm1Y7ugyv&open=AaGRqNi5Lh6Xm1Y7ugyv&pullRequest=14223

Check warning on line 491 in server/src/test/java/com/cloud/vm/UserVmManagerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "never".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaGRqNnwLh6Xm1Y7ugyx&open=AaGRqNnwLh6Xm1Y7ugyx&pullRequest=14223

Check warning on line 390 in plugins/integrations/kubernetes-service/src/test/java/com/cloud/kubernetes/cluster/actionworkers/KubernetesClusterNodeOfferingResizerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaGRqNUNLh6Xm1Y7ugyu&open=AaGRqNUNLh6Xm1Y7ugyu&pullRequest=14223