Brief: ------
Question 1:
What is the best way to test using pyhon-bugzilla without writing to the live system at https://bugzilla.redhat.com/xmlrpc.cgi ?
Question 2:
Should python-bugzilla support accessing https://partner-bugzilla.redhat.com/xmlrpc.cgi or am I misinterpreting the output of "bugzilla --help"?
Details: --------
My ultimate goal is to write some scripts that use python-bugzilla to query and modify BZs. I don't want to test with live system. I was told that partner-bugzilla.redhat.com mirrors production but changes written there won't show up bugzilla.redhat.com
However when I try to use partner-bugzilla.redhat.com for the --bugzilla flag the command fails.
When I use a browser I successfully access https://partner-bugzilla.redhat.comIs there a bette
Is there a better way to test my script without writing to the live system at https://bugzilla.redhat.com/xmlrpc.cgi ?
I only show the login sub-command examples in this email but I've observed this with both the query and login sub-commands.
Here is a "failed" attempt to log in to: --bugzilla="https://partner-bugzilla.redhat.com/xmlrpc.cgi"
dhcp-10-16-61-114 % /usr/bin/bugzilla --bugzilla="https://partner-bugzilla.redhat.com/xmlrpc.cgi" --debug login [14:17:01] INFO (bugzilla:869) Connecting to https://partner-bugzilla.redhat.com/xmlrpc.cgi [14:17:01] INFO (bugzilla:872) Autodetecting Bugzilla type [14:17:01] INFO (__init__:94) Bugzilla v0.8.0 initializing [14:17:01] DEBUG (__init__:30) Detecting subclass for https://partner-bugzilla.redhat.com/xmlrpc.cgi [14:17:01] INFO (__init__:37) Using RHBugzilla for URL containing bugzilla.redhat.com [14:17:01] INFO (__init__:109) Chose subclass RHBugzilla v0.1 Username: jvlcek@redhat.com Password: Logging in... failed.
The "almost" same command succeeds when attempting to log in to the default of: --bugzilla="https://bugzilla.redhat.com/xmlrpc.cgi"
dhcp-10-16-61-114 % /usr/bin/bugzilla --bugzilla="https://bugzilla.redhat.com/xmlrpc.cgi" --debug login [14:17:40] INFO (bugzilla:869) Connecting to https://bugzilla.redhat.com/xmlrpc.cgi [14:17:40] INFO (bugzilla:872) Autodetecting Bugzilla type [14:17:40] INFO (__init__:94) Bugzilla v0.8.0 initializing [14:17:40] DEBUG (__init__:30) Detecting subclass for https://bugzilla.redhat.com/xmlrpc.cgi [14:17:40] INFO (__init__:37) Using RHBugzilla for URL containing bugzilla.redhat.com [14:17:40] INFO (__init__:109) Chose subclass RHBugzilla v0.1 Username: jvlcek@redhat.com Password: Logging in... [14:17:54] INFO (base:407) login successful - dropping password from memory Authorization cookie received.
Thank you! Joe VLcek
On Mon, Jul 22, 2013 at 02:33:07PM -0400, Joe VLcek wrote:
Brief:
Question 1:
What is the best way to test using pyhon-bugzilla without writing to the live system at https://bugzilla.redhat.com/xmlrpc.cgi ?
I do all my testing with a dummy bugzilla on the above website. Just create a bz with the subject "TEST: please don't close" and have your script goof around on that. I have been doing that for 5 years under two bzs without any issues so far.
Question 2:
Should python-bugzilla support accessing https://partner-bugzilla.redhat.com/xmlrpc.cgi or am I misinterpreting the output of "bugzilla --help"?
Hmm, not sure why that isn't working.
Cheers, Don
Details:
My ultimate goal is to write some scripts that use python-bugzilla to query and modify BZs. I don't want to test with live system. I was told that partner-bugzilla.redhat.com mirrors production but changes written there won't show up bugzilla.redhat.com
However when I try to use partner-bugzilla.redhat.com for the --bugzilla flag the command fails.
When I use a browser I successfully access https://partner-bugzilla.redhat.comIs there a bette
Is there a better way to test my script without writing to the live system at https://bugzilla.redhat.com/xmlrpc.cgi ?
I only show the login sub-command examples in this email but I've observed this with both the query and login sub-commands.
Here is a "failed" attempt to log in to: --bugzilla="https://partner-bugzilla.redhat.com/xmlrpc.cgi"
dhcp-10-16-61-114 % /usr/bin/bugzilla --bugzilla="https://partner-bugzilla.redhat.com/xmlrpc.cgi" --debug login [14:17:01] INFO (bugzilla:869) Connecting to https://partner-bugzilla.redhat.com/xmlrpc.cgi [14:17:01] INFO (bugzilla:872) Autodetecting Bugzilla type [14:17:01] INFO (__init__:94) Bugzilla v0.8.0 initializing [14:17:01] DEBUG (__init__:30) Detecting subclass for https://partner-bugzilla.redhat.com/xmlrpc.cgi [14:17:01] INFO (__init__:37) Using RHBugzilla for URL containing bugzilla.redhat.com [14:17:01] INFO (__init__:109) Chose subclass RHBugzilla v0.1 Username: jvlcek@redhat.com Password: Logging in... failed.
The "almost" same command succeeds when attempting to log in to the default of: --bugzilla="https://bugzilla.redhat.com/xmlrpc.cgi"
dhcp-10-16-61-114 % /usr/bin/bugzilla --bugzilla="https://bugzilla.redhat.com/xmlrpc.cgi" --debug login [14:17:40] INFO (bugzilla:869) Connecting to https://bugzilla.redhat.com/xmlrpc.cgi [14:17:40] INFO (bugzilla:872) Autodetecting Bugzilla type [14:17:40] INFO (__init__:94) Bugzilla v0.8.0 initializing [14:17:40] DEBUG (__init__:30) Detecting subclass for https://bugzilla.redhat.com/xmlrpc.cgi [14:17:40] INFO (__init__:37) Using RHBugzilla for URL containing bugzilla.redhat.com [14:17:40] INFO (__init__:109) Chose subclass RHBugzilla v0.1 Username: jvlcek@redhat.com Password: Logging in... [14:17:54] INFO (base:407) login successful - dropping password from memory Authorization cookie received.
Thank you! Joe VLcek
python-bugzilla mailing list python-bugzilla@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/python-bugzilla
----- Original Message -----
From: "Joe VLcek" jvlcek@redhat.com To: python-bugzilla@lists.fedorahosted.org Sent: Monday, July 22, 2013 8:33:07 PM Subject: [python-bugzilla] Using --bugzilla=<something besides the default> fa
Question 2:
Should python-bugzilla support accessing https://partner-bugzilla.redhat.com/xmlrpc.cgi or am I misinterpreting the output of "bugzilla --help"?
Hi,
I am able to login to partner-bugzilla: $ bugzilla --bugzilla="https://partner-bugzilla.redhat.com/xmlrpc.cgi" --debug login [09:14:06] INFO (bugzilla:1015) Connecting to https://partner-bugzilla.redhat.com/xmlrpc.cgi [09:14:06] INFO (bugzilla:1018) Autodetecting Bugzilla type [09:14:06] INFO (__init__:98) Bugzilla v0.9.0 initializing [09:14:06] DEBUG (__init__:34) Detecting subclass for https://partner-bugzilla.redhat.com/xmlrpc.cgi [09:14:06] INFO (__init__:41) Using RHBugzilla for URL containing bugzilla.redhat.com [09:14:06] DEBUG (base:355) Using cookiefile=/home/lzachar/.bugzillacookies [09:14:06] INFO (__init__:113) Chose subclass RHBugzilla v0.1 Username: lzachar@redhat.com Password: Logging in... [09:14:17] INFO (base:466) login successful - dropping password from memory Authorization cookie received.
$ rpm -q python-bugzilla python-bugzilla-0.9.0-1.fc19.noarch
Are you sure you have typed correct password? Are you able to login with the same credentials in webui? The data on partner are usually old so if you have changed your password after the sync it was not reflected.
Cheers,
On Tue, 2013-07-23 at 03:22 -0400, Lukas Zachar wrote:
----- Original Message -----
From: "Joe VLcek" jvlcek@redhat.com To: python-bugzilla@lists.fedorahosted.org Sent: Monday, July 22, 2013 8:33:07 PM Subject: [python-bugzilla] Using --bugzilla=<something besides the default> fa
Question 2:
Should python-bugzilla support accessing https://partner-bugzilla.redhat.com/xmlrpc.cgi or am I misinterpreting the output of "bugzilla --help"?
Hi,
I am able to login to partner-bugzilla: $ bugzilla --bugzilla="https://partner-bugzilla.redhat.com/xmlrpc.cgi" --debug login [09:14:06] INFO (bugzilla:1015) Connecting to https://partner-bugzilla.redhat.com/xmlrpc.cgi [09:14:06] INFO (bugzilla:1018) Autodetecting Bugzilla type [09:14:06] INFO (__init__:98) Bugzilla v0.9.0 initializing [09:14:06] DEBUG (__init__:34) Detecting subclass for https://partner-bugzilla.redhat.com/xmlrpc.cgi [09:14:06] INFO (__init__:41) Using RHBugzilla for URL containing bugzilla.redhat.com [09:14:06] DEBUG (base:355) Using cookiefile=/home/lzachar/.bugzillacookies [09:14:06] INFO (__init__:113) Chose subclass RHBugzilla v0.1 Username: lzachar@redhat.com Password: Logging in... [09:14:17] INFO (base:466) login successful - dropping password from memory Authorization cookie received.
$ rpm -q python-bugzilla python-bugzilla-0.9.0-1.fc19.noarch
Are you sure you have typed correct password? Are you able to login with the same credentials in webui? The data on partner are usually old so if you have changed your password after the sync it was not reflected.
Cheers,
Thank you for the reply Lukas!
The bugzilla account I am trying to use, cfme-bot, was recently created. I can not logon to the webui using it either.
I tried to use the "Forgot Password" button on partner-bugzilla but because outgoing email is disabled I never get the "Click this link to reset your password" email.
So the question now becomes how does one get a bugzilla account info migrated to partner-bugzilla? Do you know or can you direct me to who I should contact?
Thank you again! Joe V.
On Tue, 2013-07-23 at 10:05 -0400, Joe VLcek wrote:
On Tue, 2013-07-23 at 03:22 -0400, Lukas Zachar wrote:
----- Original Message -----
From: "Joe VLcek" jvlcek@redhat.com To: python-bugzilla@lists.fedorahosted.org Sent: Monday, July 22, 2013 8:33:07 PM Subject: [python-bugzilla] Using --bugzilla=<something besides the default> fa
Question 2:
Should python-bugzilla support accessing https://partner-bugzilla.redhat.com/xmlrpc.cgi or am I misinterpreting the output of "bugzilla --help"?
Hi,
I am able to login to partner-bugzilla: $ bugzilla --bugzilla="https://partner-bugzilla.redhat.com/xmlrpc.cgi" --debug login [09:14:06] INFO (bugzilla:1015) Connecting to https://partner-bugzilla.redhat.com/xmlrpc.cgi [09:14:06] INFO (bugzilla:1018) Autodetecting Bugzilla type [09:14:06] INFO (__init__:98) Bugzilla v0.9.0 initializing [09:14:06] DEBUG (__init__:34) Detecting subclass for https://partner-bugzilla.redhat.com/xmlrpc.cgi [09:14:06] INFO (__init__:41) Using RHBugzilla for URL containing bugzilla.redhat.com [09:14:06] DEBUG (base:355) Using cookiefile=/home/lzachar/.bugzillacookies [09:14:06] INFO (__init__:113) Chose subclass RHBugzilla v0.1 Username: lzachar@redhat.com Password: Logging in... [09:14:17] INFO (base:466) login successful - dropping password from memory Authorization cookie received.
$ rpm -q python-bugzilla python-bugzilla-0.9.0-1.fc19.noarch
Are you sure you have typed correct password? Are you able to login with the same credentials in webui? The data on partner are usually old so if you have changed your password after the sync it was not reflected.
Cheers,
Thank you for the reply Lukas!
The bugzilla account I am trying to use, cfme-bot, was recently created. I can not logon to the webui using it either.
I tried to use the "Forgot Password" button on partner-bugzilla but because outgoing email is disabled I never get the "Click this link to reset your password" email.
So the question now becomes how does one get a bugzilla account info migrated to partner-bugzilla? Do you know or can you direct me to who I should contact?
Thank you again! Joe V.
FYI: I've filed this BZ to track this issue: https://bugzilla.redhat.com/show_bug.cgi?id=987502 Bug 987502 - New user account cfme-bot needed on partner-bugzilla
Joe V.
On 24/07/13 00:23, Joe VLcek wrote:
FYI: I've filed this BZ to track this issue: https://bugzilla.redhat.com/show_bug.cgi?id=987502 Bug 987502 - New user account cfme-bot needed on partner-bugzilla
I've just replied to the bug. Since it contains an internal only e-mail address, I cannot repeat what I said here.
Thank you Simon.
Joe
On Jul 23, 2013, at 6:44 PM, Simon Green wrote:
On 24/07/13 00:23, Joe VLcek wrote:
FYI: I've filed this BZ to track this issue: https://bugzilla.redhat.com/show_bug.cgi?id=987502 Bug 987502 - New user account cfme-bot needed on partner-bugzilla
I've just replied to the bug. Since it contains an internal only e-mail address, I cannot repeat what I said here.
-- Regards,
Simon Green Software Engineer Red Hat Asia Pacific Pty Ltd _______________________________________________ python-bugzilla mailing list python-bugzilla@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/python-bugzilla
python-bugzilla@lists.stg.fedorahosted.org