![wu.chunyang](/assets/img/avatar_default.png)
assertItemsEqual was removed from Python's unittest.TestCase in Python 3.3 [1][2]. We have been able to use them since then, because testtools required unittest2, which still included it. With testtools removing Python 2.7 support [3][4], we will lose support for assertItemsEqual, so we should switch to use assertCountEqual. [1] - https://bugs.python.org/issue17866 [2] - https://hg.python.org/cpython/rev/d9921cb6e3cd [3] - testing-cabal/testtools#286 [4] - testing-cabal/testtools#277 Change-Id: I9df3355ed619a66d33559366821b907db2950e65
rally-openstack
Rally plugins for OpenStack platform
Usage
# Install this package (will install rally if not installed)
pip install rally-openstack
# List all installed plugins
rally plugin list --platform openstack
# Create OpenStack Env
cat <<EOT >> env.yaml
---
openstack:
auth_url: "https://keystone.net/identity"
region_name: RegionOne
https_insecure: False
users:
- username: user_that_runs_commands
password: his password
project_name: project_that_users_belong_to
EOT
rally env create --name my_openstack --spec env.yaml
# Check that you provide correct credentials
rally env check
# Collect key Open Stack metrics
rally task start ./tasks/openstack_metrics/task.yaml --task-args {"image_name": "image_to_use", "flavor_name": "flavor_to_use"}
# Generate Report
rally task report --out report.html
Links
- Free software: Apache license
- Documentation: https://rally.readthedocs.org/en/latest/
- Source: https://opendev.org/openstack/rally-openstack/
- Bugs: https://bugs.launchpad.net/rally
- Step-by-step tutorial: https://rally.readthedocs.io/en/latest/quick_start/tutorial.html
- Launchpad page: https://launchpad.net/rally
- Gitter chat: https://gitter.im/rally-dev/Lobby
- Trello board: https://trello.com/b/DoD8aeZy/rally
Description
Languages
Python
99.4%
HTML
0.3%
Shell
0.3%