globocom / globocom/GloboNetworkAPI

Shared IP that is part of a VIP causing problems listing VIP and deleting equipment association

Open
#1 1 comment 0 reactions 1 assignee Claimed by @JonathanAlcantara View on GitHub
bug
Dominant language
Python
Stars
88
Forks
71
Avg merge
1d 10h
Merged PRs (30d)
4

Description

OBS: Dois equipamentos podem ter o mesmo IP cadastrado. Isso é o esperado para IP<>equipamentos.
It is expected an IP to be registered to one or more equipments.
The problem occurs when we add this shared IP to a VIP (Virtual Server - LB). When listing this VIP, we get the error "Falha ao acessar a fonte de dados. (Database failure).". As the VIP pool member is related to an IP, the issue is possibly because the NetworkAPI tries to find a unique equipment to this VIP but it gets more than one.
If the IP is registered to more than one equipment, the VIP has to show them all.

Another problem: I tryed to delete the association of one of the servers but it does not let me do that. When I tryed to do that, it gave the me error:

"Não foi possível excluir o ip de id 42002 pois ele está sendo usado em uma requisição VIP."

I am not trying to delete the IP itself. It should still be registered in the DB for the other equipment and this error should not happen.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.