Bug 656963
Summary: | Installer produces invalid configuration for osa jabber server. | ||
---|---|---|---|
Product: | Red Hat Satellite Proxy 5 | Reporter: | Martin Poole <mpoole> |
Component: | Installer | Assignee: | Jan Pazdziora (Red Hat) <jpazdziora> |
Status: | CLOSED ERRATA | QA Contact: | Jiri Kastner <jkastner> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 540 | CC: | cperry, jkastner, jpazdziora |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | spacewalk-web-1.2.7-14 | Doc Type: | Bug Fix |
Doc Text: |
The WebUI installer for Red Hat Network Proxy Server 5.4 did not produce a valid configuration for the OSA jabberd service. With this update, jabberd is configured correctly.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2010-12-21 12:25:12 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: | 646488 |
Description
Martin Poole
2010-11-24 15:27:45 UTC
Is this command line installer or WebUI installer? Thanks, Cliff The main problem is with the c2s.xml & sm.xml config files. For c2s the pid location is wrong the pass is wrong the id lacks attirbutes the path for db files is wrong For sm the pid location is wrong the pass is wrong the path for db files is wrong The password in the default files now appears to be an auto-generated random string, so a blanket use of fixed string 'secret' would appear to be incorrect. Also the To fix a non-working config I made the following changes, diff -r fail/c2s.xml working/c2s.xml 9c9 < <pidfile>/var/run/jabberd/jabberd-c2s.pid</pidfile> --- > <pidfile>/var/lib/jabberd/pid/c2s.pid</pidfile> 19c19 < <pass>secret</pass> <!-- default: secret --> --- > <pass>f43bfe6d35688316a6a5d2e8cd9a29f9e9bc8bff</pass> <!-- default: secret --> 76c76 < <id>host-139.example.com</id> --- > <id require-starttls="false" pemfile="/etc/jabberd/server.pem" realm="" register-enable="true">host-139.example.com</id> 289c289 < <path>/var/lib/jabberd</path> --- > <path>/var/lib/jabberd/db</path> diff -r fail/sm.xml working/sm.xml 12c12 < <pidfile>/var/run/jabberd/jabberd-sm.pid</pidfile> --- > <pidfile>/var/lib/jabberd/pid/sm.pid</pidfile> 22c22 < <pass>secret</pass> <!-- default: secret --> --- > <pass>f43bfe6d35688316a6a5d2e8cd9a29f9e9bc8bff</pass> <!-- default: secret --> 122c122 < <path>/var/lib/jabberd</path> --- > <path>/var/lib/jabberd/db</path> This was from webUI install. Currently retesting from cmdline install. cmdline install fails completely. # configure-proxy.sh RHN Parent [satellite.example.com]: CA Chain [/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT]: Proxy version to activate [5.3]: 5.4 Traceback email []: Use SSL [Y/n]: HTTP Proxy []: Regardless of whether you enabled SSL for the connection to the Spacewalk Parent Server, you will be prompted to generate an SSL certificate. This SSL certificate will allow client systems to connect to this Spacewalk Proxy securely. Refer to the Spacewalk Proxy Installation Guide for more information. Organization []: none Organization Unit [host-139.example.com]: Common Name [host-139.example.com]: City []: city State []: state Country code []: GB Email []: root.com API version: 5.4.0 There was a problem activating the RHN Proxy entitlement: ERROR: upon entitlement/activation attempt: unknown error - <Fault 1046: 'redstone.xmlrpc.XmlRpcFault: proxy_channel_not_found'> Proxy activation failed! Installation interrupted. API version: 5.4.0 RHN Proxy successfully deactivated. But it will install 5.3. Rechecking satellite channel sync and update status. Yeah, Mirek, the files in web/html/applications/rhn-proxy/5.4/jabberd/ really don't look up to date. I also wonder whether all the extra modules should be there "disco" ? ad cmd installer - that fail is due BZ 657019, please try with workaround: https://bugzilla.redhat.com/show_bug.cgi?id=657019#c1 If jabberd config are old, they should be update in both proxy command line installer, webui (web/html/applications/rhn-proxy/5.4/jabberd/) and hosted (their version of web/html/applications/rhn-proxy/5.4/jabberd/). commited to spacewalk.git as commit c2f599ed19871a51d4940720c28d96e06597dfba cherrypicked to satellite.git as commit cd77fc347bdc474f445eb8ea71924fe68e96ac68 I forgot to wrap up the script in activity tag, which led to ISE. fix in commit 9c5cbcd334d2dfde7df484063e78e731b76dfd6d cherrypicked to satellite.git as commit 9991b47721b0c01599187cd558d771dc2c420563 Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: The WebUI installer for Red Hat Network Proxy Server 5.4 did not produce a valid configuration for the OSA jabberd service. With this update, jabberd is configured correctly. moved script to correct activity. commit 77d77ce5369488d4d90714224e8477bfb57168d0 cherry-picked to satellite.git as commit 11216176d9874677cc3da2201f0abb7913e1a603 Taking. #!/bin/sh is needed in the script. Spacewalk master eab762584e64b2db5b65db4a8851cf2a43cadde0. Cherry picked to Satellite's SATELLITE-5.4 as 7ad9506294e3f6e71e8b55f122920e82b702c356. Tagged as spacewalk-web-1.2.7-14-sat. Packages for spacewalk-web-1.2.7-14 built; moving back ON_QA. 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/RHBA-2010-1001.html |