[Bug 807901] New: bugreporter crashes with 403 forbidden for xmlrpc.cgi
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c0 Summary: bugreporter crashes with 403 forbidden for xmlrpc.cgi Classification: openSUSE Product: openSUSE 12.3 Version: RC 2 Platform: Other OS/Version: openSUSE 12.2 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: mihneadb@gmail.com ReportedBy: suse-beta@cboltz.de QAContact: qa-bugs@suse.de Found By: Beta-Customer Blocker: --- (using factory from 2013-02-20, probably also affects 12.3) The screen log says it all... # bugreporter Welcome to the submit bug report module! The user has stored credentials. Connecting to Novell's Bugzilla... If you don't know which package you want to file a bug to, you can use the susebugreport aid command to get some help. Which is the package you want to file a report against? If you are not sure, you can just type the beginning of the name and use a '*' to invoke globbing. Also, you can type '?' to start the aid_user module that helps finding the correct package name. Package name (or '?'): libqt4-x11 Package selected: libqt4 Please enter the bug summary (should be short!) --> test bug Summary entered: test bug Looking for similar existing bug reports... Traceback (most recent call last): File "/usr/bin/bugreporter", line 353, in <module> main() File "/usr/bin/bugreporter", line 343, in main do_submit() File "/usr/bin/bugreporter", line 152, in do_submit bug_list = bz.query({'summary': name}) File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 530, in query r = self._query(query) File "/usr/lib/python2.7/site-packages/bugzilla/bugzilla3.py", line 177, in _query return self._proxy.Bug.search(query) File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python2.7/xmlrpclib.py", line 1578, in __request verbose=self.__verbose File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 1044, in single_request_with_cookies response.msg, xmlrpclib.ProtocolError: <ProtocolError for apibugzilla.novell.com/xmlrpc.cgi: 403 Forbidden> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@suse.com, | |max@suse.com, | |werner@suse.com --- Comment #1 from Dr. Werner Fink <werner@suse.com> 2013-05-16 11:56:52 UTC --- IMHO the python-bugzilla module is broken ... It would be nice if this could be repaired to enable python-bugzilla to really use the credentials from ~/.oscrc ... Traceback (most recent call last): File "/usr/bin/bugzilla", line 801, in <module> main() File "/usr/bin/bugzilla", line 414, in main for k in sorted(bz.products): File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 399, in <lambda> products = property(fget=lambda self: self.getproducts(), File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 395, in getproducts self._products = self._getproducts() File "/usr/lib/python2.7/site-packages/bugzilla/bugzilla3.py", line 52, in _getproducts product_ids = self._proxy.Product.get_accessible_products() File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python2.7/xmlrpclib.py", line 1575, in __request verbose=self.__verbose File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 1044, in single_request_with_cookies response.msg, xmlrpclib.ProtocolError: <ProtocolError for apibugzilla.novell.com/xmlrpc.cgi: 401 Authorization Required> /suse/werner> grep -c passx ~/.oscrc 2 Beside this the api side does not know how to handle info: /suse/werner> bugzilla --bztype NovellBugzilla --user WernerFink --password <XXXXXX> info -p Server error: <Fault -32000: 'Not an ARRAY reference at Bugzilla/Object.pm line 238.\n'> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c2 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |mvyskocil@suse.com InfoProvider| |mvyskocil@suse.com --- Comment #2 from Dr. Werner Fink <werner@suse.com> 2013-05-16 13:05:39 UTC --- Just fixed my problem ... the URL section in my ~/.oscrc does not have a final slash appended. I've patched nvlbugzilla.py to test both with and without final slash, see SR #175863 Please consider to commit this SR -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c3 --- Comment #3 from Dr. Werner Fink <werner@suse.com> 2013-05-16 13:07:34 UTC --- Created an attachment (id=539607) --> (http://bugzilla.novell.com/attachment.cgi?id=539607) python-bugzilla-0.6.2-section.patch This is what I've done ... OK I'm not a python expert maybe there is a more nifty solution -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c4 --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-05-16 16:00:15 CEST --- This is an autogenerated message for OBS integration: This bug (807901) was mentioned in https://build.opensuse.org/request/show/175867 Factory / python-bugzilla -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c Mihnea Dobrescu-Balaur <mihneadb@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mihneadb@gmail.com |bnc-team-screening@forge.pr | |ovo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c5 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |mvyskocil@suse.com |ovo.novell.com | --- Comment #5 from Dr. Werner Fink <werner@suse.com> 2013-05-17 06:38:36 UTC --- Re-assign to Michal as he is the maintainer of devel:languages:python/python-bugzilla AFAICS from osc -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c6 --- Comment #6 from Dr. Werner Fink <werner@suse.com> 2013-05-17 06:41:12 UTC --- Beside this: I'd like to ask if there is a possiblity to really use a cookie as this would avoid that for every transaction a login is required with bugzilla command line tool included in python-bugzilla? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c7 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|mvyskocil@suse.com | AssignedTo|mvyskocil@suse.com |jmatejek@suse.com --- Comment #7 from Michal Vyskocil <mvyskocil@suse.com> 2013-05-17 09:37:04 UTC --- Moving to our brave python maintainer - Jan, can you elaborate? I thought that python-bugzilla does use cookies and I've added the support for LWP ones, but it's quite long time ago and I've no idea about all details. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c8 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #539607|0 |1 is obsolete| | --- Comment #8 from Dr. Werner Fink <werner@suse.com> 2013-05-17 10:20:54 UTC --- Created an attachment (id=539795) --> (http://bugzilla.novell.com/attachment.cgi?id=539795) python-bugzilla-0.6.2-section.patch With this one the command line bugzilla login should store the cookie into ~/bugzillacookies -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c9 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #539795|0 |1 is obsolete| | --- Comment #9 from Dr. Werner Fink <werner@suse.com> 2013-05-17 10:23:04 UTC --- Created an attachment (id=539797) --> (http://bugzilla.novell.com/attachment.cgi?id=539797) python-bugzilla-0.6.2-section.patch Some changes in base.py are required as well to make it use the cookies -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c10 --- Comment #10 from Dr. Werner Fink <werner@suse.com> 2013-05-17 10:25:30 UTC --- Beside this the command `info -p' doe snot work with the pythin bugzilla script ... after trying upstream python-bugzilla (with porting our changes and adopting the login chains from old novell.com to new attachmategroup.com) this works -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c11 Jan Matejek <jmatejek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |suse-beta@cboltz.de --- Comment #11 from Jan Matejek <jmatejek@suse.com> 2013-05-17 17:00:14 UTC --- python-bugzilla is NOT using cookies at all for NovellBugzilla, we're using Basic Auth instead of IChain. Reason is that the IChain craziness is hard to maintain, whereas the Basic Auth is easy and designed for automated access. Besides, IChain cookies don't really survive that long anyway. so "bugzilla login" should be a no-op, and the credentials should always be read from .oscrc, or alternately from .bugzillarc. If "bugzilla" tool doesn't do that, then that's a bug - my guess is that it doesn't know that NovellBugzilla can guess its own credentials ;e) Re the original bugreport: i can't reproduce the issue. Christian, did Werner's update solve your problem? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c12 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|suse-beta@cboltz.de | --- Comment #12 from Christian Boltz <suse-beta@cboltz.de> 2013-05-19 18:12:44 CEST --- (In reply to comment #11)
python-bugzilla is NOT using cookies at all for NovellBugzilla, we're using Basic Auth instead of IChain. Reason is that the IChain craziness is hard to maintain, whereas the Basic Auth is easy and designed for automated access.
In the meantime, the iChain craziness was replaced by AccessManager craziness ;-) Could that change cause this bug?
Re the original bugreport: i can't reproduce the issue. Christian, did Werner's update solve your problem?
With Werner's patch, I get (using Factory): # bugreporter Welcome to the submit bug report module! The user has stored credentials. Connecting to Novell's Bugzilla... Bugzilla error. Maybe check Internet connection? # bugzilla login Username: cboltz Password: Logging in... Traceback (most recent call last): [...] File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 1045, in single_request_with_cookies response.msg, xmlrpclib.ProtocolError: <ProtocolError for apibugzilla.novell.com/xmlrpc.cgi: 403 Forbidden> Looks like the patch makes things worse :-( Without the patch, I still get a backtrace that looks similar to my initial bugreport. Oh, and a funny one (without Werner's patch): # bugzilla --verbose login INFO:bugzilla:Connecting to https://bugzilla.novell.com/xmlrpc.cgi INFO:bugzilla:Autodetecting Bugzilla type INFO:bugzilla:Bugzilla v0.6.2 initializing INFO:bugzilla:Chose subclass NovellBugzilla v0.2 Username: cboltz Password: Logging in... INFO:bugzilla:login successful <----- failed. <----- Note the fun in the last two lines... ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c13 Jan Matejek <jmatejek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |suse-beta@cboltz.de --- Comment #13 from Jan Matejek <jmatejek@suse.com> 2013-05-21 14:53:27 UTC --- (In reply to comment #12)
(In reply to comment #11)
python-bugzilla is NOT using cookies at all for NovellBugzilla, we're using Basic Auth instead of IChain. Reason is that the IChain craziness is hard to maintain, whereas the Basic Auth is easy and designed for automated access.
In the meantime, the iChain craziness was replaced by AccessManager craziness ;-) Could that change cause this bug?
i don't really think so. but are you saying that back when we had iChain, this worked, and now it doesn't?
Logging in... INFO:bugzilla:login successful <----- failed. <-----
well :e)) that's the bugzilla tool being too smart for its own good. anyways, this is weird. what happens when you do this? bugzilla query -b 807901 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c14 --- Comment #14 from Dr. Werner Fink <werner@suse.com> 2013-05-21 15:04:29 UTC --- Even is I'm not Christian: With my patched python-bugzilla-0.8.0: python-bugzilla/python-bugzilla-0.8.0> (setenv PYTHONPATH ${PWD}:/usr/lib/python2.7/site-packages:/usr/lib/python2.7; bin/bugzilla query -b 807901) #807901 NEEDINFO - jmatejek@suse.com - bugreporter crashes with 403 forbidden for xmlrpc.cgi with my patched python-bugzilla-0.6.2 (removed the *.pyc files below /usr/lib/python2.7/site-packages/bugzilla): python-bugzilla/python-bugzilla-0.6.2> bugzilla query -b 807901 #807901 NEEDINFO - 15318 - bugreporter crashes with 403 forbidden for xmlrpc.cgi ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c15 --- Comment #15 from Dr. Werner Fink <werner@suse.com> 2013-05-21 15:06:29 UTC --- (In reply to comment #12)
Oh, and a funny one (without Werner's patch):
# bugzilla --verbose login INFO:bugzilla:Connecting to http://rudin.suse.de:8888/xmlrpc.cgi INFO:bugzilla:Autodetecting Bugzilla type INFO:bugzilla:Bugzilla v0.6.2 initializing INFO:bugzilla:Chose subclass NovellBugzilla v0.2 Username: cboltz Password: Logging in... INFO:bugzilla:login successful <----- failed. <-----
Note the fun in the last two lines... ;-)
IMHO the line return super(NovellBugzilla, self)._login(user, password) in _login() of nvlbugzilla.py is missed -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c16 --- Comment #16 from Jan Matejek <jmatejek@suse.com> 2013-05-21 16:59:59 UTC --- (In reply to comment #14)
Even is I'm not Christian
well thanks, that at least rules out the possibility that bugzilla deliberately blocks other users than me. (and no i'm not joking, there was an issue like this when we were starting with NovellBugzilla implementations) (In reply to comment #15)
IMHO the line
return super(NovellBugzilla, self)._login(user, password)
in _login() of nvlbugzilla.py is missed
that's by design, but it should at least be replaced by return '' i'm trying to merge our changes with upstream python-bugzilla 0.8.0, maybe that will help things. Werner, you said that you have your own patched version, care to send a submitreq? Or a pull request on gitorious? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c17 --- Comment #17 from Dr. Werner Fink <werner@suse.com> 2013-05-21 17:14:05 UTC --- Created an attachment (id=540458) --> (http://bugzilla.novell.com/attachment.cgi?id=540458) python-bugzilla-0.8.0-backtraces.patch This one includes python-bugzilla-0.6.2-backtraces.patch as well as my changes to make it work with current IChain (hopefully this remains stable) as well as my workaround for a missing slash on the end of the API section. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c18 --- Comment #18 from Dr. Werner Fink <werner@suse.com> 2013-05-21 17:21:20 UTC --- (In reply to comment #16) I've not done a git clone nore osc clone from python-bugzilla-0.8.0 as I wasn't aware that this exists. The only problem is that IMHO the boolean logic in _login is wrong as e.g. if lwp_format and not self._is_bugzilla_cookie(): and if lwp_format and not self._is_ichain_cookie(): leads to the fact that even if a cookie is valid (not expored and exists) it will not used. IMHO the two lines should become if not lwp_form or not self._is_<xxxxxxx>_cookie(): to be more correct. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c19 --- Comment #19 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-05-22 15:00:08 CEST --- This is an autogenerated message for OBS integration: This bug (807901) was mentioned in https://build.opensuse.org/request/show/176332 Factory / python-bugzilla -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c20 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #540458|0 |1 is obsolete| | --- Comment #20 from Dr. Werner Fink <werner@suse.com> 2013-05-23 12:06:47 UTC --- Created an attachment (id=540905) --> (http://bugzilla.novell.com/attachment.cgi?id=540905) python-bugzilla-0.8.0-backtraces.patch -- with working cookies With this patch the current cookie is used if not expired. The difference between using a cookie and direct login is about 4-6 seconds versus 10-14 seconds. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c21 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|suse-beta@cboltz.de | --- Comment #21 from Christian Boltz <suse-beta@cboltz.de> 2013-05-27 22:53:50 CEST --- I just installed python-bugzilla-0.6.2-11.1.noarch (manually via osc getbinaries, factory didn't update for some days). Unfortunately I have bad news - I still get xmlrpclib.ProtocolError: <ProtocolError for apibugzilla.novell.com/xmlrpc.cgi: 403 Forbidden> Could it be that xmlrpc access is limited to users in the "novellonly" group? Just to be sure I have the latest version: # rpm -q --changelog python-bugzilla |head -n4 * Mi Mai 22 2013 speilicke@suse.com - Apply python-bugzilla-0.6.2-section.patch - Cleanup spec file - Package README(In reply to comment #13)
(In reply to comment #12) but are you saying that back when we had iChain, this worked, and now it doesn't?
I'm quite sure I tested "bugreporter" long time ago and it worked.
bugzilla query -b 807901
Probably nothing you'll like ;-) bugzilla query -b 807901 Traceback (most recent call last): File "/usr/bin/bugzilla", line 801, in <module> main() File "/usr/bin/bugzilla", line 572, in main buglist = bz.query(q) File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 530, in query r = self._query(query) File "/usr/lib/python2.7/site-packages/bugzilla/bugzilla3.py", line 177, in _query return self._proxy.Bug.search(query) File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python2.7/xmlrpclib.py", line 1578, in __request verbose=self.__verbose File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 1044, in single_request_with_cookies response.msg, xmlrpclib.ProtocolError: <ProtocolError for apibugzilla.novell.com/xmlrpc.cgi: 401 Authorization Required> I also tried "bugzilla login" before - this doesn't change anything. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c22 Jan Matejek <jmatejek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |suse-beta@cboltz.de --- Comment #22 from Jan Matejek <jmatejek@suse.com> 2013-05-28 17:15:41 UTC --- (In reply to comment #21)
Could it be that xmlrpc access is limited to users in the "novellonly" group?
possibly, but more like the apibugzilla access is limited this way. can you log in to http://apibugzilla.novell.com/ with your AccessManager user/pw? if not, i'm going to bounce this bug to ACS folks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c23 --- Comment #23 from Jan Matejek <jmatejek@suse.com> 2013-05-28 17:28:33 UTC --- (In reply to comment #20)
Created an attachment (id=540905) --> (http://bugzilla.novell.com/attachment.cgi?id=540905) [details] python-bugzilla-0.8.0-backtraces.patch -- with working cookies
With this patch the current cookie is used if not expired. The difference between using a cookie and direct login is about 4-6 seconds versus 10-14 seconds.
good to know if we have to go this route, but with Basic Auth login, it's around 2.5 seconds versus 4-6 for AccessManager login with a cookie (and 10-14 without cookie) in the meantime, I prepared python-bugzilla 0.8.0 with Basic Auth patches in my home project [1], i'll push to d:l:py if/when i manage to squash more bugs that you reported in this thread. of course, you're both welcome to test this version - Christian, can you check it? I don't think it will help, but if it does, all the better. [1] https://build.opensuse.org/package/show?package=python-bugzilla&project=home%3Amatejcik%3Abranches%3Adevel%3Alanguages%3Apython -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c24 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|suse-beta@cboltz.de | --- Comment #24 from Christian Boltz <suse-beta@cboltz.de> 2013-05-28 19:52:26 CEST --- (In reply to comment #22)
(In reply to comment #21)
Could it be that xmlrpc access is limited to users in the "novellonly" group?
possibly, but more like the apibugzilla access is limited this way. can you log in to https://apibugzilla.novell.com/ with your AccessManager user/pw?
I get a nice page saying Zugriff verweigert Access denied to this resource. :-( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c25 Jan Matejek <jmatejek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |822053 --- Comment #25 from Jan Matejek <jmatejek@suse.com> 2013-05-28 18:00:05 UTC --- aand there we go. filed a bug against bugzilla: bug 822053 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c26 --- Comment #26 from Dr. Werner Fink <werner@suse.com> 2013-05-29 10:21:57 UTC --- (In reply to comment #23) Beside `bugzilla info -p' all works, wheras even with python-bugzilla-0.6.2 it does currently not work ... xmlrpclib.ProtocolError: <ProtocolError for apibugzilla.novell.com/xmlrpc.cgi: 500 Internal Server Error> ... therefore I guess that apibugzilla.novell.com has a problem. The python-bugzilla-0.8.0suse2 is very fast and my pythion script for filling automatically bugs does work (compare with bug #822189) and it is much faster than with the old python-bugzilla-0.6.2 tree -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c27 Jan Matejek <jmatejek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #27 from Jan Matejek <jmatejek@suse.com> 2013-05-30 17:04:20 UTC --- yes, see bug 822047 0.8.0suse2 looks good then, i'm pushing it, and keeping this open until #822053 is resolved one way or another. if public users can't use apibugzilla, then the implementation in bugreporter is useless and we'll have to go back to AccessManager cookies -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c28 --- Comment #28 from Christian Boltz <suse-beta@cboltz.de> 2013-05-30 22:40:53 CEST --- I can't access bug 822053 - can you please CC me there? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807901 https://bugzilla.novell.com/show_bug.cgi?id=807901#c29 --- Comment #29 from Christian Boltz <suse-beta@cboltz.de> 2013-07-09 00:38:45 CEST --- Bug 822053 was marked as fixed today (with a non-public comment - argh!). Since my account got a special flag for apibugzilla in the meantime, can someone else please test if bugreporter now works for everybody? (Note: This someone should be outside SUSE.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com