Bug 1450269
| Summary: | Package "setroubleshoot-server" is not available in "rhel-7-server-rhvh-4*" repos | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Wei Wang <weiwang> | ||||
| Component: | rhev-hypervisor-ng | Assignee: | Yuval Turgeman <yturgema> | ||||
| Status: | CLOSED ERRATA | QA Contact: | cshao <cshao> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.1.1 | CC: | apinnick, bugs, cshao, dfediuck, dperpeet, huzhao, leiwang, mgoldboi, qiyuan, rbarry, yaniwang, ycui, yturgema | ||||
| Target Milestone: | ovirt-4.1.3 | Keywords: | ZStream | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: |
The setroubleshoot-server package is installed successfully with rhel-7-server-rhvh-4*.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-07-11 08:41:10 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | 1456874 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
Ryan, let's open a BZ on cockpit for requiring the missing package I apologize for throwing a wrench into RHEV here. We had complaints about the dependency on setroubleshoot-server and also the page was broken on Atomic Host, therefore we removed the rpm dependency on setroubleshoot-server from cockpit-selinux. There's a weak dependency on distros that support those. If you want to troubleshoot selinux events, you'll have to pull in setroubleshoot-server explicitly. Otherwise cockpit will still support seeing the SELinux state and toggling enforcing/permissive mode. No problem, Dominik. We can always include this in RHV-H directly. The goal for us is really just to include as few packages as possible explicitly, and rely on dependencies instead... To clarify, Cockpit shows a message that specifies which package needs to be installed to add the extra functionality (setroubleshoot-server). Long-term, users will be able to install that package from within Cockpit, e.g. by clicking on that missing package notification. Looks like we will need to push this as another multi-product errata, as the cockpit team will not be adding as a dependency Yuval, can you please file a multi-product errata for this? Yes no problem Test version: redhat-virtualization-host-4.1-20170627.0 imgbased-0.9.32-0.1.el7ev.noarch Test steps: 1. Install redhat-virtualization-host-4.1-20170627.0. 2. Download setroubleshoot and setroubleshoot-plugins package from brew. 3. Install those packages. # rpm -ivh setroubleshoot-server-3.2.27.2-3.el7.x86_64.rpm setroubleshoot-plugins-3.0.64-2.1.el7.noarch.rpm Preparing... ################################# [100%] Updating / installing... 1:setroubleshoot-server-3.2.27.2-3.################################# [ 50%] 2:setroubleshoot-plugins-3.0.64-2.1################################# [100%] Test result: Install package "setroubleshoot-server" successfully. So the bug is fixed, change bug status to VERIFIED. *** Bug 1393265 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:1713 |
Created attachment 1278071 [details] log files Description of problem: Setroubleshoot-server installation is required to troubleshoot SELinux events in cockpit SELinux page with RHVH. But the package "setroubleshoot-server" is not available in "rhel-7-server-rhvh-4*" repos which are enabled with QA test account. Version-Release number of selected component (if applicable): redhat-virtualization-host-4.1-20170506.0 cockpit-ws-135-4.el7.x86_64 cockpit-dashboard-135-4.el7.x86_64 cockpit-ovirt-dashboard-0.10.7-0.0.18.el7ev.noarch imgbased-0.9.24-0.1.el7ev.noarch subscription-manager-1.17.15-1.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. Clean install redhat-virtualization-host-4.1-20170506.0 2. Login to cockpit webUI with root account 3. Go to "SELinux" page, the message "Install setroubleshoot-server to troubleshoot SELinux events." displays 4. Register and attach subscription RHVH with QA test account 5. Check the repos for "rhel-7-server-rhvh-4*" are available # subscription-manager repos --list|grep "Repo ID" 6. Enable the "rhel-7-server-rhvh-4*" repos # subscription-manager repos --enable=rhel-7-server-rhvh-4* 7. Yum install setroubleshoot-server package #yum -y install setroubleshoot-server Actual results: "No package setroubleshoot-server available." is displayed. Expected results: Install package "setroubleshoot-server" successfully. Additional info: