Skip to content

nkhare/keystone-performance

Repository files navigation

keystone-performance

Keystone Performance work

Using Docker images (On Fedora)

  1. Install docker
  • yum install docker-io -y
  1. Clone this repository
  1. Create the Keystone container
  • docker build -t keystone - < DockerfileKeystoneMySqlDefault
  1. Create Rally container
  • docker build -t Rally - < DockerfileRally
  1. Setup Keystone for given scenario
  • Start the keystone container
    • docker run -i -t keystone /bin/bash
  • Setup Keystone for specific scenario, like following would setup keystone with V2 apis. Run following inside the container
    • cd /opt/keystone-performance/
    • sh keystoneSetupMySqlDefaultV2.sh
  • Get the IP address of container
    • From container
      • ip addr | grep inet | grep eth0 | awk -F" " '{print $2}'| sed -e 's//.*$//'
    • From hostmachine
      • docker inspect -format='{{.NetworkSettings.IPAddress}}'
  1. Run the benchmark using Rally
  • Work in progress to run benchmark when subset of processes are running on openstack setup

  • Till then to check connectivity b/w Rally and Keystone. On the Rally container.

    • docker run -i -t Rally /bin/bash
    • cd /opt/rally
    • python -i -m rally.osclients

    clients = Clients("admin", "test", "demo","http://<IP of keystone container >:5000/v2.0")

    kclient = clients.get_keystone_client()

    kclient.users.list()

About

Keystone Performance work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages