How to use Shaker existing network and VM

Bug #1781365 reported by Nahian Chowdhury on 2018-07-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shaker
Undecided
Unassigned

Bug Description

Hi,
Though it's not a bug, rather a question.

How to use shaker for existing network and VM?

Thanks.

Ilya Shakhat (shakhat) wrote :

It's possible, though requires some manual work.

For example to run network test between 2 VMs you approximately need to do the following:
 1) Create routable network (VM should be able to reach shaker server)
 2) Boot VM from the image built by shaker. Or, alternatively, you can use any other image with 'pyshaker' Python package installed
 3) Start shaker agent on VM: $ shaker-agent --server-endpoint <shaker host:port> --agent-id <e.g. a-001>
 4) Repeat 2) and 3) but with different agent-id, e.g. 'a-002'
 5) Start shaker (server) with scenario like this: https://github.com/openstack/shaker/blob/master/shaker/scenarios/misc/static_agents_pair.yaml Note that agent-ids in scenario should match those from VMs. The execution part of scenario can be taken from OpenStack scenarios, e.g. https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/full_l2.yaml#L17-L19

summary: - How to use existing network and VM
+ How to use Shaker existing network and VM
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers