You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by we...@apache.org on 2022/08/02 12:36:31 UTC
[cloudstack] branch 4.18-vm-autoscaling updated (7ca403718b -> 8606ad72c8)
This is an automated email from the ASF dual-hosted git repository.
weizhou pushed a change to branch 4.18-vm-autoscaling
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
from 7ca403718b AS: fix sonarcloud bugs part3
add 3a9932ed19 AS: insert Inactive records if fail to fetch cpu/memory/network traffic/lb
add 639fc380b3 AS: mark statistics as Inactive if (1) update conditions; (2) update AS policy; (3) update group scaleup/down policy
add b6b31efa94 AS: check Inactive records before process, process with only Active records
add a9da7db9e2 AS: clean statistics when scale up/down
add d077fefb36 AS: change size to disksize
add 8980cc4811 ui/src/views/compute/DeployVM.vue: send request by POST only if userdata is passed
add e1ce2c85a2 AS UI: show snmp params only if lb provider is netscaler
add e523ed3235 AS: update marvin to support new AS apis
add 545b6d6886 AS UI: fix creation with override custom disk offering
add bc8aa322b9 AS: add marvin test test_vm_autoscaling.py
add 540fb615b9 AS test: add new marvin classes
add 53d9789b4a AS marvin: fix test caused by conflict of overdiskofferingid and rootdisksize
add d6d540c0d0 AS: remove AS groups when remove an account
add 32a1acbe06 AS WIP: update marvin test
add e3fc1bce79 AS: list vms by autoscalevmgroupid
add b3179afdd5 AS: add vm to group soon after vm is created
add ce6e2d2d83 AS: create dummy record when create/disable/enable a vm group
add 366cb0e15f AS: mark statistics as Inactive no matter why scale up/down
add a855b6ee9d AS: fix statistics are not removed
add 354592acf6 AS: fix cannot insert dummy record
add dd5f286b09 AS: fix statistics are not marked as Inactive
add 460e92a511 AS: mark statistics when update policy with conditionids
add a59e20111b AS UI: allow update vm group name when state is not Disbled
add 0faf9d2825 AS DB: correct name of counters
add 02f6959734 AS: fix get_haproxy_stats.sh
add 95624026df AS: create vm profile with userdata
add 8606ad72c8 AS test: fix marvin test failure
No new revisions were added by this update.
Summary of changes:
.../org/apache/cloudstack/api/ApiConstants.java | 2 +
.../cloudstack/api/command/user/vm/ListVMsCmd.java | 8 +
.../cloudstack/api/response/UserVmResponse.java | 24 ++
.../network/as/AutoScaleVmGroupStatisticsVO.java | 40 ++-
.../cloud/network/as/dao/AutoScaleVmGroupDao.java | 2 +
.../network/as/dao/AutoScaleVmGroupDaoImpl.java | 7 +
.../as/dao/AutoScaleVmGroupStatisticsDao.java | 7 +-
.../as/dao/AutoScaleVmGroupStatisticsDaoImpl.java | 43 ++-
.../resources/META-INF/db/schema-41710to41800.sql | 199 +++++++++++-
.../java/com/cloud/api/query/QueryManagerImpl.java | 10 +-
.../com/cloud/api/query/dao/UserVmJoinDaoImpl.java | 7 +
.../java/com/cloud/api/query/vo/UserVmJoinVO.java | 21 ++
.../com/cloud/network/as/AutoScaleManager.java | 4 +-
.../com/cloud/network/as/AutoScaleManagerImpl.java | 199 ++++++++----
.../java/com/cloud/user/AccountManagerImpl.java | 6 +
.../main/java/com/cloud/vm/UserVmManagerImpl.java | 2 +-
.../com/cloud/user/AccountManagerImplTest.java | 1 +
systemvm/debian/opt/cloud/bin/get_haproxy_stats.sh | 2 +-
test/integration/smoke/test_vm_autoscaling.py | 334 +++++++++++++++++++++
tools/marvin/marvin/lib/base.py | 268 ++++++++++++++++-
ui/public/locales/en.json | 1 +
ui/src/components/view/InfoCard.vue | 7 +
ui/src/config/section/compute.js | 16 +-
ui/src/views/compute/AutoScaleVmProfile.vue | 14 +-
ui/src/views/compute/CreateAutoScaleVmGroup.vue | 5 +-
ui/src/views/compute/DeployVM.vue | 6 +-
26 files changed, 1156 insertions(+), 79 deletions(-)
create mode 100644 test/integration/smoke/test_vm_autoscaling.py