________________________________ Von: spacewalk-list-boun...@redhat.com <spacewalk-list-boun...@redhat.com> im Auftrag von Robert Paschedag <robert.pasche...@web.de> Gesendet: Montag, 21. Mai 2018 23:29 An: spacewalk-list@redhat.com; Angelo Lisco Betreff: Re: [Spacewalk-list] Spacewalk 2.8 configure-proxy.sh Error On 05/21/18 20:01, Angelo Lisco wrote: > ok, i've found a bugzilla report here: > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.redhat.com%2Fshow_bug.cgi%3Fid%3D1575906&data=02%7C01%7CPaschedag.Netlution%40swr.de%7C3e702af8b5f644be31f508d5bf62000f%7Cbcca095d88d442f88260cc216b81f62d%7C0%7C0%7C636625349990724050&sdata=xqT7eiymLxFx2taIIm%2FpF0VfOE3x2F94vWVJQEIVu6M%3D&reserved=0 > It's assigned to Tomáš Kašpárek <tkaspa...@redhat.com> but still no > feedback from him :( > > 2018-05-21 19:07 GMT+02:00 Angelo Lisco <angystard...@gmail.com>: > >> Hi Stuart, >> I'm experiencing the same issue here. Did you find a solution to this >> problem? >> >> Thanks. >> Angelo >> >> 2018-04-24 14:49 GMT+02:00 Stuart Wilson <stu...@432solutions.co.uk>: >> >>> Hi, >>> >>> I’m currently trying to setup a Spacewalk proxy instance on a RHEL 7.4 >>> server. I followed the guide as per the Wiki ( >>> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fspacewalkproject%2Fspacewalk%2Fwiki%2FHowToInstallProxy&data=02%7C01%7CPaschedag.Netlution%40swr.de%7C3e702af8b5f644be31f508d5bf62000f%7Cbcca095d88d442f88260cc216b81f62d%7C0%7C0%7C636625349990724050&sdata=K%2FDkxvi71%2Bksw1%2F1HjZcRAaw%2FRU1zCfdb26mhKS%2Fd5U%3D&reserved=0), >>> however when I run configure-proxy.sh, I’m getting the error “WARNING: >>> upon deactivation attempt: uknown error – <Fault -12: >>> ‘redstone.xmlrpc.XmlRpcFault: method invalid param’>”. I managed to track >>> this down to the call using rhn-proxy-activate within configure-proxy.sh. >>> Tracing it back to the main Spacewalk server, the Web-API log shows the >>> same error, “method invalid param” while trying to call the >>> proxy.list_available_proxy_channels method. >>> >>> Has anyone else seen this error before, I’m not really sure where to move >>> forward with this, is this something that’s changed in the latest 2.8 >>> version of spacewalk? Or could this be something to do with “Provisioning >>> Entitlements”, I understand they were changed back in 2.5, but I can’t find >>> any documentation on how they are enabled nowadays, though the >>> documentation does still refer to them being needed. Any help, much >>> appreciated. >>> >>> Thanks, >>> >>> >>> Stuart. >>> >>> >>> >>> >>> _______________________________________________ >>> Spacewalk-list mailing list >>> Spacewalk-list@redhat.com >>> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list&data=02%7C01%7CPaschedag.Netlution%40swr.de%7C3e702af8b5f644be31f508d5bf62000f%7Cbcca095d88d442f88260cc216b81f62d%7C0%7C0%7C636625349990724050&sdata=RIHHQ5Gc5c%2B4kZKq6uBHnEd806KY6%2BsqTQzh8WSHZ%2BI%3D&reserved=0 >>> >> >> > > > > _______________________________________________ > Spacewalk-list mailing list > Spacewalk-list@redhat.com > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list&data=02%7C01%7CPaschedag.Netlution%40swr.de%7C3e702af8b5f644be31f508d5bf62000f%7Cbcca095d88d442f88260cc216b81f62d%7C0%7C0%7C636625349990724050&sdata=RIHHQ5Gc5c%2B4kZKq6uBHnEd806KY6%2BsqTQzh8WSHZ%2BI%3D&reserved=0 > Seems to be this part here (in proxy/installer/rhn-proxy-activate.py) s = getServer(options, DEFAULT_WEBRPC_HANDLER_v3_x) systemid = getSystemId(cfg) errorCode, errorString = 0, '' try: if not s.proxy.is_proxy(systemid): # if system is not proxy, we do not need to deactivate it return (errorCode, errorString) except: # pylint: disable=W0702 # api do not have proxy.is_proxy is implemented or it is hosted # ignore error and try to deactivate pass try: s.proxy.deactivate_proxy(systemid) # proxy 3.0+ API except: # pylint: disable=W0702 errorCode, errorString = _errorHandler() try: raise except xmlrpclib.Fault: if errorCode == 8: # fine. We weren't activated yet. # noop and look like a success errorCode = 0 else: errorString = "WARNING: upon deactivation attempt: %s" % errorString : I think, the main problem is, that "is_proxy()" cannot be called (throws an error, at least, if there really is no proxy with that systemID). Thus, s.proxy.deactivate_proxy(systemid) get's called. I cannot find this code ("deactivate_proxy"), except in this script, thus this might also throw an exception. But this is all speculative. I cannot test this "proxy" activation here. "is_proxy" can also be found in java/code/src/com/redhat/rhn/common/db/datasource/xml/System_queries.xml <mode name="is_proxy"> <query params="sid"> SELECT 1 FROM rhnProxyInfo PI WHERE PI.server_id=:sid </query> </mode> Robert Greping through the logs....I only found this old commit git log -i --grep deactivate_proxy commit e5d511008fe8bd1d8e49519cea06322da1fdcc89 Author: Miroslav Suchý <msu...@redhat.com> Date: Wed Dec 7 20:29:35 2011 +0100 code cleanup - deactivate_proxy() is not used anymore Robert _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list&data=02%7C01%7CPaschedag.Netlution%40swr.de%7C3e702af8b5f644be31f508d5bf62000f%7Cbcca095d88d442f88260cc216b81f62d%7C0%7C0%7C636625349990724050&sdata=RIHHQ5Gc5c%2B4kZKq6uBHnEd806KY6%2BsqTQzh8WSHZ%2BI%3D&reserved=0
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list