cloud-barista / cb-larva

CB-Larva is Cloud-Barista Incubator. The incubator researches and develops essential technologies for multi-cloud.
Apache License 2.0
9 stars 8 forks source link

Not updated peer's state in the networking rule #319

Closed yunkon-kim closed 1 year ago

yunkon-kim commented 1 year ago

What happened : Some peers' states were not updated.

Cases 1:

{
  "cladnetId": "clad00perf",
  "hostId": [
    "cbqc52ft3u2c88qonc20",
    "cbqc529elg8c9v4csrk0",
    "cbqc5286185c9ulok1o0",
    "cbqc52conifsu8tkebog",
    "cbqc52b8c8msuj0jelqg"
  ],
  "hostName": [
    "ip-192-168-2-136",
    "ip-192-168-2-132",
    "ip-192-168-2-139",
    "ns01-clad00perf-gcp-asia-northeast3-2-cbqc3cdj8d6hpmt7jf8g",
    "ns01-clad00perf-gcp-asia-northeast3-1-cbqc3dlj8d6hpmt7jf9g"
  ],
  "peerIp": [
    "192.168.0.2",
    "192.168.0.3",
    "192.168.0.4",
    "192.168.0.5",
    "192.168.0.7"
  ],
  "selectedIp": [
    "hide this section"
  ],
  "peerScope": [
    "inter",
    "inter",
    "inter",
    "inter",
    "inter"
  ],
  "state": [
    "tunneling",
    "tunneling",
    "tunneling",
    "configuring",
    "tunneling"
  ]
}

Case 2:

{
  "cladnetId": "clad00perf",
  "hostId": [
    "cbqc52ft3u2c88qonc20",
    "cbqc52conifsu8tkebog",
    "cbqc5286185c9ulok1o0",
    "cbqc529ca4dcujut8qag",
    "cbqc52b8c8msuj0jelqg"
  ],
  "hostName": [
    "ip-192-168-2-136",
    "ns01-clad00perf-gcp-asia-northeast3-2-cbqc3cdj8d6hpmt7jf8g",
    "ip-192-168-2-139",
    "ns01-clad00perf-gcp-asia-northeast3-0-cbqc3d5j8d6hpmt7jf90",
    "ns01-clad00perf-gcp-asia-northeast3-1-cbqc3dlj8d6hpmt7jf9g"
  ],
  "peerIp": [
    "192.168.0.2",
    "192.168.0.5",
    "192.168.0.4",
    "192.168.0.6",
    "192.168.0.7"
  ],
  "selectedIp": [
    "hide this section"
  ],
  "peerScope": [
    "inter",
    "inter",
    "inter",
    "inter",
    "inter"
  ],
  "state": [
    "configuring",
    "tunneling",
    "tunneling",
    "tunneling",
    "tunneling"
  ]
}