ovn-org / ovn-heater

Mega script to deploy/configure/run OVN scale tests.
Apache License 2.0
12 stars 12 forks source link

Bring the base cluster up with ansible #159

Closed igsilya closed 1 year ago

igsilya commented 1 year ago

This PR adds a playbook that will:

  1. Start an ovn-tester container on the first IP in mgmt_net.
  2. Start central nodes on IPs starting with the second IP.
  3. Start worker nodes equally distributed across all worker hosts.
  4. Start the process monitor script in each container, including the ovn-tester.
  5. Configure SSL remotes on ovsdb-server processes on workers.

This way ovn-tester no longer needs to call ovn-fake-multinode, set up SSL or start process monitoring.

Change allows to save a lot of time in high-scale tests since fake nodes are now deployed in parallel on each physical node. For example, for us this saves 20+ minutes per 500-node test.

igsilya commented 1 year ago

Rebased on top of the current main.

igsilya commented 1 year ago

@fnordahl , hi! Do you think it's OK if we require Ubuntu 22.10 as a minimum supported version? There is an ansible version mess with all the collections re-naming. See https://github.com/dceara/ovn-heater/pull/159/commits/f1822af3dfdeb38f8391eb0f47f37b814a77ef52.

fnordahl commented 1 year ago

@fnordahl , hi! Do you think it's OK if we require Ubuntu 22.10 as a minimum supported version? There is an ansible version mess with all the collections re-naming. See f1822af.

No issue requiring Ubuntu 22.10 or newer for me. I'll endavour to help test / review asap too. Thanks!

igsilya commented 1 year ago

LGTM, took it for a spin on a set of clean Ubuntu 22.10 machines and works as expected.

Thanks, @fnordahl !

I also tested on RHEL, and it works as expected there too.

dceara commented 1 year ago

Thanks @igsilya and @fnordahl!