Comments (1)
Hello, @hdiogenes, I cannot reproduce this error in my virtual environment. I think that maybe this error is occurring because the resend_stored_flows
method is using old data stored in the storehouse
, related to the first versions of the flow persistence implemented in PR #90.
Deleting the namespace (kytos.Flow.Persistence
) in the storehouse
can resolve this error. But I think it may be necessary to implement a version
field, or something like that in the persistence data, avoiding errors of this kind.
If cleaning the box does not solve the problem, you can provide me with more information on how to reproduce this error.
Information about my env, generated with kytos bug-report
:
Platform
Release information
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
System Information
Linux carlosmagno-Lenovo-ideapad-330S-15IKB 5.8.0-25-generic 26-Ubuntu SMP Thu Oct 15 10:30:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Python
path=/home/carlosmagno/workspace/kytos/Teste_Coverage/env_keyError/bin/python
version=Python 3.6.12
Pip
path=/home/carlosmagno/workspace/kytos/Teste_Coverage/env_keyError/bin/pip
version=pip 20.3.3 from /home/carlosmagno/workspace/kytos/Teste_Coverage/env_keyError/lib/python3.6/site-packages/pip (python 3.6)
Python Packages
kytos | github.com:cmagnobarbosa/kytos | f145a7f7
kytos_flow_manager | github.com:cmagnobarbosa/flow_manager | a1d756f
kytos_mef_eline | github.com:kytos/mef_eline | e670270a
kytos_of_core | github.com:cmagnobarbosa/of_core | ccaa0d2c
kytos_of_l2ls | github.com:cmagnobarbosa/of_l2ls | 1de43719
kytos_of_lldp | github.com:cmagnobarbosa/of_lldp | 4f22cf52
kytos_pathfinder | github.com/kytos/pathfinder | d8ba617a
kytos_storehouse | github.com:cmagnobarbosa/storehouse | e1425d16
kytos_topology | github.com:cmagnobarbosa/topology | 581dc01c
kytos_utils | github.com:cmagnobarbosa/kytos-utils | a16a659e
python_openflow | github.com:cmagnobarbosa/python-openflow | 0537c626
Kytos environment
Kytosd
path=/home/carlosmagno/workspace/kytos/Teste_Coverage/env_keyError/bin/kytosd
version=kytosd 2020.2
Kytos
path=/home/carlosmagno/workspace/kytos/Teste_Coverage/env_keyError/bin/kytos
version=kytos command line, version 2020.2
Installed napps
Status | NApp ID | Description
=======+========================+==================================================================================
[ie] | kytos/flow_manager:3.0 | Manage switches' flows through a REST API.
[ie] | kytos/mef_eline:2.4 | NApp to provision circuits from user request
[ie] | kytos/of_core:1.5.1 | OpenFlow Core of Kytos Controller, responsible for main OpenFlow operations.
[ie] | kytos/of_l2ls:1.2.0 | A L2 learning switch application for OpenFlow switches.
[ie] | kytos/of_lldp:1.1 | Discover network-to-network interfaces (NNIs) using the LLDP protocol.
[ie] | kytos/pathfinder:2.2.3 | Keeps track of topology changes, and calculates the best path between two points.
[ie] | kytos/storehouse:1.3.1 | Persistence NApp with support for multiple backends
[ie] | kytos/topology:3.7.1 | Manage the network topology.
Status: (i)nstalled, (e)nabled
from flow_manager.
Related Issues (20)
- Add support to install Flows through Kytos Events
- Flow consistency routine keeps removing and inserting mef_eline flows
- Flow consistency create flows for removed EVCs
- There are no attempt limits to try to recover box from storehouse
- Flows created outside Kytos should be removed by consistency check HOT 8
- Disabled EVC leaves its flows in flow_manager HOT 3
- When Kytos controller reconnect to the switch, the flows should be preserved HOT 1
- Flow manager consistency check should also consider other tables other than table=0
- Consistency check is using normal deletion instead of DELETE_STRICT
- Refactor Consistency Check
- Consistency check keeps removing and inserting flows on a switch during the first N runs HOT 6
- Eventually a removed flow is recreated when Kytos is under high usage (possible race condition) HOT 1
- Removal of a unexisting flow leads to the removal of all flows HOT 1
- API call flow_manager/v2/flows/{dpid} on GET is returning misleading response status in case of an unknown path
- API call /flow_manager/v2/flows on POST is returning misleading response status HOT 3
- API call /flow_manager/v2/flows/{dpid} on POST is returning misleading response status
- API call /flow_manager/v2/flows on DELETE is returning misleading response status
- API call /flow_manager/v2/flows/{dpid} on DELETE is returning misleading response status
- Payload with non serializable JSON data HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flow_manager.