Rally test CinderVolumes.create_and_list_volume failed

Bug #1384056 reported by Sergey Galkin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Committed
Medium
MOS Cinder

Bug Description

api: '1.0'
astute_sha: 6a11a7c481d116e6cfdb422fab1d4bbb29cbea1c
auth_required: true
build_id: 2014-10-21_22-46-19
build_number: '156'
feature_groups:
- mirantis
fuellib_sha: af2bf11d4a3a075fa4e9fa9b7b7209af29498a46
fuelmain_sha: dab17913263bbea7e9a3b55de8a0f3af5ac0e3e2
nailgun_sha: f4bf25da24c4e5b0d9eb86493945200deba3d92e
ostf_sha: de177931b53fbe9655502b73d03910b8118e25f1
production: docker
release: '6.0'

Rally tests CinderVolumes.create_and_list_volume failed with multiple errors - "VolumeLimitExceeded: Maximum number of volumes allowed (10) exceeded (HTTP 413)"

03:17:01.974 iteration-0096-stderr: {{{
03:17:01.974 <class 'cinderclient.exceptions.OverLimit'>
03:17:01.974 VolumeLimitExceeded: Maximum number of volumes allowed (10) exceeded (HTTP 413) (Request-ID: req-056f9e46-1f56-4b99-b33f-978d3382a96c)
03:17:01.974 Traceback (most recent call last):
03:17:01.975 File "/opt/stack/.venv/lib/python2.7/site-packages/rally/benchmark/runners/base.py", line 73, in _run_scenario_once
03:17:01.975 method_name)(**kwargs) or scenario_output
03:17:01.975 File "/opt/stack/.venv/lib/python2.7/site-packages/rally/benchmark/scenarios/cinder/volumes.py", line 43, in create_and_list_volume
03:17:01.975 self._create_volume(size, **kwargs)
03:17:01.975 File "/opt/stack/.venv/lib/python2.7/site-packages/rally/benchmark/scenarios/base.py", line 255, in func_atomic_actions
03:17:01.976 f = func(self, *args, **kwargs)
03:17:01.976 File "/opt/stack/.venv/lib/python2.7/site-packages/rally/benchmark/scenarios/cinder/utils.py", line 74, in _create_volume
03:17:01.976 volume = self.clients("cinder").volumes.create(size, **kwargs)
03:17:01.976 File "/opt/stack/.venv/lib/python2.7/site-packages/cinderclient/v1/volumes.py", line 187, in create
03:17:01.976 return self._create('/volumes', body, 'volume')
03:17:01.977 File "/opt/stack/.venv/lib/python2.7/site-packages/cinderclient/base.py", line 157, in _create
03:17:01.977 resp, body = self.api.client.post(url, body=body)
03:17:01.977 File "/opt/stack/.venv/lib/python2.7/site-packages/cinderclient/client.py", line 305, in post
03:17:01.977 return self._cs_request(url, 'POST', **kwargs)
03:17:01.977 File "/opt/stack/.venv/lib/python2.7/site-packages/cinderclient/client.py", line 269, in _cs_request
03:17:01.978 **kwargs)
03:17:01.978 File "/opt/stack/.venv/lib/python2.7/site-packages/cinderclient/client.py", line 252, in request
03:17:01.978 raise exceptions.from_response(resp, body)
03:17:01.978 OverLimit: VolumeLimitExceeded: Maximum number of volumes allowed (10) exceeded (HTTP 413) (Request-ID: req-056f9e46-1f56-4b99-b33f-978d3382a96c)
03:17:01.978 }}}
03:17:01.978
03:17:01.978 scenario-config: {{{
03:17:01.978 {
03:17:01.978 "kw": {
03:17:01.978 "runner": {
03:17:01.978 "type": "constant",
03:17:01.979 "concurrency": 5,
03:17:01.979 "times": 97
03:17:01.979 },
03:17:01.979 "args": {
03:17:01.979 "detailed": true,
03:17:01.979 "size": 1
03:17:01.979 },
03:17:01.979 "context": {
03:17:01.979 "users": {
03:17:01.979 "project_domain": "default",
03:17:01.979 "concurrent": 30,
03:17:01.979 "users_per_tenant": 2,
03:17:01.979 "tenants": 2,
03:17:01.979 "user_domain": "default"
03:17:01.979 }
03:17:01.979 }
03:17:01.979 },
03:17:01.979 "name": "CinderVolumes.create_and_list_volume",
03:17:01.980 "pos": 0
03:17:01.980 }
03:17:01.980 }}}
03:17:01.980
03:17:01.980 summary: {{{
03:17:01.980 +----------------------+--------+--------+--------+----------+-------+--------+
03:17:01.980 | Action | min | avg | max | failures | total | result |
03:17:01.980 +----------------------+--------+--------+--------+----------+-------+--------+
03:17:01.980 | cinder.create_volume | 2.933 | 3.300 | 3.518 | 77 | 97 | :( |
03:17:01.980 | cinder.list_volumes | 0.098 | 0.402 | 0.545 | 77 | 97 | :( |
03:17:01.981 | ~total | 0.584 | 1.317 | 3.930 | 77 | 97 | :( |
03:17:01.981 +----------------------+--------+--------+--------+----------+-------+--------+
03:17:01.981 }}}

Tags: cinder scale
tags: added: cinder
Changed in mos:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → MOS Cinder (mos-cinder)
milestone: none → 6.0
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

Quotas updated

Changed in mos:
status: Confirmed → Fix Committed
Revision history for this message
Hui Kang (huikang27) wrote :

Hi,
I am using Rally v0.0.3 and met the same error when I run cinder create volume benchmark. The error output is

2015-05-20 18:14:30.081 3155 INFO rally.benchmark.runners.base [-] Task 55e38220-b57c-42e3-96e5-7abb6326bff9 | ITER: 62 START
2015-05-20 18:14:30.246 3154 INFO rally.benchmark.runners.base [-] Task 55e38220-b57c-42e3-96e5-7abb6326bff9 | ITER: 61 END: Error OverLimit: VolumeLimitExceeded: Maximum number of volumes allowed (10) exceeded (HTTP 413) (Request-ID: req-8b83e671-6587-4e2c-9ffd-6fba6bbf3594)

When I check the volume quota of the tenant, it shows
cinder quota-show c1f57c40ee4244558c386763badbd783
+-----------+-------+
| Property | Value |
+-----------+-------+
| gigabytes | 1000 |
| snapshots | 10 |
| volumes | 10 |
+-----------+-------+

Has this bug been fixed? Thanks.

- Hui

Revision history for this message
Anton Arefiev (aarefiev) wrote :

Hui Kang, you can specify quotas in scenario configuration, e.g. unlimited quota:
      context:
        quotas:
          cinder:
            volumes: -1
            gigabytes: -1
            snapshots: -1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.