This weekend I updated a spacewalk 1.0 installation to 1.2 and have run into a few problems (such as the missing dependency on quartz-oracle) and where the migrations died (<a href="http://spacewalk.pastebin.com/YAdZ0AUF">http://spacewalk.pastebin.com/YAdZ0AUF</a> - commented out <span class="Apple-style-span" style="font-family: monospace; font-size: 12px; color: rgb(24, 24, 24); line-height: 18px; "><span class="kw1" style="color: rgb(153, 51, 51); font-weight: bold; text-transform: uppercase; ">DROP</span> <span class="kw1" style="color: rgb(153, 51, 51); font-weight: bold; text-transform: uppercase; ">INDEX</span> rhn_package_path_idx - terrible, I know</span>), but I got threw them and spacewalk seems to be working properly except for the rhncfg tool. Specifically, rhncfg-manager is no longer working.<div>
<br></div><div>When I attempt to use rhncfg-manager on a server that hasn't been updated to the latest client, I get this:</div><div><br></div><div><div>rpm -q rhncfg-management rhncfg</div><div>rhncfg-management-5.9.19-1.el5</div>
</div><div>rhncfg-5.9.19-1.el5</div><div><br></div><div><br></div><div><div>touch /usr/src/foo</div><div>rhncfg-manager add -ctest 123 /usr/src/foo</div><div>Red Hat Network username: rpmbuild</div><div>Password: </div><div>
<br></div><div>Traceback (most recent call last):</div><div>  File "/usr/bin/rhncfg-manager", line 46, in ?</div><div>    sys.exit(Main().main() or 0)</div><div>  File "/usr/share/rhn/config_common/rhn_main.py", line 187, in main</div>
<div>    handler.run()</div><div>  File "/usr/share/rhn/config_management/rhncfg_add.py", line 64, in run</div><div>    if not r.config_channel_exists(channel):</div><div>  File "/usr/share/rhn/config_management/rpc_repository.py", line 182, in config_channel_exists</div>
<div>    return (config_channel in self.list_config_channels())</div><div>  File "/usr/share/rhn/config_management/rpc_repository.py", line 222, in list_config_channels</div><div>    self.config_channels = self.rpc_call(</div>
<div>  File "/usr/share/rhn/config_common/repository.py", line 362, in rpc_call</div><div>    result = apply(method, params)</div><div>  File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__</div>
<div>    return self.__send(self.__name, args)</div><div>  File "/usr/share/rhn/config_common/rpc_wrapper.py", line 226, in _request</div><div>    return self._call_function(rpclib.Server._request, (self, methodname, params))</div>
<div>  File "/usr/share/rhn/config_common/rpc_wrapper.py", line 174, in _call_function</div><div>    raise e #Don't raise the NoMoreServers error, raise the error that triggered the failover.</div><div>xmlrpclib.Fault: <Fault 1: "While running 'config.management.list_config_channels': caught\nexceptions.TypeError : descriptor 'get' requires a 'dict' object but received a 'str'\n"></div>
<div><br></div></div><div><br></div><div><br></div><div>When I upgrade to the latest client released client (5.9.33), I get this error:</div><div><br></div><div><div>rhncfg-manager add -ctest 123 /usr/src/foo</div><div>Traceback (most recent call last):</div>
<div>  File "/usr/bin/rhncfg-manager", line 46, in ?</div><div>    sys.exit(Main().main() or 0)</div><div>  File "/usr/share/rhn/config_common/rhn_main.py", line 67, in main</div><div>    if utils.startswith(arg, server_name_opt):</div>
<div>AttributeError: 'module' object has no attribute 'startswith'</div></div><div><br></div><div><br></div><div>Now, I do see <a href="https://bugzilla.redhat.com/show_bug.cgi?id=656895">https://bugzilla.redhat.com/show_bug.cgi?id=656895</a> which mentions the bug, but I don't see a .35 package anywhere. I did try the latest nightly package (5.9-37), but that just caused the original " descriptor 'get' requires a 'dict' object but received a 'str' " error to return.</div>
<div><br></div><div>Updates uploaded or made in the spacewalk web UI work properly. It seems limited to a client-side (rhncfg-*.rpm) issue. Unfortunately, we rely on scripts which use rhncfg-manager for pushing a few hundred updates per day, so manually updating files in the interface isn't feasible. Any help that anyone can provide to get this working (even if it is a manual change until a proper package is available) would be greatly appreciated.</div>
<div><br></div><div>Spacewalk System:</div><div>Spacewalk 1.2</div><div>CentOS release 5.5 (Final)</div><div><span class="Apple-style-span" style="font-family: monospace; font-size: 12px; color: rgb(24, 24, 24); line-height: 18px; ">Oracle <span class="kw1" style="color: rgb(153, 51, 51); font-weight: bold; text-transform: uppercase; ">DATABASE</span> 11g <span class="kw1" style="color: rgb(153, 51, 51); font-weight: bold; text-transform: uppercase; ">RELEASE</span> 11.2.0.1.0</span></div>
<div><span class="Apple-style-span" style="font-family: monospace; font-size: 12px; color: rgb(24, 24, 24); line-height: 18px; "><br></span></div><div><span class="Apple-style-span" style="font-family: monospace; font-size: 12px; color: rgb(24, 24, 24); line-height: 18px; ">Client System</span></div>
<div><span class="Apple-style-span" style="font-family: monospace; font-size: 12px; color: rgb(24, 24, 24); line-height: 18px; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; line-height: normal; font-size: small; ">CentOS release 5.5 (Final)</span></span></div>
<div><span class="Apple-style-span" style="font-family: monospace; font-size: 12px; color: rgb(24, 24, 24); line-height: 18px; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; line-height: normal; font-size: small; ">Spacewalk 1.2 client - fully updated</span></span></div>