rally-openstack/README.rst
zhangboye 1067caae5b update source link in readme
Change-Id: Iaebde73c46b688ba4ac37ef1160dfa703dbc030d
2019-10-15 18:58:53 +08:00

1.4 KiB

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