skydive-project / skydive

An open source real-time network topology and protocols analyzer
https://skydive.network
Apache License 2.0
2.65k stars 400 forks source link

Failed to create analyzer: not implemented #2407

Closed amwork2020 closed 2 years ago

amwork2020 commented 2 years ago
  1. skydive 0.28.0
  2. docker run -d --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:7.14.2
  3. skydive.yml
    
    analyzers:
    - 192.168.68.21:8082

agent: listen: 0.0.0.0:8081 topology: probes:

analyzer: listen: 192.168.68.21:8082 topology: backend: myelasticsearch probes:

storage: myelasticsearch: driver: elasticsearch host: 192.168.68.21:9200

etcd: embedded: true listen: 192.168.68.21:12379


**skydive -c skydive.yml allinone**

2021-11-22T21:11:58.762+0800    INFO    analyzer/analyzer.go:42 glob..func1 ovn1: Skydive Analyzer 0.28.0 starting...
2021-11-22T21:11:58.763+0800    INFO    analyzer/storage.go:74 newGraphBackendFromConfig    ovn1: Using myelasticsearch (driver elasticsearch) as graph storage backend
2021-11-22T21:11:58.764+0800    INFO    plugin/topology.go:47 LoadTopologyPlugins   ovn1: Topology plugins: []
**_Failed to create analyzer: not implemented_**
2021-11-22T21:12:50.278+0800    ERROR   allinone/allinone.go:131 glob..func1    ovn1: Failed to start Skydive analyzer: All attempts fail:
#1: Get "http://192.168.68.21:8082/api": dial tcp 192.168.68.21:8082: connect: connection refused
#2: Get "http://192.168.68.21:8082/api": dial tcp 192.168.68.21:8082: connect: connection refused
#3: Get "http://192.168.68.21:8082/api": dial tcp 192.168.68.21:8082: connect: connection refused
#4: Get "http://192.168.68.21:8082/api": dial tcp 192.168.68.21:8082: connect: connection refused
#5: Get "http://192.168.68.21:8082/api": dial tcp 192.168.68.21:8082: connect: connection refused
#6: Get "http://192.168.68.21:8082/api": dial tcp 192.168.68.21:8082: connect: connection refused
#7: Get "http://192.168.68.21:8082/api": dial tcp 192.168.68.21:8082: connect: connection refused
#8: Get "http://192.168.68.21:8082/api": dial tcp 192.168.68.21:8082: connect: connection refused
#9: Get "http://192.168.68.21:8082/api": dial tcp 192.168.68.21:8082: connect: connection refused
#10: Get "http://192.168.68.21:8082/api": dial tcp 192.168.68.21:8082: connect: connection refused

but when I used skydive 0.27.0 it work fine!
when I "  # -ovn  " it work fine, but I want to use ovn, what's wrong?
help! Thanks a lot!
lebauce commented 2 years ago

@amwork2020 Sorry for taking so long to answer. Did you download the binary from the GitHub releases page or did you compile it yourself ? It seems OVN support is not enabled by default. You can enable it by compiling with make WITH_OVN=true. I'll check if we can enable it by default.

lebauce commented 2 years ago

@amwork2020 This PR should enable support OVN in released binary : https://github.com/skydive-project/skydive/pull/2409