cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [cloudstack] branch master updated (6e832b5 -> f917ab6)
Date Wed, 30 Aug 2017 16:06:51 GMT
This is an automated email from the ASF dual-hosted git repository.

bhaisaab pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git.


    from 6e832b5  Merge pull request #2109 from Accelerite/CLOUDSTACK-9922
     new 212e5cc  CLOUDSTACK-9782: Host HA and KVM HA provider
     new c0b33db  CLOUDSTACK-9782: Nested-oobm CloudStack plugin
     new d2c3408  CLOUDSTACK-9782: Improve scheduling of jobs
     new f917ab6  CLOUDSTACK-9782: Improve host HA tests

The 4 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.


Summary of changes:
 .travis.yml                                        |  17 +-
 api/src/com/cloud/dc/DataCenter.java               |   5 +-
 api/src/com/cloud/event/EventTypes.java            |  13 +
 api/src/com/cloud/host/Host.java                   |  14 +-
 api/src/com/cloud/host/Status.java                 |   2 +
 api/src/com/cloud/org/Cluster.java                 |   6 +-
 api/src/com/cloud/resource/ResourceState.java      |   3 +
 api/src/com/cloud/vm/VirtualMachine.java           |  18 +-
 .../org/apache/cloudstack/alert/AlertService.java  |   7 +-
 .../org/apache/cloudstack/api/ApiConstants.java    |   7 +
 .../command/admin/ha/ConfigureHAForHostCmd.java    | 127 ++++
 .../command/admin/ha/DisableHAForClusterCmd.java   | 114 +++
 .../api/command/admin/ha/DisableHAForHostCmd.java  | 116 +++
 .../api/command/admin/ha/DisableHAForZoneCmd.java  | 115 +++
 .../command/admin/ha/EnableHAForClusterCmd.java    | 114 +++
 .../api/command/admin/ha/EnableHAForHostCmd.java   | 116 +++
 .../api/command/admin/ha/EnableHAForZoneCmd.java   | 115 +++
 .../command/admin/ha/ListHostHAProvidersCmd.java   | 106 +++
 .../command/admin/ha/ListHostHAResourcesCmd.java   | 109 +++
 .../api/response/HAProviderResponse.java           |  58 ++
 .../cloudstack/api/response/HostHAResponse.java    | 104 +++
 .../cloudstack/api/response/HostResponse.java      |  13 +
 .../api/response/OutOfBandManagementResponse.java  |   2 +-
 api/src/org/apache/cloudstack/ha/HAConfig.java     | 146 ++++
 .../org/apache/cloudstack/ha/HAConfigManager.java  |  96 +++
 .../apache/cloudstack/ha/HAResource.java}          |  34 +-
 .../apache/cloudstack/kernel/Partition.java}       |  29 +-
 .../outofbandmanagement/OutOfBandManagement.java   |   4 +-
 client/pom.xml                                     |   5 +
 ...-core-lifecycle-compute-context-inheritable.xml |   5 +
 .../core/spring-core-registry-core-context.xml     |   5 +
 .../api/CheckVMActivityOnStoragePoolCommand.java   |  70 ++
 .../api/agent/test/CheckOnHostCommandTest.java     |  19 +-
 .../src/com/cloud/agent/AgentManager.java          |   2 +
 .../agent/manager/ClusteredAgentManagerImpl.java   |   4 +
 .../datacenter/entity/api/db/EngineClusterVO.java  |  31 +-
 .../entity/api/db/EngineDataCenterVO.java          |  29 +-
 .../datacenter/entity/api/db/EngineHostVO.java     |  45 +-
 .../spring-engine-schema-core-daos-context.xml     |   2 +
 engine/schema/src/com/cloud/dc/ClusterVO.java      |  22 +-
 engine/schema/src/com/cloud/dc/DataCenterVO.java   |  20 +-
 engine/schema/src/com/cloud/host/HostVO.java       |  38 +-
 engine/schema/src/com/cloud/vm/VMInstanceVO.java   |  33 +-
 .../engine/cloud/entity/api/db/VMEntityVO.java     |   5 +
 .../HAConfigVO.java}                               | 127 +---
 .../org/apache/cloudstack/ha/dao/HAConfigDao.java  |  35 +-
 .../apache/cloudstack/ha/dao/HAConfigDaoImpl.java  | 149 ++++
 .../outofbandmanagement/OutOfBandManagementVO.java |   6 +-
 .../kvm-compute/spring-kvm-compute-context.xml     |   7 +
 .../kvm/src/com/cloud/ha/KVMInvestigator.java      |  21 +-
 .../cloud/hypervisor/kvm/resource/KVMHABase.java   |   5 +
 .../hypervisor/kvm/resource/KVMHAChecker.java      |  10 +-
 .../hypervisor/kvm/resource/KVMHAMonitor.java      |  24 +-
 .../kvm/resource/KVMHAVMActivityChecker.java       |  70 ++
 .../kvm/resource/LibvirtComputingResource.java     |  10 +
 .../wrapper/LibvirtCheckOnHostCommandWrapper.java  |   6 +-
 ...CheckVMActivityOnStoragePoolCommandWrapper.java |  65 ++
 .../org/apache/cloudstack/kvm/ha/KVMHAConfig.java  |  56 ++
 .../apache/cloudstack/kvm/ha/KVMHAProvider.java    | 157 +++++
 .../cloudstack/kvm/ha/KVMHostActivityChecker.java  | 205 ++++++
 .../apache/cloudstack/kvm/ha/KVMHostHATest.java    |  84 +++
 plugins/hypervisors/simulator/pom.xml              |   5 +
 .../spring-simulator-compute-context.xml           |   4 +
 .../cloud/agent/manager/SimulatorManagerImpl.java  |   4 +
 .../ConfigureSimulatorHAProviderState.java         | 120 ++++
 .../commands/ListSimulatorHAStateTransitions.java  | 104 +++
 .../api/response/SimulatorHAStateResponse.java     |  65 ++
 .../src/com/cloud/ha/SimulatorInvestigator.java    |  10 +
 .../apache/cloudstack/ha/SimulatorHAProvider.java  | 160 +++++
 .../org/apache/cloudstack/ha/SimulatorHAState.java |  89 +++
 .../nested-cloudstack/pom.xml                      |  46 ++
 .../cloudstack/nested-cloudstack/module.properties |  19 +-
 .../spring-nested-cloudstack-context.xml}          |  15 +-
 .../NestedCloudStackOutOfBandManagementDriver.java | 147 ++++
 ...tedCloudStackOutOfBandManagementDriverTest.java |  75 ++
 plugins/pom.xml                                    |   1 +
 scripts/vm/hypervisor/kvm/kvmvmactivity.sh         | 135 ++++
 .../core/spring-server-core-managers-context.xml   |   5 +
 server/src/com/cloud/alert/AlertManagerImpl.java   |   1 +
 .../com/cloud/api/query/dao/HostJoinDaoImpl.java   |   5 +
 server/src/com/cloud/api/query/vo/HostJoinVO.java  |  22 +
 .../com/cloud/resource/ResourceManagerImpl.java    |   2 +-
 .../src/com/cloud/storage/StorageManagerImpl.java  |   3 -
 server/src/org/apache/cloudstack/ha/HAManager.java |  77 ++
 .../org/apache/cloudstack/ha/HAManagerImpl.java    | 714 +++++++++++++++++++
 .../apache/cloudstack/ha/HAResourceCounter.java    | 131 ++++
 .../ha/provider/ActivityCheckerInterface.java      |  30 +-
 .../cloudstack/ha/provider/HACheckerException.java |  26 +-
 .../cloudstack/ha/provider/HAFenceException.java   |  26 +-
 .../apache/cloudstack/ha/provider/HAProvider.java  |  66 ++
 .../ha/provider/HARecoveryException.java           |  27 +-
 .../ha/provider/HealthCheckerInterface.java        |  29 +-
 .../cloudstack/ha/provider/HostHAProvider.java     |  26 +-
 .../ha/provider/host/HAAbstractHostProvider.java   | 109 +++
 .../cloudstack/ha/task/ActivityCheckTask.java      |  83 +++
 .../org/apache/cloudstack/ha/task/BaseHATask.java  | 111 +++
 .../org/apache/cloudstack/ha/task/FenceTask.java   |  56 ++
 .../apache/cloudstack/ha/task/HealthCheckTask.java |  63 ++
 .../apache/cloudstack/ha/task/RecoveryTask.java    |  58 ++
 .../OutOfBandManagementServiceImpl.java            |   8 +-
 .../OutOfBandManagementServiceTest.java            |   2 +-
 setup/db/db/schema-41000to41100.sql                | 106 +++
 setup/db/db/schema-481to490-cleanup.sql            |  76 --
 setup/db/db/schema-481to490.sql                    |  78 ++-
 setup/db/db/schema-4930to41000.sql                 |   2 +-
 test/integration/component/test_host_ha.py         | 289 +++++---
 test/integration/component/test_host_ha.sh         |  86 ++-
 test/integration/smoke/test_hostha_kvm.py          | 659 +++++++++++++++++
 test/integration/smoke/test_hostha_simulator.py    | 776 +++++++++++++++++++++
 .../smoke/test_outofbandmanagement_nestedplugin.py | 256 +++++++
 tools/travis/install.sh                            |   2 +-
 tools/travis/script.sh                             |   1 +
 ui/css/cloudstack3.css                             |  32 +
 ui/l10n/en.js                                      |   6 +
 ui/scripts/system.js                               | 382 +++++++++-
 115 files changed, 7755 insertions(+), 657 deletions(-)
 create mode 100644 api/src/org/apache/cloudstack/api/command/admin/ha/ConfigureHAForHostCmd.java
 create mode 100644 api/src/org/apache/cloudstack/api/command/admin/ha/DisableHAForClusterCmd.java
 create mode 100644 api/src/org/apache/cloudstack/api/command/admin/ha/DisableHAForHostCmd.java
 create mode 100644 api/src/org/apache/cloudstack/api/command/admin/ha/DisableHAForZoneCmd.java
 create mode 100644 api/src/org/apache/cloudstack/api/command/admin/ha/EnableHAForClusterCmd.java
 create mode 100644 api/src/org/apache/cloudstack/api/command/admin/ha/EnableHAForHostCmd.java
 create mode 100644 api/src/org/apache/cloudstack/api/command/admin/ha/EnableHAForZoneCmd.java
 create mode 100644 api/src/org/apache/cloudstack/api/command/admin/ha/ListHostHAProvidersCmd.java
 create mode 100644 api/src/org/apache/cloudstack/api/command/admin/ha/ListHostHAResourcesCmd.java
 create mode 100644 api/src/org/apache/cloudstack/api/response/HAProviderResponse.java
 create mode 100644 api/src/org/apache/cloudstack/api/response/HostHAResponse.java
 create mode 100644 api/src/org/apache/cloudstack/ha/HAConfig.java
 create mode 100644 api/src/org/apache/cloudstack/ha/HAConfigManager.java
 copy api/src/{com/cloud/org/Cluster.java => org/apache/cloudstack/ha/HAResource.java}
(59%)
 copy api/src/{com/cloud/org/Cluster.java => org/apache/cloudstack/kernel/Partition.java}
(64%)
 create mode 100644 core/src/com/cloud/agent/api/CheckVMActivityOnStoragePoolCommand.java
 copy engine/schema/src/org/apache/cloudstack/{outofbandmanagement/OutOfBandManagementVO.java
=> ha/HAConfigVO.java} (55%)
 copy api/src/com/cloud/org/Cluster.java => engine/schema/src/org/apache/cloudstack/ha/dao/HAConfigDao.java
(56%)
 create mode 100644 engine/schema/src/org/apache/cloudstack/ha/dao/HAConfigDaoImpl.java
 create mode 100644 plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/KVMHAVMActivityChecker.java
 create mode 100644 plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtCheckVMActivityOnStoragePoolCommandWrapper.java
 create mode 100644 plugins/hypervisors/kvm/src/org/apache/cloudstack/kvm/ha/KVMHAConfig.java
 create mode 100644 plugins/hypervisors/kvm/src/org/apache/cloudstack/kvm/ha/KVMHAProvider.java
 create mode 100644 plugins/hypervisors/kvm/src/org/apache/cloudstack/kvm/ha/KVMHostActivityChecker.java
 create mode 100644 plugins/hypervisors/kvm/test/org/apache/cloudstack/kvm/ha/KVMHostHATest.java
 create mode 100644 plugins/hypervisors/simulator/src/com/cloud/api/commands/ConfigureSimulatorHAProviderState.java
 create mode 100644 plugins/hypervisors/simulator/src/com/cloud/api/commands/ListSimulatorHAStateTransitions.java
 create mode 100644 plugins/hypervisors/simulator/src/com/cloud/api/response/SimulatorHAStateResponse.java
 create mode 100644 plugins/hypervisors/simulator/src/org/apache/cloudstack/ha/SimulatorHAProvider.java
 create mode 100644 plugins/hypervisors/simulator/src/org/apache/cloudstack/ha/SimulatorHAState.java
 create mode 100644 plugins/outofbandmanagement-drivers/nested-cloudstack/pom.xml
 copy tools/travis/script.sh => plugins/outofbandmanagement-drivers/nested-cloudstack/resources/META-INF/cloudstack/nested-cloudstack/module.properties
(56%)
 mode change 100755 => 100644
 copy plugins/{hypervisors/kvm/resources/META-INF/cloudstack/kvm-compute/spring-kvm-compute-context.xml
=> outofbandmanagement-drivers/nested-cloudstack/resources/META-INF/cloudstack/nested-cloudstack/spring-nested-cloudstack-context.xml}
(64%)
 create mode 100644 plugins/outofbandmanagement-drivers/nested-cloudstack/src/org/apache/cloudstack/outofbandmanagement/driver/nestedcloudstack/NestedCloudStackOutOfBandManagementDriver.java
 create mode 100644 plugins/outofbandmanagement-drivers/nested-cloudstack/test/org/apache/cloudstack/outofbandmanagement/driver/nestedcloudstack/NestedCloudStackOutOfBandManagementDriverTest.java
 create mode 100755 scripts/vm/hypervisor/kvm/kvmvmactivity.sh
 create mode 100644 server/src/org/apache/cloudstack/ha/HAManager.java
 create mode 100644 server/src/org/apache/cloudstack/ha/HAManagerImpl.java
 create mode 100644 server/src/org/apache/cloudstack/ha/HAResourceCounter.java
 copy api/src/com/cloud/org/Cluster.java => server/src/org/apache/cloudstack/ha/provider/ActivityCheckerInterface.java
(57%)
 copy api/src/com/cloud/org/Cluster.java => server/src/org/apache/cloudstack/ha/provider/HACheckerException.java
(57%)
 copy api/src/com/cloud/org/Cluster.java => server/src/org/apache/cloudstack/ha/provider/HAFenceException.java
(57%)
 create mode 100644 server/src/org/apache/cloudstack/ha/provider/HAProvider.java
 copy api/src/com/cloud/org/Cluster.java => server/src/org/apache/cloudstack/ha/provider/HARecoveryException.java
(57%)
 copy api/src/com/cloud/org/Cluster.java => server/src/org/apache/cloudstack/ha/provider/HealthCheckerInterface.java
(57%)
 copy api/src/com/cloud/org/Cluster.java => server/src/org/apache/cloudstack/ha/provider/HostHAProvider.java
(57%)
 create mode 100644 server/src/org/apache/cloudstack/ha/provider/host/HAAbstractHostProvider.java
 create mode 100644 server/src/org/apache/cloudstack/ha/task/ActivityCheckTask.java
 create mode 100644 server/src/org/apache/cloudstack/ha/task/BaseHATask.java
 create mode 100644 server/src/org/apache/cloudstack/ha/task/FenceTask.java
 create mode 100644 server/src/org/apache/cloudstack/ha/task/HealthCheckTask.java
 create mode 100644 server/src/org/apache/cloudstack/ha/task/RecoveryTask.java
 create mode 100644 test/integration/smoke/test_hostha_kvm.py
 create mode 100644 test/integration/smoke/test_hostha_simulator.py
 create mode 100644 test/integration/smoke/test_outofbandmanagement_nestedplugin.py

-- 
To stop receiving notification emails like this one, please contact
['"commits@cloudstack.apache.org" <commits@cloudstack.apache.org>'].

Mime
View raw message