[nailgun] relation between network_groups and nodegroups DB tables should be M:M

Bug #1559205 reported by Aleksey Kasatkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Medium
Fuel Sustaining
Mitaka
Won't Fix
Medium
Fuel Sustaining
Newton
Confirmed
Medium
Fuel Sustaining

Bug Description

Version: Fuel 6.0 and later.

Relation between network_groups and nodegroups DB tables is M:1.
But default admin network is shared between all environments and default node group of each environment uses it.
It cannot be addressed in DB now as relation is M:1. It is addressed algorithmically in Nailgun code so it is hard to follow, especially for new developer.

Relation between network_groups and nodegroups DB tables should be changed to M:M so address default admin network relations explicitly.

This could also become (or not become - it will depend on design decisions) a prerequisite for moving node groups out of environment where each node group will be able to have several sets of network parameters: one set of network parameters per environment (seems, CIDRs should be the same but IP ranges may vary for different environments within one node group).

Dmitry Pyzhov (dpyzhov)
tags: added: team-network
Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

actual result

expected result

steps to reproduce

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
Curtis Hovey (sinzui)
Changed in fuel:
assignee: Registry Administrators (registry) → nobody
Changed in fuel:
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.