Describe the bug
On each modification of existing mappings, creating of new mapping or deleting a mapping, all canary mappings get an additional route. Additional route is seen on Diagnostics UI, in logs and even in generated envoy.json.
To Reproduce
Steps to reproduce the behavior:
Apply following manifest to the k8s cluster where you have Emissary Ingress installed. This will create one canary with two services and one basic one.
On Diagnostics UI inspect routes and see that everything is fine.
Modify property of one of the existing mappings. For example we can modify service on mapping single. Any modification would trigger the issue.
On Diagnostics UI inspect routes again and see additional mapping on canary.
I know that there is a bug on UI about weights (https://github.com/emissary-ingress/emissary/issues/2142). But this is not only frontend bug, this duplicated mapping is also seen in the logs if we run Emissary Ingress with environment variable AMBASSADOR_DEBUG set to "diagd".
Exactly the same issue appears if we create new mapping or delete one of the mappings. And on each change, all canary mappings get one more duplication.
If we then restart Emissary Ingress the duplicated routes disappear and everything is fine again.
Expected behavior
Creating, deleting or modifying mappings should not produce duplicated routes on canary mappings.
Versions (please complete the following information):
Describe the bug On each modification of existing mappings, creating of new mapping or deleting a mapping, all canary mappings get an additional route. Additional route is seen on Diagnostics UI, in logs and even in generated envoy.json.
To Reproduce Steps to reproduce the behavior:
Apply following manifest to the k8s cluster where you have Emissary Ingress installed. This will create one canary with two services and one basic one.
On Diagnostics UI inspect routes and see that everything is fine.
Modify property of one of the existing mappings. For example we can modify service on mapping single. Any modification would trigger the issue.
On Diagnostics UI inspect routes again and see additional mapping on canary.
I know that there is a bug on UI about weights (https://github.com/emissary-ingress/emissary/issues/2142). But this is not only frontend bug, this duplicated mapping is also seen in the logs if we run Emissary Ingress with environment variable AMBASSADOR_DEBUG set to "diagd".
Exactly the same issue appears if we create new mapping or delete one of the mappings. And on each change, all canary mappings get one more duplication.
If we then restart Emissary Ingress the duplicated routes disappear and everything is fine again.
Expected behavior Creating, deleting or modifying mappings should not produce duplicated routes on canary mappings.
Versions (please complete the following information):