Roles and groups in granular deployment is a different entities

Bug #1553113 reported by Stanislaw Bogatkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
Medium
Fuel Sustaining
Newton
Confirmed
Medium
Fuel Sustaining

Bug Description

In a task-based deployment 'roles' and 'groups' entities is the same. But in granular (role) deployment they are completely different. It leads us to bugs like this: [0]. There is need to make them equal like in task-based deployment.

[0]: https://bugs.launchpad.net/fuel/+bug/1553049

Changed in fuel:
status: New → Confirmed
Dmitry Pyzhov (dpyzhov)
tags: added: tech-debt
tags: removed: team-bugfix
Dmitry Pyzhov (dpyzhov)
tags: added: team-enhancements
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Ilya Kutukov (ikutukov)
Ilya Kutukov (ikutukov)
Changed in fuel:
assignee: Ilya Kutukov (ikutukov) → Fuel Python Team (fuel-python)
Revision history for this message
Ilya Kutukov (ikutukov) wrote :

Here is a deployment graph from TestBlockDeviceDevicesSerialization80 with extended edges colouring.

When we calling _update_dependencies of OrchestratorGraph it is using groups to create dependancies.

If we are supposing that developer have made a mistake and defined roles instead of groups (see refer. bug) we should use roles as groups if no groups provided.

The green connections is the connections created using groups fields.
The red connections created using roles when groups are not found.

As you could see adding red lines (roles) creating loops in this graph making it's proper traversal impossible.

So i don't see easy way of substitution groups dependencies with roles in legacy orchestrator.

Revision history for this message
Alexey Shtokolov (ashtokolov) wrote :

We are going to deprecate role-based deployment for >=9.0 clusters. So I suggest to downgrade this bug to medium due to major changes in legacy code.

Changed in fuel:
importance: High → Medium
status: Confirmed → Won't Fix
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.