metal-stack / mini-lab

a small, virtual setup to locally run the metal-stack
MIT License
56 stars 12 forks source link

Mixed flavor #166

Open iljarotar opened 4 months ago

iljarotar commented 4 months ago

The mixed setup starts the mini-lab with 2 cumulus switches and one sonic switch to test migration from cumulus to sonic.

Migration depends on https://github.com/metal-stack/metal-api/pull/566 and https://github.com/metal-stack/metalctl/pull/262.

robertvolkmann commented 3 months ago

How I can test the migration from cumulus to SONiC with the new mixed flavor?

majst01 commented 3 months ago

How I can test the migration from cumulus to SONiC with the new mixed flavor?

Not yet, it is the foundation to be able to test that a mixed environment is able to put machines in waiting and successful allocation.

Migration is the next step where we need your support

robertvolkmann commented 3 months ago

Is it possible to pre-register leaf01 and leaf02 with Cumulus OS in the metal API, and on startup of the leaves, have leaf02 perform the migration from Cumulus to SONiC?

iljarotar commented 3 months ago

Is it possible to pre-register leaf01 and leaf02 with Cumulus OS in the metal API, and on startup of the leaves, have leaf02 perform the migration from Cumulus to SONiC?

I'm not sure if this will give us any insights. As I understand it, the metal-api doesn't ask for the previous configuration, when an existing switch registers again. It only checks the port names of the twin switch and makes sure they match with the new switch's port names. Maybe we can find a way to get closer to a real replace. Do you think this is possible in the mini-lab?