summaryrefslogtreecommitdiffstats
path: root/tests/opnfv/test_cases/opnfv_yardstick_tc046.yaml
blob: aa39aa82eb81377c7d70debc92d90830a10dbafe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } 
---
# Test case for TC046 :Control node Openstack service down - keystone

schema: "yardstick:task:0.1"

scenarios:
-
  type: ServiceHA
  options:
    attackers:
    - fault_type: "kill-process"
      process_name: "keystone"
      host: node1

    monitors:
    - monitor_type: "openstack-cmd"
      command_name: "keystone user-list"
      monitor_time: 10
      sla:
        max_outage_time: 5
    - monitor_type: "process"
      process_name: "keystone"
      host: node1
      monitor_time: 10
      sla:
        max_recover_time: 5

  nodes:
    node1: node1.LF

  runner:
    type: Duration
    duration: 1
  sla:
    outage_time: 5
    action: monitor


context:
  type: Node
  name: LF
  file: etc/yardstick/nodes/fuel_virtual/pod.yaml
span class="nv"> }}" DISPATCHER_FILE_NAME: ""