cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [14/51] [abbrv] git commit: updated refs/heads/4.9-bountycastle-daan to d8c42a9
Date Wed, 18 May 2016 11:46:39 GMT
Merge pull request #1502 from shapeblue/outofband-master

CLOUDSTACK-9299: Out-of-band Management for CloudStackSupport access to a hosts out-of-band
management interface (e.g. IPMI, iLO,
DRAC, etc.) to manage host power operations (on/off etc.) and querying current
power state in CloudStack.

Given the wide range of out-of-band management interfaces such as iLO and iDRA,
the service implementation allows for development of separate drivers as plugins.
This feature comes with a ipmitool based driver that uses the
ipmitool (http://linux.die.net/man/1/ipmitool) to communicate with any
out-of-band management interface that support IPMI 2.0.

This feature allows following common use-cases:
- Restarting stalled/failed hosts
- Powering off under-utilised hosts
- Powering on hosts for provisioning or to increase capacity
- Allowing system administrators to see the current power state of the host

For testing this feature, please install `ipmitool` (using yum/apt/brew) and `ipmisim`:
https://pypi.python.org/pypi/ipmisim

The default ipmitool location is assumed in /usr/bin, if this is different in your env please
fix the global setting, see FS for details on various global settings.

FS:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Out-of-band+Management+for+CloudStack

/cc @jburwell @swill @abhinandanprateek @murali-reddy @borisstoyanov

* pr/1502:
  maven: ignore utils/testsmallfileinactive for rat checking
  CLOUDSTACK-9378: Fix for #1497
  HypervisorUtilsTest: increate timeout to 8seconds
  travis: Use patched version of ipmitool for tests
  CLOUDSTACK-9299: Out-of-band Management for CloudStack

Signed-off-by: Will Stevens <williamstevens@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/143265c4
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/143265c4
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/143265c4

Branch: refs/heads/4.9-bountycastle-daan
Commit: 143265c49fcd573999d43c5811d2c69103c49a67
Parents: 103d62e 12fff7d
Author: Will Stevens <williamstevens@gmail.com>
Authored: Thu May 12 11:06:13 2016 -0400
Committer: Will Stevens <williamstevens@gmail.com>
Committed: Thu May 12 11:06:13 2016 -0400

----------------------------------------------------------------------
 .travis.yml                                     |   2 +-
 api/src/com/cloud/event/EventTypes.java         |  16 +
 api/src/com/cloud/resource/ResourceService.java |   3 +
 .../apache/cloudstack/alert/AlertService.java   |   1 +
 .../org/apache/cloudstack/api/ApiConstants.java |   6 +-
 .../org/apache/cloudstack/api/BaseResponse.java |  31 +-
 .../api/command/admin/host/ListHostsCmd.java    |  21 +-
 .../ChangeOutOfBandManagementPasswordCmd.java   | 112 ++++
 .../ConfigureOutOfBandManagementCmd.java        | 125 ++++
 ...DisableOutOfBandManagementForClusterCmd.java | 103 ++++
 .../DisableOutOfBandManagementForHostCmd.java   | 104 ++++
 .../DisableOutOfBandManagementForZoneCmd.java   | 103 ++++
 .../EnableOutOfBandManagementForClusterCmd.java | 103 ++++
 .../EnableOutOfBandManagementForHostCmd.java    | 104 ++++
 .../EnableOutOfBandManagementForZoneCmd.java    | 103 ++++
 .../IssueOutOfBandManagementPowerActionCmd.java | 124 ++++
 .../api/response/ClusterResponse.java           |  13 +
 .../cloudstack/api/response/HostResponse.java   |  13 +
 .../response/OutOfBandManagementResponse.java   | 189 ++++++
 .../cloudstack/api/response/ZoneResponse.java   |   6 +-
 .../OutOfBandManagement.java                    | 150 +++++
 .../OutOfBandManagementDriver.java              |  25 +
 .../OutOfBandManagementService.java             |  55 ++
 ...ndManagementDriverChangePasswordCommand.java |  34 ++
 .../OutOfBandManagementDriverCommand.java       |  43 ++
 .../OutOfBandManagementDriverPowerCommand.java  |  33 ++
 .../OutOfBandManagementDriverResponse.java      |  85 +++
 .../classes/resources/messages.properties       |  20 +
 client/pom.xml                                  |   5 +
 ...g-core-lifecycle-api-context-inheritable.xml |   1 -
 .../core/spring-core-registry-core-context.xml  |   7 +-
 .../outofbandmanagement/module.properties       |  21 +
 ...-outofbandmanagement-context-inheritable.xml |  36 ++
 debian/control                                  |   2 +-
 developer/developer-prefill.sql                 |  12 +
 .../cloud/agent/manager/AgentManagerImpl.java   |   3 +
 .../manager/ClusteredAgentManagerImpl.java      |   1 +
 .../spring-engine-schema-core-daos-context.xml  |   2 +-
 .../com/cloud/dc/dao/DataCenterDetailsDao.java  |   4 +-
 .../cloud/dc/dao/DataCenterDetailsDaoImpl.java  |  26 +-
 .../schema/src/com/cloud/host/dao/HostDao.java  |   4 +
 .../src/com/cloud/host/dao/HostDaoImpl.java     |  17 +
 .../OutOfBandManagementVO.java                  | 193 ++++++
 .../dao/OutOfBandManagementDao.java             |  31 +
 .../dao/OutOfBandManagementDaoImpl.java         | 158 +++++
 .../ipmitool/pom.xml                            |  41 ++
 .../cloudstack/ipmitool/module.properties       |  18 +
 .../ipmitool/spring-ipmitool-context.xml        |  34 ++
 .../IpmitoolOutOfBandManagementDriver.java      | 167 ++++++
 .../driver/ipmitool/IpmitoolWrapper.java        | 181 ++++++
 .../driver/ipmitool/IpmitoolWrapperTest.java    | 115 ++++
 plugins/pom.xml                                 |   1 +
 pom.xml                                         |   1 +
 .../spring-server-core-managers-context.xml     |   4 +
 .../src/com/cloud/alert/AlertManagerImpl.java   |   3 +-
 server/src/com/cloud/api/ApiResponseHelper.java |   4 +
 .../com/cloud/api/query/QueryManagerImpl.java   |  12 +
 .../cloud/api/query/dao/HostJoinDaoImpl.java    |  16 +-
 .../src/com/cloud/api/query/vo/HostJoinVO.java  |  16 +
 .../com/cloud/resource/ResourceManagerImpl.java |   6 +
 .../com/cloud/server/ManagementServerImpl.java  |  20 +
 server/src/com/cloud/server/StatsCollector.java |  48 +-
 .../OutOfBandManagementBackgroundTask.java      |  50 ++
 .../OutOfBandManagementServiceImpl.java         | 555 +++++++++++++++++
 .../cloud/resource/MockResourceManagerImpl.java |   7 +
 .../OutOfBandManagementServiceTest.java         | 116 ++++
 setup/db/db/schema-481to490-cleanup.sql         |  77 +++
 setup/db/db/schema-481to490.sql                 |  23 +
 setup/dev/advanced.cfg                          |  16 +-
 .../smoke/test_list_ids_parameter.py            |   8 +-
 .../smoke/test_outofbandmanagement.py           | 588 +++++++++++++++++++
 tools/apidoc/gen_toc.py                         |   1 +
 tools/marvin/setup.py                           |   3 +-
 tools/travis/before_install.sh                  |  15 +-
 ui/css/cloudstack3.css                          |  48 ++
 ui/dictionary.jsp                               |  21 +
 ui/scripts/metrics.js                           |  16 +
 ui/scripts/system.js                            | 573 +++++++++++++++++-
 .../java/com/cloud/utils/fsm/StateMachine2.java |  10 +
 .../cloudstack/utils/process/ProcessResult.java |  46 ++
 .../cloudstack/utils/process/ProcessRunner.java | 115 ++++
 .../utils/hypervisor/HypervisorUtilsTest.java   |   2 +-
 .../cloudstack/utils/process/ProcessTest.java   |  69 +++
 83 files changed, 5249 insertions(+), 47 deletions(-)
----------------------------------------------------------------------



Mime
View raw message