tripleo-common/tripleo_common/tests/actions
Luca Miccini 2e3431e8a8 Enable staging-ovirt (fence_rhevm) fencing agent.
This commit extends actions/parameters to generate
fencing parameters for nodes using staging-ovirt (fence_rhevm).

Given instackenv.json content like:

{
  "nodes":[
{
  "name":"ctrl01",
  "pm_type":"staging-ovirt",
  "mac": [
"56:6f:71:33:00:0d"
  ],
  "arch": "x86_64",
  "pm_user":"admin@internal",
  "pm_password":"redhat",
  "pm_addr":"10.0.0.141",
  "pm_vm_name":"ctrl01"
}
...

Here the generated fence.yaml:

parameter_defaults:
  EnableFencing: true
  FencingConfig:
    devices:
    - agent: fence_rhevm
      host_mac: 56:6f:71:33:00:0d
      params:
        ipaddr: 10.0.0.141
        login: admin@internal
        passwd: redhat
        port: ctrl01
        ssl: 1
        ssl_insecure: 1

And the resulting pacemaker stonith resource:

stonith-fence_rhevm-566f7133000d        (stonith:fence_rhevm:(  Started overcloud-controller-1

To have this working 'out of the box' we assume the worst case
scenario of ovirt-engine using a self-signed certificate, so
we explicitly ssl_insecure=1.
Users/Operators should be aware of this and eventually adjust
the value accordingly.

NOTE: this is not a 100% clean cherry pick.

Change-Id: If14e0e0a87cacd857762c955288fd71d052d8bb4
(cherry picked from commit c13c9cf5a2)
2019-08-20 20:20:59 +02:00
..
__init__.py Initial Integration of Mistral into TripleO 2016-05-16 09:15:14 -04:00
test_ansible.py Allow for more overhead in zaqar message 2018-07-13 12:40:27 -04:00
test_baremetal.py Use scheduler hints in derived_parameters workflow 2018-05-03 16:30:20 +00:00
test_base.py Set physical_network on baremetal nodes 2018-02-09 00:52:39 +01:00
test_config.py Execute minor update via ansible on mistral 2017-10-02 06:41:18 +00:00
test_container_images.py Action to always populate container image parameters 2017-10-12 20:35:12 +00:00
test_deployment.py Workflow and action for deployment failures 2019-02-28 13:21:10 -05:00
test_derive_params.py OvsDpdkSocketMemory MTU Roundup in bytes 2017-12-18 06:49:51 -05:00
test_files.py Persist ceph-ansible fetch_directory using mistral 2018-07-17 12:47:30 +00:00
test_heat_capabilities.py Fixes ordering of environment files in a deployment plan 2018-07-12 11:26:36 -04:00
test_logging_to_swift.py Allow uploading big files to swift (5GB) 2018-04-24 16:18:48 +02:00
test_package_update.py Remove container_registry param from package update action 2018-09-04 13:58:48 +02:00
test_parameters.py Enable staging-ovirt (fence_rhevm) fencing agent. 2019-08-20 20:20:59 +02:00
test_plan.py Allow uploading big files to swift (5GB) 2018-04-24 16:18:48 +02:00
test_scale.py Fix overcloud node delete after an upgrade 2018-02-15 11:27:36 +05:30
test_swifthelper.py use Result from mistral_lib instead of mistral 2017-06-23 14:20:45 +01:00
test_templates.py Optimize _heat_resource_exists 2017-12-27 23:36:20 +00:00
test_undercloud.py Include --xattrs when creating the undercloud backup. 2018-06-25 11:41:20 +00:00
test_validations.py Fix regression in validation action 2019-06-25 15:32:19 +05:30
test_vcs.py use Result from mistral_lib instead of mistral 2017-06-23 14:20:45 +01:00