You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the ActionAddMember and ActionRemoveMember it's easy to create a dependency cycle when adding more actions:
Resize a LV.
Create new PV partition.
Add the PV to the VG.
Blivet fails with blivet.tsort.CyclicGraphError: graph contains cycles
The problem is that both the ActionCreateDevice and ActionCreateFormat for the new PV depend on the resize action (which it shouldn't) of the LV which depends on the ActionAddMember (which is correct, the LV resize might need the extra space added by the new PV) which depends on the PV create action (again correct) creating the cycle.
The problem is that all create actions depend on all actions with higher type (e.g. resize) even if these actions are on devices that don't depend on each other.
When using the ActionAddMember and ActionRemoveMember it's easy to create a dependency cycle when adding more actions:
blivet.tsort.CyclicGraphError: graph contains cycles
The problem is that both the
ActionCreateDevice
andActionCreateFormat
for the new PV depend on the resize action (which it shouldn't) of the LV which depends on theActionAddMember
(which is correct, the LV resize might need the extra space added by the new PV) which depends on the PV create action (again correct) creating the cycle.The problem is that all create actions depend on all actions with higher type (e.g. resize) even if these actions are on devices that don't depend on each other.
blivet/blivet/deviceaction.py
Lines 302 to 305 in 620685c
The text was updated successfully, but these errors were encountered: