avd-cEOS-Lab icon indicating copy to clipboard operation
avd-cEOS-Lab copied to clipboard

stuck during deploy

Open carlos-isaza opened this issue 1 year ago • 1 comments

hi guys I'm trying to build this in my lab, but I get stuck in the containerlab deploy stage during the "creating virtual wire", see below.

I thought I had memory/cpu limitations on the ubuntu VM, but after increasing them 12vcpus/32G I still get stuck:

INFO[0006] Creating container: "spine1"
DEBU[0006] Container "client3" create response: {ID:9734a2e4aea79bdee7c004a614b0bc657c8ca91d4ce40b5b9c985cc3f6fd1407 Warnings:[]} DEBU[0006] Start container: "clab-avdirb-client3"
DEBU[0006] Container "client1" create response: {ID:088d3570dc0faa31703876973abc218c011d914c5b2b4bd0aedafe881efdfcb0 Warnings:[]} DEBU[0006] Start container: "clab-avdirb-client1"
DEBU[0006] Container "svc2b" create response: {ID:d60844aef36936500313dd8355380dfb041969ce3ddd69d2e4a0737a4d9f088e Warnings:[]} DEBU[0006] Start container: "clab-avdirb-svc2b"
DEBU[0006] Container "l2leaf2a" create response: {ID:ffb9604b18f6b0a56314400deaff533a51905dba6b33a04f8bfa0cb6fbb08b85 Warnings:[]} DEBU[0006] Start container: "clab-avdirb-l2leaf2a"
DEBU[0006] Container "client4" create response: {ID:ff299f57ea7ee927540a407a607eac620cf04aa2bb5fe7fd41b82dbb3e9bf357 Warnings:[]} DEBU[0006] Container "leaf1a" create response: {ID:ce4d29f8cfaa3e99cd355f4d82ed11b5de9d96b48d9306d065e03ba1ea69ff4a Warnings:[]} DEBU[0006] Start container: "clab-avdirb-leaf1a"
DEBU[0006] Start container: "clab-avdirb-client4"
DEBU[0006] Container "leaf1b" create response: {ID:6350b0ef2f9b80c41f57d3339dcf5333c48b0df4db6ffa29c772f50e7feeec8b Warnings:[]} DEBU[0006] Start container: "clab-avdirb-leaf1b"
DEBU[0006] Container "l2leaf2b" create response: {ID:de4caf2ab07b62882a7841e3881756fa0379504c99f02e613f34c836aa2c1181 Warnings:[]} DEBU[0006] Start container: "clab-avdirb-l2leaf2b"
DEBU[0006] Container "spine1" create response: {ID:e4096c9fec90128c2d93b11058244342d80247df41baedc722334dcfbb6489b2 Warnings:[]} DEBU[0006] Start container: "clab-avdirb-spine1"
DEBU[0006] Container "spine2" create response: {ID:99e91c718549227dc49df3485d8640afcf9b626eca28a5c1a9a324c25dc4afe0 Warnings:[]} DEBU[0006] Start container: "clab-avdirb-spine2"
DEBU[0006] Container "client2" create response: {ID:d3f6a6d1f3c1f60da771d487af5acce128e9adf37081d7aca32dead3be4f31d3 Warnings:[]} DEBU[0006] Start container: "clab-avdirb-client2"
DEBU[0006] Container "svc2a" create response: {ID:d67677395dbe55ecf66e80fda5b162a79a2d48583e6cc513ee79fd44370882e1 Warnings:[]} DEBU[0006] Start container: "clab-avdirb-svc2a"
ERRO[0006] failed deploy phase for node "l2leaf2a": Error response from daemon: Address already in use DEBU[0006] Worker 0 terminating...
ERRO[0007] failed deploy phase for node "l2leaf2b": Error response from daemon: Address already in use DEBU[0007] Worker 4 terminating...
DEBU[0008] Container started: "clab-avdirb-client3"
DEBU[0008] Worker 1 terminating...
DEBU[0008] Container started: "clab-avdirb-client1"
DEBU[0008] Worker 9 terminating...
DEBU[0008] Container started: "clab-avdirb-svc2b"
DEBU[0008] Worker 5 terminating...
DEBU[0008] Container started: "clab-avdirb-spine1"
DEBU[0008] Worker 3 terminating...
DEBU[0009] Container started: "clab-avdirb-spine2"
DEBU[0009] Worker 11 terminating...
DEBU[0009] Container started: "clab-avdirb-svc2a"
DEBU[0009] Worker 10 terminating...
DEBU[0009] Container started: "clab-avdirb-client2"
DEBU[0009] Worker 6 terminating...
DEBU[0009] Container started: "clab-avdirb-client4"
DEBU[0009] Worker 7 terminating...
DEBU[0009] Container started: "clab-avdirb-leaf1a"
DEBU[0009] Worker 8 terminating...
DEBU[0009] Container started: "clab-avdirb-leaf1b"
DEBU[0009] Worker 2 terminating...
DEBU[0009] Link worker 8 received link: link [leaf1a:eth6, client2:eth1] DEBU[0009] Link worker 6 received link: link [svc2a:eth3, svc2b:eth3] INFO[0009] Creating virtual wire: svc2a:eth3 <--> svc2b:eth3 DEBU[0009] Link worker 2 received link: link [leaf1a:eth3, leaf1b:eth3] INFO[0009] Creating virtual wire: leaf1a:eth3 <--> leaf1b:eth3 DEBU[0009] Link worker 11 received link: link [svc2a:eth2, spine2:eth3] INFO[0009] Creating virtual wire: svc2a:eth2 <--> spine2:eth3 DEBU[0009] Link worker 3 received link: link [svc2b:eth2, spine2:eth4] INFO[0009] Creating virtual wire: svc2b:eth2 <--> spine2:eth4 INFO[0009] Creating virtual wire: leaf1a:eth6 <--> client2:eth1 DEBU[0009] Link worker 7 received link: link [svc2b:eth1, spine1:eth4] INFO[0009] Creating virtual wire: svc2b:eth1 <--> spine1:eth4 DEBU[0009] Link worker 5 received link: link [leaf1b:eth5, client1:eth2] INFO[0009] Creating virtual wire: leaf1b:eth5 <--> client1:eth2 DEBU[0009] Link worker 1 received link: link [leaf1a:eth5, client1:eth1] INFO[0009] Creating virtual wire: leaf1a:eth5 <--> client1:eth1 DEBU[0009] Link worker 9 received link: link [leaf1b:eth2, spine2:eth2] INFO[0009] Creating virtual wire: leaf1b:eth2 <--> spine2:eth2 DEBU[0009] Link worker 10 received link: link [svc2a:eth1, spine1:eth3] INFO[0009] Creating virtual wire: svc2a:eth1 <--> spine1:eth3 DEBU[0009] Link worker 4 received link: link [leaf1a:eth4, leaf1b:eth4] INFO[0009] Creating virtual wire: leaf1a:eth4 <--> leaf1b:eth4 DEBU[0009] Link worker 0 received link: link [leaf1b:eth1, spine1:eth2] INFO[0009] Creating virtual wire: leaf1b:eth1 <--> spine1:eth2 DEBU[0009] Link worker 6 received link: link [leaf1a:eth1, spine1:eth1] INFO[0009] Creating virtual wire: leaf1a:eth1 <--> spine1:eth1 DEBU[0010] Link worker 11 received link: link [leaf1b:eth6, client2:eth2] INFO[0010] Creating virtual wire: leaf1b:eth6 <--> client2:eth2 DEBU[0010] Link worker 7 received link: link [svc2a:eth4, svc2b:eth4] INFO[0010] Creating virtual wire: svc2a:eth4 <--> svc2b:eth4 DEBU[0010] Link worker 0 received link: link [leaf1a:eth2, spine2:eth1] INFO[0010] Creating virtual wire: leaf1a:eth2 <--> spine2:eth1

any ideas what I'm doing wrong?

I tested the containerlab ok with another repo: https://github.com/arista-netdevops-community/emea-ambassadors-containerlab-aug-2022.git

cheers!

carlos-isaza avatar Feb 26 '23 21:02 carlos-isaza

hi @carlos-isaza ,

apologies for getting back on this a bit late. Are you still seeing this issue ?

If yes, can you please provide some details like:

  • what is the cEOS-Lab version you are trying to deploy?
  • what is the containerlab & docker version?

Also, can you try a basic lab to see if to see if that is coming up without any issues, for example:

name: demo-lab

topology:
  kinds:
    ceos:
      image: ceosimage:4.28.0F
  nodes:
    switch1:
      kind: ceos
      mgmt_ipv4: 172.100.200.2
    switch2:
      kind: ceos
      mgmt_ipv4: 172.100.200.3
  links:
    - endpoints: ["switch1:eth1", "switch2:eth1"]
    - endpoints: ["switch1:eth2", "switch2:eth2"]
mgmt:
  network: demo_clab
  ipv4_subnet: 172.100.200.0/24
  ipv6_subnet: 2001:172:100:200::/80

UchihaItachiSama avatar Apr 06 '23 13:04 UchihaItachiSama