[openstack-dev] [rally] Tenant quotas can now be updated during a benchmark

Bruno Semperlotti bruno.semperlotti at gmail.com
Thu Apr 3 19:37:37 UTC 2014


Hi Rally users,

I would like to inform you that the feature allowing to update tenant's
quotas during a benchmark is available with the implementation of this
blueprint:
https://blueprints.launchpad.net/rally/+spec/benchmark-context-tenant-quotas

Currently, only Nova and Cinder quotas are supported (Neutron coming soon).

Here a small sample of how to do it:

In the json file describing the benchmark scenario, use the "context"
section to indicate quotas for each service. Quotas will be applied for
each generated tenants.

{
    "NovaServers.boot_server": [
        {
            "args": {
                "flavor_id": "1",
                "image_id": "6e25e859-2015-4c6b-9940-aa21b2ab8ab2"
            },
            "runner": {
                "type": "continuous",
                "times":100,
                "active_users": 10
            },
            "context": {
                "users": {
                    "tenants": 1,
                    "users_per_tenant": 1
                },
                *"quotas": {*
*                    "nova": {*
*                        "instances": 150,*
*                        "cores": 150,*
*                        "ram": -1*
*                    }*
*                }*
            }
        }
    ]
}


Following, the list of supported quotas:
*nova:*
instances, cores, ram, floating-ips, fixed-ips, metadata-items,
injected-files, injected-file-content-bytes, injected-file-path-bytes,
key-pairs, security-groups, security-group-rules

*cinder:*
gigabytes, snapshots, volumes

*neutron (coming soon):*
network, subnet, port, router, floatingip, security-group,
security-group-rule


Regards,

--
Bruno Semperlotti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140403/65d77967/attachment.html>


More information about the OpenStack-dev mailing list