-
Task
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
None
-
None
The description and goal refined 2026 Feb 5.
In Anaconda installer we aim to embed Cockpit's network module in a modal dialog.
We are hitting an issue of closing the iframe by user with active Checkpoints existing - which results in the destruction of the planned connection check event and silent rollback of configuration later during installation. For example for default settings for checkpoints the problem happens if the dialog (and iframe with cockpit module) is closed after configuration change earlier then in 'settle_time' (after which the actual check that would remove the rollback would happen).
We were currently hitting it mainly in tests as ~1s is usually enough time for real user so it is not super urgent for us but we should definitely solve the issue.
Current goal:
I think Anaconda needs an event provided by Cockpit module informing about active checkpoints. Assuming only single checkpoint would be active in Cockpit module it seems just something like 'cockpit_has_checkpoint' could be sufficient.
Perhaps the same mechanism as 'cockpit_has_modal' (session storage) can be used. (NOTE: Anaconda will use the cockpit_has_modal also for network cockpit module to prevent for example closing the Anaconda emebedding modal when Cockpit's confirm change dialog (following failed checkpoint check) is active.)
Future considerations and potential follow-ups:
- An interface to set (and read) the values curtain_time, settle_time, rollback_time. This might be needed by specifics of installer environment experience. No indications of it yet, needs some real user experience and feedback.
- API to turn the checkpoints off or to set some options. No indications of it yet, needs some real user experience and feedback.
- is depended on by
-
INSTALLER-4594 Prevent closing Network Configuration dialog when checkpoint / configuration is in progress.
-
- Waiting
-