VM Placement for storage test is not working

Asked by chinasubbareddy mallavarapu

while trying to run the storage benchmark test , we want to place the vms on specific hosts with volume attached, but vm placement is not working with -t option .

This is the command i am running :

sudo docker run --network="host" --rm -v $PWD:/opt/kb berrypatch/kloudbuster kloudbuster --rc /opt/kb/admin-openrc.sh -t /opt/kb/cfg.topo.yaml --passwd XXXXX --storage

Question information

Language:
English Edit question
Status:
Expired
For:
KloudBuster Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
chinasubbareddy mallavarapu (chinasubbareddy) said :
#1

this is started working after passing the --config in the command line , but not yet sure how to control the vm placement through UI?

Revision history for this message
chinasubbareddy mallavarapu (chinasubbareddy) said :
#2

is there any place we can pass topology from UI? like --topology in cli

Revision history for this message
Alec Hothan (ahothan) said :
#3

this should work by passing the proper topology file.
In all cases you need to pass a config file (-c <config-file>)
You can pass a topology file if you need to place VMs. (-t <file>)
In the topo yml file, VMs will be placed in the hosts described in the clients_rack group (server side config is not used for storage).

Example of topo yml file:

# Note
# ====
#
# 1. When used, the topology file will override any availability zone
# settings in the confguration file.
#
# 2. The compute host name must be exactly the same as shown from NOVA:
# i.e. "nova hypervisor-list"

# Grouping for placing all the server side VMs
# Do not change the group name, you can add as many hosts as needed
servers_rack:

# Grouping for placing all the client side VMs
# Do not change the group name, you can add as many hosts as needed
clients_rack:
    - hh23-7
    - hh23-8

Just be careful to use the correct pathname in container for both config and topo files (/opt/kb/...)

Revision history for this message
chinasubbareddy mallavarapu (chinasubbareddy) said :
#4

i am good when running from CLI, but is there any way we can pass the topology file from kloudbuster web UI ?
spcielly when we are running tests from kloudbuster webUI , how to control the vm placement ?

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.