Bug 468365
Summary: | satellite webui does not see monitoring scout public key | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Milan Zázrivec <mzazrivec> | ||||
Component: | Monitoring | Assignee: | Miroslav Suchý <msuchy> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 530 | CC: | cperry, whayutin | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | sat530 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-09-10 18:14:05 UTC | Type: | --- | ||||
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: | 463877, 486216 | ||||||
Attachments: |
|
Description
Milan Zázrivec
2008-10-24 12:18:39 UTC
Created attachment 321401 [details]
screenshot
> select value from rhn_config_parameter where group_name = 'netsaint'
and name = 'satKeyFile';
VALUE
--------------------------------------------------------------------------------
/opt/home/nocpulse/.ssh/nocpulse-identity.pub
^^ that's from satellite-schema-5.3.0-1.el4
This seems to be changed in upstream spacewalk-schema-0.3.4-1:
$ grep '.ssh' rhn_config_parameter_data.sql
insert into rhn_config_parameter(group_name, name, value, security_type,
last_update_user, last_update_date) values ( 'netsaint', 'satKeyFile',
'/var/lib/nocpulse/.ssh/nocpulse-identity.pub', 'ALL', 'system',sysdate);
I'm not sure whether this affects the problem at all ...
Problem is still present with satellite-schema-5.3.0-2.el5 (based on upstream spacewalk-schema-0.3.4-1). Pretty sure that the scripts used to generate the entries is messed up somehow. Problem is that this query: SQL> select PUBLIC_KEY from rhn_sat_cluster; PUBLIC_KEY -------------------------------------------------------------------------------- should return the key. So somebody do not populate the db correctly. Well I think that my fix in BZ 468537, can be fix for this bug as well. Have to try it. I can see it now. Mass moving ON_QA this is back in 6/12.1 build selinux enforcing fails_qa restarting MonitoringScout by itself seems to work around the issue, but the default install has the problem. 1. install sat w/ selinux enforcing 2. enable monitoring, restart satellte w/ /usr/sbin/rhn-satellite restart.. Do you have some AVC messages in audit.log? I tried as best, but could not reproduce it. Can you provide more data. k.. will put back on qa so we double check it next build verified 6/19 Verified in stage -> RELEASE_PENDING An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-1434.html |