-
Notifications
You must be signed in to change notification settings - Fork 12
Description
We've been testing that the provider behaves reasonably when upgrading nexus/omicron versions, but AIUI this is a fairly annoying process. Either we work through the upgrade on a test rack, or do state surgery to simulate an upgrade. I'd like to get this process working entirely within simulated omicron if possible, which I think we can do using the "second nexus" pattern: run cargo xtask omicron-dev run-all on the old omicron version, then run a second nexus instance on the new omicron version.
A small complication: run-all uses random ports for all services, so the current process requires collecting the randomly selected ports from the log output and pasting them into a config file for the auxiliary nexus instance. I'm proposing a small change in oxidecomputer/omicron#9696 that allows us to choose the relevant ports, which should make this easier to automate without parsing log output.
cc @lgfa29