Bug 603063
| Summary: | Configuration file cannot be imported, error; call an unsupported action | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Petr Sklenar <psklenar> |
| Component: | Client | Assignee: | Michael Mráka <mmraka> |
| Status: | CLOSED NOTABUG | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | cperry, jhutar, mzazrivec |
| 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-07-20 11:44:26 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, 582655 | ||
|
Description
Petr Sklenar
2010-06-11 13:03:29 UTC
/var/log/up2date:
[Fri Jun 11 08:56:21 2010] up2date D: check_action {'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>configfiles.upload</methodName>\n<params>\n<param>\n<value><int>180041602</int></value>\n</param>\n<param>\n<value><array><data>\n<value><string>/etc/yum.conf</string></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 180041602}
[Fri Jun 11 08:56:21 2010] up2date updateLoginInfo() login info
[Fri Jun 11 08:56:21 2010] up2date D: login(forceUpdate=True) invoked
[Fri Jun 11 08:56:21 2010] up2date logging into up2date server
[Fri Jun 11 08:56:21 2010] up2date D: rpcServer: Calling XMLRPC up2date.login
[Fri Jun 11 08:56:22 2010] up2date D: writeCachedLogin() invoked
[Fri Jun 11 08:56:22 2010] up2date D: Wrote pickled loginInfo at 1276260982.05 with expiration of 1276264582.05 seconds.
[Fri Jun 11 08:56:22 2010] up2date successfully retrieved authentication token from up2date server
[Fri Jun 11 08:56:22 2010] up2date D: logininfo: {'X-RHN-Server-Id': 1016551751, 'X-RHN-Auth-Server-Time': '1276260981.96', 'X-RHN-Auth': '+/G+nX67+MXgLl0cnjgm0Q==', 'X-RHN-Auth-Channels': [['rhel-x86_64-server-6-beta', '20100420181221', '1', '1']], 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'}
[Fri Jun 11 08:56:22 2010] up2date D: handle_action {'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>configfiles.upload</methodName>\n<params>\n<param>\n<value><int>180041602</int></value>\n</param>\n<param>\n<value><array><data>\n<value><string>/etc/yum.conf</string></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 180041602}
[Fri Jun 11 08:56:22 2010] up2date D: handle_action actionid = 180041602, version = 2
[Fri Jun 11 08:56:22 2010] up2date D: do_call configfiles.upload (180041602, ['/etc/yum.conf'])
[Fri Jun 11 08:56:22 2010] up2date D: Attempt to call an unsupported action configfiles.upload (180041602, ['/etc/yum.conf'])
[Fri Jun 11 08:56:22 2010] up2date D: Sending back response (6, 'Invalid function call attempted', {})
[Fri Jun 11 08:56:22 2010] up2date D: do_call packages.checkNeedUpdate ('rhnsd=1',)
[Fri Jun 11 08:56:23 2010] up2date D: rpcServer: Calling XMLRPC up2date.listChannels
[Fri Jun 11 08:56:23 2010] up2date D: local action status: (0, 'rpm database not modified since last update (or package list recently updated)', {})
The problem described above is caused by the fact that your rhel-6 system does not have rhncfg* packages installed (i.e. the problem has nothing to do with RHEL-6/rhn-client-tools as the currently chosen component may suggest). Ordinarily, rhncfg* packages would be installed on your system automatically, though this is not possible at the moment, since noone has built these packages for RHEL-6 yet. moving to sat540-blockers under the anticipation that it will be closed out as not a bug once correct packages are tested with. Cliff RHEL6-beta RHN Tools has been pushed:
# yum instal rhncfg*
---> Package rhncfg-actions.noarch 0:5.9.5-6.el6 set to be updated
---> Package rhncfg-client.noarch 0:5.9.5-6.el6 set to be updated
---> Package rhncfg-management.noarch 0:5.9.5-6.el6 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================
Package Arch Version Repository Size
========================================================================================
Installing:
rhncfg noarch 5.9.5-6.el6 rhn-tools-rhel-i386-server-6-beta 55 k
rhncfg-actions noarch 5.9.5-6.el6 rhn-tools-rhel-i386-server-6-beta 28 k
rhncfg-client noarch 5.9.5-6.el6 rhn-tools-rhel-i386-server-6-beta 26 k
rhncfg-management noarch 5.9.5-6.el6 rhn-tools-rhel-i386-server-6-beta 34 k
Transaction Summary
========================================================================================
Install 4 Package(s)
Upgrade 0 Package(s)
Total size: 143 k
Installed size: 0
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : rhncfg-5.9.5-6.el6.noarch 1/4
Installing : rhncfg-client-5.9.5-6.el6.noarch 2/4
Installing : rhncfg-actions-5.9.5-6.el6.noarch 3/4
Installing : rhncfg-management-5.9.5-6.el6.noarch 4/4
Installed:
rhncfg.noarch 0:5.9.5-6.el6 rhncfg-actions.noarch 0:5.9.5-6.el6
rhncfg-client.noarch 0:5.9.5-6.el6 rhncfg-management.noarch 0:5.9.5-6.el6
Complete!
# rhn-actions-control --enable-upload
# rhn_check -vv 2>&1 | tee /tmp/rhn_check.log
/usr/share/rhn/config_common/utils.py:17: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
D: check_action {'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>configfiles.upload</methodName>\n<params>\n<param>\n<value><int>180129529</int></value>\n</param>\n<param>\n<value><array><data>\n<value><string>/etc/yum.conf</string></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 180129529}
updateLoginInfo() login info
D: login(forceUpdate=True) invoked
logging into up2date server
D: rpcServer: Calling XMLRPC up2date.login
D: writeCachedLogin() invoked
D: Wrote pickled loginInfo at 1279625939.61 with expiration of 1279629539.61 seconds.
successfully retrieved authentication token from up2date server
D: logininfo: {'X-RHN-Server-Id': 1016552618, 'X-RHN-Auth-Server-Time': '1279625939.52', 'X-RHN-Auth': 'wou4aiaszS0/PZAeknVfPQ==', 'X-RHN-Auth-Channels': [['rhel-i386-server-6-beta', '20100720065830', '1', '1'], ['rhn-tools-rhel-i386-server-6-beta', '20100720011836', '0', '1']], 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'}
D: handle_action {'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>configfiles.upload</methodName>\n<params>\n<param>\n<value><int>180129529</int></value>\n</param>\n<param>\n<value><array><data>\n<value><string>/etc/yum.conf</string></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 180129529}
D: handle_action actionid = 180129529, version = 2
D: do_call configfiles.upload (180129529, ['/etc/yum.conf'])
D: Sending back response (0, 'All files successfully uploaded', {'attempted_paths': ['/etc/yum.conf']})
D: do_call packages.checkNeedUpdate ('rhnsd=1',)
Loaded plugins: rhnplugin
D: rpcServer: Calling XMLRPC up2date.listChannels
D: local action status: (0, 'rpm database not modified since last update (or package list recently updated)', {})
|