Bug 629011
| Summary: | 'rhncfg-manager upload-channel' returns XMLRPC error '500 Internal server error' | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Pavel Novotny <pnovotny> |
| Component: | Client | Assignee: | Partha Aji <paji> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Novotny <pnovotny> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 540 | CC: | cperry, mmraka |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-10-28 15:01:46 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: | 487678, 608776 | ||
|
Description
Pavel Novotny
2010-08-31 16:39:55 UTC
Can you by any chance paste the /var/log/httpd/error.log output? Here is the log when I exec 'rhncfg-manager upload-channel ...':
/var/log/httpd/error_log:
-----
Exception reported from hp-xw6400-01.rhts.eng.bos.redhat.com
Time: Tue Aug 31 09:01:41 2010
Exception type exceptions.AttributeError
Exception while handling function config.management.get_default_delimiters
Request object information:
URI: /CONFIG-MANAGEMENT-TOOL
Remote Host: nec-em20.rhts.eng.bos.redhat.com
Server Name: hp-xw6400-01.rhts.eng.bos.redhat.com:0
Headers passed in:
Accept-Encoding: identity
Content-Length: 195
Host: hp-xw6400-01.rhts.eng.bos.redhat.com
content-encoding: x-gzip
content-transfer-encoding: binary
content-type: application/binary
user-agent: rhn.rpclib.py/$Revision: 190936 $
x-client-version: 1
x-info: RPC Processor (C) Red Hat, Inc (version 191735)
x-rhn-client-capability: rhncfg.dirs_enabled(1)=1,configfiles.base64_enc(1)=1
x-rhn-transport-capability: follow-redirects=3
x-transport-info: Extended Capabilities Transport (C) Red Hat, Inc (version 190936)
Exception Handler Information
Traceback (most recent call last):
File "/usr/share/rhn/server/apacheRequest.py", line 120, in call_function
response = apply(func, params)
File "/usr/share/rhn/server/handlers/config_mgmt/rhn_config_management.py", line 442, in management_get_delimiters
return self._get_delimiters()
File "/usr/share/rhn/server/configFilesHandler.py", line 120, in _get_delimiters
return {
File "/usr/share/rhn/common/rhnConfig.py", line 356, in __getattr__
raise AttributeError(key)
AttributeError: config_delim_start
CONFIG PARSE WARNING: File not found or can't be read /etc/rhn/default/rhn_server_config-management-tool.conf
CONFIG PARSE WARNING: key not found in config default dict ('server', 'config-management-tool')
CONFIG PARSE WARNING: File not found or can't be read /etc/rhn/default/rhn_server_config-management-tool.conf
CONFIG PARSE WARNING: key not found in config default dict ('server', 'config-management-tool')
CONFIG PARSE WARNING: File not found or can't be read /etc/rhn/default/rhn_server_config-management-tool.conf
CONFIG PARSE WARNING: key not found in config default dict ('server', 'config-management-tool')
[...]
-----
It seems as a typo in the filename:
/etc/rhn/default/rhn_server_config-management-tool.conf
^^^ this file does not exist
instead of:
/etc/rhn/default/rhn_server_config-management_tool.conf
^^^ this file does exist
VERIFIED. Tested successfully with version rhncfg-management-5.9.27-1.el5sat. Verified in stage. [root@xen96 ~]# rhncfg-manager download-channel fooobar -t /tmp/fooobar/ Red Hat Network username: admin Password: Deploying /tmp/fooo -> /tmp/fooobar/fooobar/tmp/fooo Deploying /tmp/whatever -> /tmp/fooobar/fooobar/tmp/whatever [root@xen96 ~]# rhncfg-manager upload-channel fooobar -t /tmp/fooobar/ Using config channel fooobar Uploading /tmp/fooo from /tmp/fooobar/fooobar/tmp/fooo Uploading /tmp/whatever from /tmp/fooobar/fooobar/tmp/whatever [root@xen96 ~]# The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332 RHEA-2010:0803 - RHN Tools enhancement update https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333 RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334 RHEA-2010:0800 - RHN Satellite Server 5.4.0 https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335 Docs are available: http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html Regards, Clifford |