Browse Source

fix number of users for NeutronSubnets.delete_subnets

The NeutronSubnets.delete_subnets scenario assumes that the number of
users per tenant is greater or equal to the number of subnets per
network:

ed524c07c1/rally_openstack/scenarios/neutron/network.py

Note that `number` is set to the index of the user in the `users` list.
If there are fewer users than subnets, this means that a request to
delete the subnet is submitted more than once - resulting in
failures.

This change fixes the number of users per tenant to the same value as
the number of subnets per network. Additionally, we must use round robin
user selection to ensure that the same user is not selected twice.

Change-Id: I387705ad9c5ca9179b6079a49dd39ed9b9361a03
tags/1.6.0
Will Szumski chenhb 1 year ago
parent
commit
a718e27474
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      tasks/openstack/scenario/neutron.yaml

+ 4
- 4
tasks/openstack/scenario/neutron.yaml View File

@@ -248,16 +248,16 @@
-
runner:
type: "constant"
times: 15
concurrency: 15
times: {{ users_amount }}
concurrency: {{ users_amount }}
context:
{{ user_context(tenants_amount, users_amount, use_existing_users, use_round_robin) }}
{{ user_context(tenants_amount, users_amount, use_existing_users, True) }}
quotas:
neutron:
network: -1
subnet: -1
network:
subnets_per_network: 15
subnets_per_network: {{ users_amount }}
dualstack: True
router: {}



Loading…
Cancel
Save