You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
thing-flinger deploy install causes ddm routing to stop working with falcon-omicron topology #1613
When thing-flinger deploy install is run twice, prefixes stop getting delivered:
[2022-08-17T07:06:46.352101097Z] INFO: SledAgent/RSS/3459 on om1: Received prefixes from ddmd (prefixes={})
[2022-08-17T07:06:46.352378081Z] INFO: SledAgent/RSS/3459 on om1: Waiting for 2 peers (currently have 1) (will retry after 261.961667ms)
Prefixes are properly transferred on first launch. It would be nice to be able to re-install omicron without having to re-launch VMs and install pre-requisites. This was the prior behavior before we actually had useful network functionality in Omicron like prefix routing via DDM :)
Can you describe a bit more about the lifetime of the ddmd instances? Does thing-flinger deploy install tear down and restart the ddmd instances or do they remain running? I have fixed a bug recently that can prevent expected peering from taking place - but I'm no totally sure if that's in play here.
Can you describe a bit more about the lifetime of the ddmd instances? Does thing-flinger deploy install tear down and restart the ddmd instances or do they remain running? I have fixed a bug recently that can prevent expected peering from taking place - but I'm no totally sure if that's in play here.
Activity
andrewjstone commentedon Aug 17, 2022
cc @rcgoodfellow
rcgoodfellow commentedon Aug 17, 2022
Can you describe a bit more about the lifetime of the
ddmdinstances? Doesthing-flinger deploy installtear down and restart theddmdinstances or do they remain running? I have fixed a bug recently that can prevent expected peering from taking place - but I'm no totally sure if that's in play here.andrewjstone commentedon Aug 17, 2022
deploy installdoesn't deal with ddmd explicitly. It does restart the sled-agent service. Should it also restart ddmd?rcgoodfellow commentedon Aug 17, 2022
Ok. So is it accurate to say the following
t0: The topology starts up.t1:deploy installruns.t2: you see 2 ddm peerst3:deploy installruns again (which does what exactly? does it clobber the underlying networkddmdis peering over?)t4: you only see 1 of 2 ddm peersandrewjstone commentedon Aug 17, 2022
Yes, that is accurate. All that
deploy installdoes that's relevant is do anomicron package installwhich just puts files in the right place and then restartssled-agent. https://github.com/oxidecomputer/omicron/blob/main/deploy/src/bin/thing-flinger.rs#L528-L581I only see the following relevant lines in the log:
andrewjstone commentedon Aug 17, 2022
Ha, it turns out that doing a
deploy uninstallbeforedeploy installactually fixes the issue. Thanks to @jgallagher for the tip!andrewjstone commentedon Aug 17, 2022
Going to just close this, given the fact that deploy uninstall solves it and it's not a general problem.
Update Propolis and Crucible
Update Propolis and Crucible (#7403)