summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-01-28 20:37:29 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2019-01-28 23:10:34 +0100
commitbcd8fc00743286fed5440e77b8ee845af2265458 (patch)
tree931b52618f5fd59bc0a3d8b966447a83675bfbc4
parent2564d6a40d1111fe51e1aaacd35bdab27cd489d5 (diff)
Decrease volume_size in all Rally tests
Devstack allocates a 24G disk image by default [1]. It can be easily reached by setting volume size to 5G or 10G. [1] https://github.com/openstack-dev/devstack/blob/master/stackrc#L779 Change-Id: I7c35d8f333718d6c192a9f12a714e626d60b1895 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 890d9a764bf88752d36983802f375d5e29c2bee2)
-rw-r--r--functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml4
-rw-r--r--functest/opnfv_tests/openstack/rally/scenario/full/opnfv-nova.yaml6
-rw-r--r--functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-nova.yaml4
3 files changed, 7 insertions, 7 deletions
diff --git a/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml b/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml
index f36d0b2d9..bb9cbfb85 100644
--- a/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml
+++ b/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml
@@ -103,7 +103,7 @@
{{ vm_params(image_name,flavor_name) }}
size:
min: 1
- max: 5
+ max: 1
create_vm_params:
nics:
- net-id: {{ netid }}
@@ -129,7 +129,7 @@
args:
size:
min: 1
- max: 5
+ max: 1
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
quotas:
diff --git a/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-nova.yaml b/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-nova.yaml
index 0e65ac15f..ab2f11443 100644
--- a/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-nova.yaml
+++ b/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-nova.yaml
@@ -140,7 +140,7 @@
-
args:
{{ vm_params(image_name, flavor_name) }}
- volume_size: 10
+ volume_size: 1
nics:
- net-id: {{ netid }}
context:
@@ -230,7 +230,7 @@
- args:
{{ vm_params(image_name, flavor_name) }}
block_migration: false
- volume_size: 10
+ volume_size: 1
force_delete: false
nics:
- net-id: {{ netid }}
@@ -266,7 +266,7 @@
-
args:
{{ vm_params(image_name, flavor_name) }}
- volume_size: 5
+ volume_size: 1
nics:
- net-id: {{ netid }}
context:
diff --git a/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-nova.yaml b/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-nova.yaml
index 7dd252da5..23940acfe 100644
--- a/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-nova.yaml
+++ b/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-nova.yaml
@@ -31,7 +31,7 @@
- args:
{{ vm_params(image_name, flavor_name) }}
block_migration: false
- volume_size: 10
+ volume_size: 1
force_delete: false
nics:
- net-id: {{ netid }}
@@ -67,7 +67,7 @@
-
args:
{{ vm_params(image_name, flavor_name) }}
- volume_size: 5
+ volume_size: 1
nics:
- net-id: {{ netid }}
context: