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

IndexError: list index out of range while deploying new rack #140

Open
marcusgc opened this issue Oct 25, 2018 · 2 comments
Open

IndexError: list index out of range while deploying new rack #140

marcusgc opened this issue Oct 25, 2018 · 2 comments
Assignees

Comments

@marcusgc
Copy link
Collaborator

marcusgc commented Oct 25, 2018

In order to subnet the datacenter v4 networks for each rack environment, NetworkAPI gets environment configuration from ip_config and EnvironmentConfig (populated by datacenter feature for the room).
While deploying new rack, it is trying to statically allocate /18 network for the rack (networkapi.api_rack.facede.py:664 - "prefixo_inicial"). As such, when the environment is configured to smaller networks, it is raising an error index out of range error.
There is a need to let it dynamically allocate the rack network according to the environment config.

@globocom globocom deleted a comment from marcusgc Oct 25, 2018
@pantuza pantuza self-assigned this Oct 25, 2018
@maryanamorato
Copy link

can i work on it?

@marcusgc marcusgc closed this as completed Oct 6, 2022
@marcusgc marcusgc reopened this Oct 6, 2022
@marcusgc
Copy link
Collaborator Author

marcusgc commented Oct 6, 2022

Sure! Feel free to work on it and submit. Let us know if you have any concerns.

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

No branches or pull requests

3 participants