OneKS fails to deploy a cluster if networks delays to have connectivity

When deploying a OneKS cluster over a network with a certain delay (STP or LACP) after being up it fails to execute /etc/one-context.d/net-90-service-appliance because it detects no connectivity.

It may be related to OneKS Seed VM is created only with public nic, private nic is missing but I cannot write there.

I have tested over a bridged interface with STP enabled, I have tried to lower the forward delay but it is still failing, and only works to start to deploy the vrouter and controlplane if I completely disable STP (which is not suitable to have it permanently disabled in that interface).

Is there a way to delay the execution of the service appliance script or can be set a timeout/wait time? Maybe at least have a few retries before failing? Or is there any other solution to not fail?

One option is to put a wait before the service-appliance check rather than changing STP. The one-context scripts run in lexical order, so if you can customize the Seed VM image, add e.g. /etc/one-context.d/net-05-wait-uplink that polls for carrier/default route and pings the gateway for up to 60–90s before net-90-service-appliance runs. If editing the image is impractical, wrap net-90-service-appliance in a retry loop. This keeps STP enabled and gives the bridge time to forward. I’d verify the exact script order in your one-context version.

Hello,

Can you check the contents of /var/log/one-appliance/configure.log ?

Cheers!

The contents of configure.log when STP is enabled are similar to this:

I, [2026-11-06T16:14:27.211609 #3229]  INFO -- : OneKS::configure
I, [2026-11-06T16:14:27.211743 #3229]  INFO -- : Start Management Cluster
E, [2026-11-06T16:14:30.818860 #3229] ERROR -- : 255: + onegate vm update --data ONEKS_STATE=PROVISIONING_MGMT
ERROR:
Failed to open TCP connection to 169.254.16.9:5030 (Host is unreachable - connect(2) for "169.254.16.9" port 5030)

E, [2026-11-06T16:14:30.819200 #3229] ERROR -- : Unexpected error: 255: + onegate vm update --data ONEKS_STATE=PROVISIONING_MGMT
ERROR:
Failed to open TCP connection to 169.254.16.9:5030 (Host is unreachable - connect(2) for "169.254.16.9" port 5030)

I have not tried to edit the seed VM image yet, but adding net-90-service-appliance to be retried in the context start script worked to deploy the controlplane and vrouter VMs.
However since it fails at the first attempt, as it is executed in net-97-start-script which always runs after the net-90-service-appliance, OneKS marks it as “Provision Failure” even if the VMs are deployed in another attempt.