Skip to content

vpp-agent pending my order even the dependencies interface are all exist #1822

Open
@py-162157

Description

@py-162157
I send a l2xconnect order to vpp-agent by etcd, and the vpp-agent watcher successfully caught my order as below:
+======================================================================================================================+
| #9 - NBTransaction                                                                                                   |
+======================================================================================================================+
  * transaction arguments:
      - seqNum: 9
      - type: NB Transaction
      - values:
          - key: config/vpp/l2/v2/xconnect/tap0
            val: { receive_interface:"tap0"  transmit_interface:"memif0/0" }

o----------------------------------------------------------------------------------------------------------------------o
  * executed operations (2021-11-04 06:53:54.824 +0000 UTC -> 2021-11-04 06:53:54.824 +0000 UTC, dur: 0s):
      1. CREATE [NOOP IS-PENDING]:
          - key: config/vpp/l2/v2/xconnect/tap0
          - value: { receive_interface:"tap0"  transmit_interface:"memif0/0" } 
x----------------------------------------------------------------------------------------------------------------------x
| #9 - NBTransaction                                                                                        took 200µs |
x----------------------------------------------------------------------------------------------------------------------x

in ligato document on KV Scheduler, I find that the state [NOOP IS-PENDING] imply that the order's dependencies are not meet, namely the two interface which are going to be l2xconnectd are not both exist, but after check it by vppctl order, I found they are all exist and state up. Why it gotta happend? It's a bug or I miss something?

    _______    _        _   _____  ___ 
 __/ __/ _ \  (_)__    | | / / _ \/ _ \
 _/ _// // / / / _ \   | |/ / ___/ ___/
 /_/ /____(_)_/\___/   |___/_/  /_/    

vpp# show int addr
local0 (dn):
loop0 (dn):
memif0/0 (up):
tap0 (up):

By vppctl, I can successfully l2xconnect them by cmd set int l2 xconnect memif0/0 tap0. And this is the version informations

                                       __
  _  _____  ___ _______ ____ ____ ___ / /_  
 | |/ / _ \/ _ /___/ _ '/ _ '/ -_/ _ / __/  vpp-agent v3.3.0-alpha-30-g7a574ece0
 |___/ .__/ .__/   \_'_/\_' /\__/_//_\__/   Wed Aug 18 10:13:33 UTC 2021 (78 days ago)
    /_/  /_/           /___/                root@buildkitsandbox (go1.15.2 linux/amd64)

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