-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing state for ignite linux nodes #909
Comments
Hi |
hey @robertvolkmann,
|
Hi @networkop, The containers transits to
But ignite reports some warnings:
Below the collected logs:
|
got it, thanks. So far I can't see anything obvious. I'll try to reproduce this over the weekend. |
just managed to reproduce this. It looks like the only thing that's failed is that ignite did not detect the transition to |
I'll troubleshoot this a bit over the weened and maybe do a PR in |
I noticed that ignite itself has been updated upstream |
containerlab's already uses the latest ignite version. No new release of ignite since mid of 2021. |
ah, crap. |
One contributor switched mid of 2021 from weaveworks to VMware, but he still contributes. |
Maybe this behavior was introduced by: |
I think I've worked out what's happening. When containerlab starts nodes in ignite runtime we execute: which is a function that runs a goroutine that sits in the background and waits for the right condition to occur before transitioning the state of ignite VM to Inside containerlab this translates to the need to parse both arguments returned by Line 82 in 121f948
Since we don't do the same for containerlab/nodes/linux/linux.go Line 55 in 121f948
So I see there are three options:
what do you all think? |
the core reason for all of the above is that there are a bunch of things that occur after the container is started and before the microVM is started and it's not safe to assume that a running container implies a successfully running micro VM. |
@networkop since if vmChans, ok := intf.(*operations.VMChannels); ok {
c.vmChans = vmChans
} for its |
Yep, good idea. I'll do a PR. |
@robertvolkmann, @networkop fixed this particual issue, but during my tests I noticed that topology deletion doesn't work. so if you're okay with manually deleting ignite containers, you can pull the beta build with ignite fix:
|
I'm struggling with the ignite runtime. Deploying the topology
results into
I don't see the state of the containers. The interface
eth1
is down in both ignite containers.Any idea?
The text was updated successfully, but these errors were encountered: