Closed jecluis closed 3 years ago
may or may not be related to https://github.com/aquarist-labs/aquarium/issues/363
This may have to do with downloading the Ceph containers, hence why sometimes it's really quick and some other times it takes forever to get it going.
We will always need to block bootstrap while obtaining the inventory for a myriad of reasons (some explained in the original ticket). But the waiting time should be considerably reduced once #464 is merged and we start bundling the containers in the image.
We obtain an initial inventory node upon starting Aquarium. This ought to take about 4-5 seconds on the VM. Yet, sometimes it takes ages, and we block bootstrapping for all that time [1].
This feels a bit like a bug. It may very well be that the controller obtaining the inventory is only doing so after the first tick, instead of running it on the first tick. Or it might be something blocking the first tick from succeeding, and we're obtaining it on the second tick. Or it might actually be taking this long.
We need to figure this out for the benefit of user experience and a speedy bootstrap.
[1] - We need the inventory to automatically infer the IP address we're going to be running on. At a later stage, ideally, to allow the user to select which address to use, etc.