Add sla section to samples

Add missing sla section and proper check
This work is originally porposed by Roman[1]

[1] https://review.openstack.org/#/c/348395/3

Change-Id: I4507aa82080b41cac4b87aa810865da9ffe015e6
Closes-bug: #1554857
This commit is contained in:
zhangzhang 2017-07-12 15:37:34 -04:00
parent 69937bbf9c
commit f61b5bf221
485 changed files with 2180 additions and 49 deletions

View File

@ -11,6 +11,11 @@
"tenants": 3,
"users_per_tenant": 50
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -9,3 +9,6 @@
users:
tenants: 3
users_per_tenant: 50
sla:
failure_rate:
max: 0

View File

@ -14,6 +14,11 @@
"tenants": 3,
"users_per_tenant": 5
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -11,3 +11,6 @@
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0

View File

@ -14,6 +14,11 @@
"tenants": 3,
"users_per_tenant": 5
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -11,3 +11,6 @@
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0

View File

@ -14,6 +14,11 @@
"tenants": 3,
"users_per_tenant": 5
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -11,3 +11,6 @@
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0

View File

@ -14,6 +14,11 @@
"tenants": 3,
"users_per_tenant": 5
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -11,3 +11,6 @@
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0

View File

@ -14,6 +14,11 @@
"tenants": 3,
"users_per_tenant": 5
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -11,3 +11,6 @@
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0

View File

@ -14,6 +14,11 @@
"tenants": 3,
"users_per_tenant": 5
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -11,3 +11,6 @@
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0

View File

@ -14,6 +14,11 @@
"tenants": 3,
"users_per_tenant": 5
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -11,3 +11,6 @@
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0

View File

@ -30,6 +30,11 @@
"args": {
"limit": 50,
"metadata_query": {"status": "terminated"}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -30,3 +30,6 @@
limit: 50
metadata_query:
status: "terminated"
sla:
failure_rate:
max: 0

View File

@ -30,6 +30,11 @@
"args": {
"limit":50,
"metadata_query": {"status": "terminated"}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -30,3 +30,6 @@
limit: 50
metadata_query:
status: "terminated"
sla:
failure_rate:
max: 0

View File

@ -21,6 +21,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -18,3 +18,6 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -20,6 +20,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -17,3 +17,6 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -20,6 +20,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -17,3 +17,6 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -20,6 +20,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -17,3 +17,6 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -22,6 +22,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -19,3 +19,6 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -23,6 +23,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -20,3 +20,6 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -21,6 +21,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -18,3 +18,6 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -20,6 +20,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -17,3 +17,6 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -18,7 +18,12 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}
}

View File

@ -15,3 +15,6 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -11,7 +11,12 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}
}

View File

@ -8,4 +8,7 @@
context:
users:
tenants: 2
users_per_tenant: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -11,7 +11,12 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}
}

View File

@ -8,4 +8,7 @@
context:
users:
tenants: 2
users_per_tenant: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -11,7 +11,12 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}
}

View File

@ -9,3 +9,6 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -11,7 +11,12 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}
}

View File

@ -8,4 +8,7 @@
context:
users:
tenants: 2
users_per_tenant: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -11,7 +11,12 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}
}

View File

@ -8,4 +8,7 @@
context:
users:
tenants: 2
users_per_tenant: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -35,6 +35,11 @@
"metadata_query": {"status": "terminated"},
"period": 300,
"groupby": "resource_id"
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -35,3 +35,6 @@
status: "terminated"
period: 300
groupby: "resource_id"
sla:
failure_rate:
max: 0

View File

@ -17,7 +17,12 @@
"counter_unit": "instance",
"counter_volume": 1.0
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}
}

View File

@ -14,3 +14,6 @@
counter_type: "gauge"
counter_volume: 1.0
counter_unit: "instance"
sla:
failure_rate:
max: 0

View File

@ -11,6 +11,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -9,3 +9,6 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -35,7 +35,12 @@
"filter_by_resource_id": true,
"limit": 50,
"metadata_query": {"status": "not_active"}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}
}

View File

@ -33,3 +33,6 @@
filter_by_resource_id: true
metadata_query:
status: "not_active"
sla:
failure_rate:
max: 0

View File

@ -33,6 +33,11 @@
"filter_by_resource_id": true,
"limit": 50,
"metadata_query": {"status": "terminated"}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -33,3 +33,6 @@
filter_by_resource_id: true
metadata_query:
status: "terminated"
sla:
failure_rate:
max: 0

View File

@ -32,6 +32,11 @@
"metadata_query": {"status": "terminated"},
"filter_by_user_id": true,
"filter_by_project_id": true
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -32,3 +32,6 @@
filter_by_project_id: true
metadata_query:
status: "terminated"
sla:
failure_rate:
max: 0

View File

@ -33,6 +33,11 @@
"args":{
"limit": 50,
"metadata_query": {"status": "not_active"}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -31,3 +31,6 @@
limit: 50
metadata_query:
status: "not_active"
sla:
failure_rate:
max: 0

View File

@ -25,6 +25,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
},
{
@ -53,6 +58,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -19,6 +19,9 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0
-
args:
size:
@ -38,3 +41,6 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -17,6 +17,11 @@
"volumes": {
"size": 1
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -13,3 +13,6 @@
users_per_tenant: 2
volumes:
size: 1
sla:
failure_rate:
max: 0

View File

@ -14,6 +14,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
},
{
@ -33,6 +38,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -11,6 +11,9 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0
-
args:
size:
@ -23,4 +26,7 @@
context:
users:
tenants: 2
users_per_tenant: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -15,6 +15,11 @@
"tenants": 1,
"users_per_tenant": 1
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
},
{
@ -38,6 +43,11 @@
"tenants": 1,
"users_per_tenant": 1
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -12,6 +12,9 @@
users:
tenants: 1
users_per_tenant: 1
sla:
failure_rate:
max: 0
-
args:
size:
@ -27,4 +30,7 @@
context:
users:
tenants: 1
users_per_tenant: 1
users_per_tenant: 1
sla:
failure_rate:
max: 0

View File

@ -18,6 +18,11 @@
"volumes": {
"size": 1
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -14,3 +14,6 @@
users_per_tenant: 1
volumes:
size: 1
sla:
failure_rate:
max: 0

View File

@ -19,6 +19,11 @@
"users_per_tenant": 1
},
"roles": ["Member"]
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -17,3 +17,6 @@
users_per_tenant: 1
roles:
- "Member"
sla:
failure_rate:
max: 0

View File

@ -15,6 +15,11 @@
"tenants": 1,
"users_per_tenant": 1
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
},
{
@ -35,6 +40,11 @@
"tenants": 1,
"users_per_tenant": 1
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -12,6 +12,9 @@
users:
tenants: 1
users_per_tenant: 1
sla:
failure_rate:
max: 0
-
args:
size:
@ -25,4 +28,7 @@
context:
users:
tenants: 1
users_per_tenant: 1
users_per_tenant: 1
sla:
failure_rate:
max: 0

View File

@ -18,6 +18,11 @@
"users_per_tenant": 1
},
"roles": ["Member"]
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -15,4 +15,7 @@
tenants: 1
users_per_tenant: 1
roles:
- "Member"
- "Member"
sla:
failure_rate:
max: 0

View File

@ -18,6 +18,11 @@
"tenants": 1,
"users_per_tenant": 1
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -14,3 +14,6 @@
users:
tenants: 1
users_per_tenant: 1
sla:
failure_rate:
max: 0

View File

@ -21,6 +21,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
},
{
@ -47,6 +52,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -17,6 +17,9 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0
-
args:
size:
@ -36,3 +39,6 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -17,6 +17,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -12,4 +12,7 @@
context:
users:
tenants: 2
users_per_tenant: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -17,6 +17,11 @@
"volumes": {
"size": 1
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
},
{
@ -39,7 +44,12 @@
"volumes": {
"size": 1
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}
}

View File

@ -13,6 +13,9 @@
users_per_tenant: 1
volumes:
size: 1
sla:
failure_rate:
max: 0
-
args:
size:
@ -27,4 +30,7 @@
tenants: 1
users_per_tenant: 1
volumes:
size: 1
size: 1
sla:
failure_rate:
max: 0

View File

@ -28,6 +28,11 @@
},
"servers_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -21,3 +21,6 @@
flavor:
name: "{{flavor_name}}"
servers_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -28,6 +28,11 @@
},
"servers_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
},
{
@ -58,8 +63,12 @@
"servers_per_tenant": 2
},
"volume_types": ["test"]
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}

View File

@ -21,6 +21,9 @@
flavor:
name: "{{flavor_name}}"
servers_per_tenant: 2
sla:
failure_rate:
max: 0
-
args:
volume_type: "test"
@ -43,3 +46,6 @@
servers_per_tenant: 2
volume_types:
- "test"
sla:
failure_rate:
max: 0

View File

@ -14,6 +14,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
},
{
@ -34,6 +39,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -11,6 +11,9 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0
-
args:
size:
@ -25,3 +28,6 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -18,6 +18,11 @@
"users_per_tenant": 1
},
"roles": ["Member"]
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -16,3 +16,6 @@
users_per_tenant: 1
roles:
- "Member"
sla:
failure_rate:
max: 0

View File

@ -17,6 +17,11 @@
"volumes": {
"size": 1
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -13,3 +13,6 @@
users_per_tenant: 2
volumes:
size: 1
sla:
failure_rate:
max: 0

View File

@ -14,6 +14,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
},
{
@ -33,6 +38,11 @@
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -11,6 +11,9 @@
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0
-
args:
size:
@ -23,4 +26,7 @@
context:
users:
tenants: 2
users_per_tenant: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -18,6 +18,11 @@
"size": 1,
"volumes_per_tenant": 4
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]

View File

@ -14,3 +14,6 @@
volumes:
size: 1
volumes_per_tenant: 4
sla:
failure_rate:
max: 0

Some files were not shown because too many files have changed in this diff Show More