When trying to assign new IPs Nailgun iters over all IPs in DB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Won't Fix
|
Medium
|
Ihor Kalnytskyi |
Bug Description
4.1
The method NetworkManager.
For instance:
1) Create a cluster A, Simple NovaNet, with Public network set to 172.16.0.0/29 and range set to 172.16.
2) Populate this cluster A with 4 nodes.
3) Call an API URL /api/clusters/
3.a) It assigns all necessary IPs and returns a JSON with deployment data.
4) Create a cluster B, Simple Neutron, with Public network 172.16.
5) Populate the cluster B with 2 nodes.
6) Call an API URL /api/clusters/
Expected result:
It returns a JSON with deployment data.
Real result:
HTTP 500 "Internal server error"
You can easily reproduce it on the fake UI.
The problem is here https:/
Just add 'filter_by(network == network_group.id)' to the query.
Changed in fuel: | |
milestone: | none → 5.0 |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Igor Kalnitsky (ikalnitsky) |
Fix proposed to branch: master /review. openstack. org/78232
Review: https:/