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

Available sessions missing if peered on one IX Connection of multiple IX Connection to the same IX #526

Open
mngan opened this issue Dec 1, 2021 · 2 comments

Comments

@mngan
Copy link
Contributor

mngan commented Dec 1, 2021

Peering Manager version

v1.5.2

Python version

3.10

Steps to Reproduce

  1. Create multiple connections to an IX
  2. Create a session to an AS on one of the connections
  3. View available sessions for the AS

Expected Behavior

I would expect that the sessions for the AS on this IX would still show up if there is a Connection that is missing a peering session

Observed Behavior

The available sessions for the AS on this IX are not visible, so the only way to create the session is to manually create it. Or delete all sessions to that AS for this IX, then the AS will show up in the available sessions and you can create all the sessions.

This happens a lot when we have added a second connection to the IX sometime after the first, and we want to find all the peers that haven't set up sessions on the second connection.

@dunc623b
Copy link

dunc623b commented Nov 2, 2022

Can confirm same behaviour on v1.7.2 and Python 3.9.2
Same scenario here, we added 2nd connections to a couple of IXes and trying to get all the sessions in sync across both.

@gmazoyer
Copy link
Member

gmazoyer commented Nov 4, 2022

To fix this issue, a change to the SQL queries generated by this function is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants