Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: cookie_mask not set for deletion case #125

Closed
viniarck opened this issue Aug 20, 2024 · 1 comment
Closed

bug: cookie_mask not set for deletion case #125

viniarck opened this issue Aug 20, 2024 · 1 comment
Assignees
Labels
2024.1 Kytos-ng 2024.1 bug Something isn't working

Comments

@viniarck
Copy link
Member

In [1]: hex(12154867577397413960 & 0xffffffffffffff)
Out[1]: '0xaec3a992af8848'
2024-08-20 11:16:58,263 - INFO [kytos.napps.kytos/telemetry_int] [int.py:624:handle_failover_flows] (MainThread) Handling failover_old_path flows remove on EVC ids: dict_keys(['aec3a992af8848', 'e77198dabc0947', '86b5276d52e842', '0083de4c51b642', 'a88c183e740240', '6614758bab9b41', 'bbf6bc07d9af40', 'f626a7f4bcd349', 'b34e3ae3d08f45', 'ec7b8fa471cf4f', 'f7ebec99f8f640', '68825a34fafc44', '3a93c2092f194d', '1ec9aa9bd2cb4a', '5cf70ae1d5e049', 'c3873ce8477e42', 'cfb0a8c2da4f43', 'af27d9e7e8d247', '9acdbb570a6a48', '53e9d2335e854d', '2afccb62630c4c', '2dbaddb40a534b', '66753db4c88c42', 'b620a87d9d1e46', 'd45b537fe36143', '66fff447682041', 'c8a7ee910aab4c', 'fd739532aec048', '65bfe8d1df4941', '7baef6469cb94d', 'c1c360cb0dce47', 'bb6ef7c6391846', 'a7ac844d1de345', '77407ae191fb44', 'cecaf8c2ac984c', 'c82bfe90653446', '90c98685f5c546', '05738bc8c76a4a', 'cdb69e6cb75a46', '8e1266ac67ac41', 'b0154360661843', '4e242447f37947', '79cadd7d32974b', 'e75fe24aac1043', 'b1d38d83b85242', '9df1e1d855b149', 'b52844cd2f5d44', '18eb4334da1145', '7e7dee39d3a649', '9204de035b634f', '92b47774e10c41', 'f7233a03e15847', '765f79f467d340', '1aa99a5bbcd640', '5a3e286f135640', '8c993a84862542', 'bdc2b6130f1243', 'db1909a139e544', '2f632d482acd4f', 'c3e7c2f936c04f', 'cc79514ee6e04e', '0a1a8466dfce4e', 'e3b04a00e77c4b', '60dc14ca776746', 'ce81b66540e444', 'a00cfca3181a4e', '18523ae3803648', 'a580e7de888e44', 'f7edeb25e7dc4d', '3104d80f65c64d', 'c8ef63b45fc343', '8b193a9999c84f', '5722ae2e5c0648', 'ecb87c87fb1e40', 'e5f20c8cb05f4e', '101ad449fdb443', 'ef702017cc824b', 'dbf2334431c44b', 'c04f748d5ef340', '6695069357664c', 'a04a864d123840', 'f0a1482085924b', '8d2bdcd93eeb4d', '388da781882a4c', 'f78fb7078f7845', '8610b8018ea54d', 'c16647298a8d4d', '2f3283370bbe44', '6034b59a351543', '984e90bc7b364d', '8576af9a6ebe4c', '049fe194d7d749', '7029d185af1247', 'a25d24013d464b', '4b026110e63744', 'c223bfc7f15347', '480906b8a7ec40', '135c75b380a546', '31595bd4074f4b', '6c066b7b99c340', '245029db3fc64c', '9f5bec71d89546', '31907a517c044b', 'be7506781c4345', '2a1cfa620f964e', '26ef539335e144', 'c00fb07d4ab546', '40c0f9c5e1c542', '451aa314be884d', '98ef8c35123d41', '7cc03a6f61ea45', '2711a91e748f40', '40ab7ffb6f184d', 'a766cdd071294c', '4f48c10739614a', 'fcb857c144d845', 'b87e980ff1d141', '5f4175310d484f', 'c4010f58ef244f', 'de99eef74ba447', '2d6c28bb60b549', '3d78f58a892647', '72dc4fa31ced48', '66088dcb75764a', 'fc1da9ad89fa4f', 'c0299afc28314c', '5f9ea274544443', '5da7bc781ae34c', '40467754fbdb48', 'fcbda7a308e648', 'cf1fe4887f6d49', '3ee8ce2f98b440', 'f9b67ad59ab448', '17a18a71fdf44e', '7fafc9136ed747', '4f2defc28ae445', '101eb7feb96140', '4726c83ac7e946', 'ddd1bd165d4d40', 'a5bf6c0b22c54e', 'aa3c5aab9c0a49', '8cdbc9f93a094f', '3a40f89545804b', 'de1b253cac2e40', '2055c4178ce440', '4090ad39f8e74c', '9e206fa1f3fb4e', 'dfb44005464a49', '09bbebb617b043', '94ee732af5b148', '38ec3f2b620441', 'b012ac90705e4b', 'a4bf9867980841', 'e1c6e64b7fc54d', '4adb22c4692842', '833ffbe6d8e144', '48f9a3aabc5c43', '809d213906f14b', '58f4d7c56b4340', '04c8ffd6bfc94c', 'cd8441ce67914e', '29725ee9eecf4d', '38ab150f11c247', 'd7361cf499d646', '967864dcb82a41', 'f83b23349aaa45', 'cd0b97a5fdfd47', '36d26d3ad27444', '34fee686db0545', '16b198e27ed546', '79ed6cba3a4f47', '85ba8395b00f48', 'be81bd94ac824e', '64b699a1cf6d4f', '470cdd3ccd6a43', '074ecf0241da4b', '1005ae3de9d744', 'f848cbe48dc246', '62dc57aa1c864f', '1c97efaf37a44e', 'e7285d6e828249', '568b529d445047', '47605bea7bd144', 'ba30b804518d4e', 'a29f9a198c9d45', '78af477ca3eb41', '9bc87a07d7ff4f', '79b66d54643741', 'e84887d095c749', 'b6c1fe370dc84f', '02c96ebc326d40', '329f5628bef144', '115a8c151ffc4c', '09e9a02b84454b', '8fbc16e2b9db40', 'f3d2eb7cebf54e', '86229d873de04c', 'ccf33cef0b6a48', '6b9f5c98c67c46', '6d2bbf3fb55d4e', '70c114be565d4c', '56d86e79a9ff48', '176aae6c5f654f', '1d84ef06a3dd41', '9a52611d55304e', 'f0fd5b14bdb14c', 'a1198a35e44f4f', '98a135e815da46', '5b1506fec11a4c', '14288876595343', '080e6633332441', 'bd353f8564da4b', '962fd25c966c40', '37e816cbc04c49', 'ad17b0ebe85f45', 'c453ea226c6a4e', '1e314caa10ce48', '6ef681febfcf45', 'c3d9a9afef7943', 'd73fba21e6b840', '110f61c020f349', '961054ee37ea42', '08a2eee6f61841', 'df8bb34f4dd24f', '5b59ce2f3aaf4b', '00912fd65c544f', 'e7576d741aa344', '02bcaf17fa6445', '39abfd1a6cea4b', '3d9cc0224ad341', '5f9b90709ea347', '912ef1550a2a49', '480183cdc67c40', 'ed960c43325d4b', 'c670f19f99a641', '7cf53fc8c9b84e', 'ace1a21e35d447', '6996d32208144b', '55a683be719141', 'bab93d51685f48', '84a3e5ab4c5444', '5d21ec705eaa41', '4553ce43f69a45', '1d603d3d6a8441', '50d01f97c1184f', '6a2237d9b5964c', 'dbc67f5acf5848', '269cafc1e2c546', '65659e1307aa44', '1e36e182bd7a4f', '7accac4f5a9845', 'e505c8d6f49b4d', '89eebc281fc244', '1de4ff0eea1947', '5082f12c739f4e', 'd512649b877a44', 'd4d81165f8c645', '9d39392884d941', 'fc8c1aad9b4944', '1973759399eb44', 'd4f701124b9b4c', '31ca953f5f674b', '071e50b8b6954d', '8ff2b045ed5746', 'bf00de254b9f4c', '53b95866f8ad40', '65f080dce67143', '88ac7a5ac3b44d', 'ddc73326532744', 'd9fcddb76b224f', '9f76ec051a9446', 'dcf15f30b75b40', 'c94e523dfe6a4e', 'de9daa9624a94d', '4c5c5fa9f87345', '6610a901454640', '826ff6de69ea49', '8b58e32582ae45', 'ffc35484e86f41', '6c1ce972ea4345', '0918c1d86d974f', 'b1e725ad60994c', '47078056b6fc4e', 'a3c296f176464e', '134a486e72aa48', '1c7c02dae6024d', 'd14319fcfbd64e', '0b1fd73777de44', '6d919337c5f149', '6c8cee905af14f', '43284fac53e74c', '0ef675e9e11c41', 'ec1724a0c2de40', 'dae457152c4648', '730914a0496446', '8c0317a9b2704f', '8fe4dc1035fc49', 'a68043e8accd49', '3773df254ac542', '6537b7d80bcf44', 'f0ea70ef09464e', '20075bb6c5fc44'])
11:17:07.840
2024-08-20 11:17:07,240 - ERROR [kytos.napps.kytos/flow_manager] (dynamic_single_0) cookie is set, cookie_mask should be set too when deleting flows. flow: {'match': {'in_port': 11, 'd
l_vlan': 303, 'dl_type': 2048, 'nw_proto': 6}, 'cookie': 12154867577397413960, 'owner': 'telemetry_int', 'table_group': 'evpl', 'table_id': 0, 'priority': 21100, 'instructions': [{'ins
truction_type': 'apply_actions', 'actions': [{'action_type': 'add_int_metadata'}, {'action_type': 'output', 'port': 17}]}]}
2024-08-20 11:17:07,283 - ERROR [kytos.napps.kytos/flow_manager] (dynamic_single_0) cookie is set, cookie_mask should be set too when deleting flows. flow: {'match': {'in_port': 11, 'd
l_vlan': 303, 'dl_type': 2048, 'nw_proto': 6}, 'cookie': 12154867577397413960, 'owner': 'telemetry_int', 'table_group': 'evpl', 'table_id': 0, 'priority': 21100, 'instructions': [{'ins
truction_type': 'apply_actions', 'actions': [{'action_type': 'add_int_metadata'}, {'action_type': 'output', 'port': 25}]}]}

cookie_mask ended up being not set for one case of when handling failover_old_path event

@viniarck
Copy link
Member Author

Landed on kytos-ng/mef_eline#497, no need to reset cookie mask on telemetry_int for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2024.1 Kytos-ng 2024.1 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant