Bug 2052687
| Summary: | s390utils-base rpm commands need to be included in the s390utils-core rpm (for OCP 4.10 on Z RHCOS and later releases)) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | krmoser |
| Component: | s390utils | Assignee: | Dan Horák <dhorak> |
| Status: | CLOSED NOTABUG | QA Contact: | Vilém Maršík <vmarsik> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.4 | CC: | chanphil, christian.lapolt, fleber, Holger.Wolf, madeel, psundara, rvr |
| Target Milestone: | rc | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | s390x | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-02-25 14:58:51 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: | |||
|
Description
krmoser
2022-02-09 19:07:03 UTC
Hi Kyle, As Dan suggests here: https://bugzilla.redhat.com/show_bug.cgi?id=2039483#c2 moving all these commands into s390utils-core will make it equivalent to the base package. the core package was made to be a lightweight version of base with only essential tools for installation. Any additional debuuging tools/UX tools need to be overlayed manually onto the nodes themselves. I don't think it makes sense to include everything into core. Thanks Prashanth Thanks, Prashanth, that would be my answer too. If there is a reason for CoreOS to have all the various tools available, then it should "Require" s390utils-base. But IIRC the problem was that there are few tools requiring Perl and that would have to be fixed first. Ideally rewriting them in something else, an old upstream ticket is https://github.com/ibm-s390-linux/s390-tools/issues/5. Hi Prashanth, I think vmcp is not a debug command. It should be present on OCP nodes, because there are some vmcp commands which doesn't take user-id argument like vmcp def cpu/mem. It is at times used at least by me to increase/decrease cpu/memory capacity on the nodes. And there might be other vmcp commands which can only run on a node.. However, I also agree with not putting Perl in to minimal fs. If vmcp has no dependency on Perl, can we move it to core? I am also fine with manual overlay method, its just that it requires a reboot. Is there an option to avoid reboot? Thank you and Thanks Dan for the informative issue link. (In reply to madeel from comment #3) > Hi Prashanth, > > I think vmcp is not a debug command. It should be present on OCP nodes, > because there are some vmcp commands which doesn't take user-id argument > like vmcp def cpu/mem. It is at times used at least by me to > increase/decrease cpu/memory capacity on the nodes. And there might be other > vmcp commands which can only run on a node.. > > However, I also agree with not putting Perl in to minimal fs. If vmcp has no > dependency on Perl, can we move it to core? I am also fine with manual > overlay method, its just that it requires a reboot. Is there an option to > avoid reboot? > > Thank you and Thanks Dan for the informative issue link. vmcp is being moved to core via bug 2021071 (for 8.6) and bug 2032507 (for 8.4) Dan and Prashanth,
Thank you for the information.
1. After a good deal of additional research and consideration for Client, Development, Support, and Test purposes, and to fulfill both the goals of a lightweight RHCOS s390utils-core package (and RHCOS itself) and to include the most highly used/required tools for efficiency and ease of use, I'd like to propose a revised and significantly reduced subset of the s390utils-base tools to be included in the RHCOS s390utils-core package.
2. This significantly reduced number of s390utils-base tools would primarily be used for listing resources to confirm basic and common configuration settings, and 2 configuration commands. (This list is in addition to the already in progress or completed moves for the lszdev, vmcp, and any other approved s390utils-base tools.)
3. Please find below this revised, significantly reduced subset of s390utils-base tools that would be highly useful/productive to include in the RHCOS s390utils-core package. (The s390utils-base-2.16.0-2.el8.s390x package was used to provide the information below.)
s390utils-base tool Size
=================== =====
1. /usr/sbin/chccwdev 9K
2. /usr/sbin/lschp 50K
3. /usr/sbin/lscss 59K
4. /usr/sbin/lsdasd 20K
5. /usr/sbin/lsluns 12K
6. /usr/sbin/lsqeth 62K
7. /usr/sbin/lsreipl 71K
8. /usr/sbin/lsshut 71K (same tool as /usr/sbin/lsreipl, linked to chreipl)
9. /usr/sbin/lszcrypt 58K
10. /usr/sbin/lszfcp 15K
11. /usr/sbin/vmur 87K
Thank you,
Kyle
I am sorry, but I believe it should be fixed by using s390utils-base (and possible other packages) by CoreOS in some form. The size of the tools is one criterion, but even if the inclusion of these support tools would not violate the principle of only vital tools in "core", then the dependency on perl in lsluns is a no-go for CoreOS. |