9420df764be2f02b3e8002de23566d4d442530ee
The current logic to set public network is get the first public network from neutronclien, but this network could only be seen by only one tenant for rbac policy, this will cause testcase fail. Now modify the logic, get the public network which can be seen by all tenants. Also if there is no rbac policy, we still use the first public network. Closes-Bug: #1809111 Change-Id: I565ec563abc0ffe22643d88e79f64c6980f2ca21 Signed-off-by: Yang Li <yang.li@easystack.cn>
rally-openstack
Rally plugins for OpenStack platform
Usage
# Install this package (will install rally if not installed)
python3 -m 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 OpenStack 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.htmlLinks
- 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%