onosproject / onos-config

Configuration subsystem for ONOS (µONOS Architecture)
45 stars 56 forks source link

Test cluster startup is very slow #384

Closed kuujo closed 5 years ago

kuujo commented 5 years ago

When running onit, the test cluster setup time takes far longer than it should. In particular: • Raft partitions take over a minute to become ready • The test Job is ready long before onit indicates it’s ready and begins streaming output

kuujo commented 5 years ago

The Raft partitions were slow to become ready because of an issue with the readiness probe. A much more efficient probe has now been implemented. Using it requires updating the atomix-k8s-controller and atomix-raft-protocol images. It's easiest to just recreate your kind cluster to pull the new images.