Bug 2263966
| Summary: | Cockpit storage: anaconda-mode: "Create Stratis pool" option is available, causes Cockpit to offer to install stratisd | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
| Component: | cockpit | Assignee: | Martin Pitt <mpitt> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | jkonecny, jstodola, kkoukiou, mkolman, mmarusak, mpitt, patrick, rvykydal, stefw |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-09-20 07:43:38 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2231339 | ||
|
Description
Adam Williamson
2024-02-13 01:47:39 UTC
It is easy for Cockpit not to show this option when the package is missing. As you pointed out, first we should think whether we want to show Stratis in Fedora installation. If we do, we just need to include the required package otherwise Cockpit team can easily hide this. Blivet GUI did not support stratis yet either https://github.com/storaged-project/blivet-gui/pull/277, so let's hide the options in the dropdown when the requirements are not installed (in anaconda mode) For future RFE for stratis on WebUI we can use another tracker. Well, we might want Cockpit to continue to have the "offer to install stratisd" behaviour *on installed systems*, no? It only seems wrong for the installer environment. Can we set it up that way? @Adam yes - this is the suggestion. Cockpit storage has a 'anaconda mode' detection in the source code, and does quite a lot of conditionalizing already. This 'anaconda mode' is enabled when the anaconda runtime configuration file is detected. There is one more problem with this, specific on Live media - even if Cockcpit does pull in the dependencies, avoiding the various pitfalls like running out of RAM or lack of network connectivity - *the same dependencies won't be present on the installed system* ! Live media installation basically rsyncs the RO base layer of the Live image, it won't pull in any runtime changes done to the image rootfs during installation & it won't install any RPMs either (as we don't have any support for mixing different installation payloads right now). So I think this should be definitely disabled in the "Anaconda mode", at least for now. This got fixed in https://github.com/cockpit-project/cockpit/pull/20950 and is part of release 324. |