Skip to content

deploy hangs indefinitely with nokia_sros (vrnetlab) nodes after bootstrap completes #3162

@laimaretto

Description

@laimaretto

Hello!

When deploying a topology containing nokia_sros vrnetlab nodes, the containerlab deploy command hangs indefinitely after all nodes have completed their bootstrap phase. The prompt never returns.

Containerlab version: 0.74.3
Environment: Ubuntu 22.04.5 LTS, Docker, x86_64
Node kind: nokia_sros (vrnetlab/nokia_sros:22.2.R1)
Topology size: 7 SROS nodes + 4 linux clients

what happens:
All containers start and become healthy
All vrnetlab bootstrap processes complete successfully (Startup complete visible in docker logs)
/etc/hosts and SSH config are never written
The containerlab process stays alive indefinitely with open sockets doing nothing
strace shows no system calls being made — the process is completely idle

what I undrestand it should happen:
After all nodes complete bootstrap, containerlab should write /etc/hosts, SSH config, and return the prompt

workaround
Using --skip-post-deploy resolves the hang and correctly writes /etc/hosts and SSH config:

containerlab deploy -t <topo>.clab.yml --skip-post-deploy

The hang started after upgrading from 0.74.0 to 0.74.3
All nodes are fully functional while the deploy process hangs
Sending SIGQUIT to the process prints SIGQUIT: quit and exits without completing postdeploy

I can share the clab.yml file if needed.

Thanks!
Lucas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions