Bug 1155645

Summary: [abrt] fedora-packager: baseclient.py:356:send_request:AuthError: Auth was requested but no way to perform auth was given. Please set username and password or session_id before calling this function with auth=True
Product: [Fedora] Fedora Reporter: Jeremy Harris <jeharris>
Component: fedora-packagerAssignee: Dennis Gilmore <dennis>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dennis, rhbugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/a8766725c54539b4911e4f7e9e695a4334d64e81
Whiteboard: abrt_hash:23117c9d5018a310ac751a22fec78d40b193db43
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-29 23:00:47 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:
Attachments:
Description Flags
File: backtrace
none
File: dso_list
none
File: environ none

Description Jeremy Harris 2014-10-22 14:27:09 UTC
Description of problem:
First-ever run of "fedora-packager-setup".  Null FAS username and password (ie: just hit return).  Boom.

Version-Release number of selected component:
fedora-packager-0.5.10.3-1.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/bin/fedora-packager-setup
executable:     /usr/bin/fedora-packager-setup
kernel:         3.16.6-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
baseclient.py:356:send_request:AuthError: Auth was requested but no way to perform auth was given.  Please set username and password or session_id before calling this function with auth=True

Traceback (most recent call last):
  File "/usr/bin/fedora-packager-setup", line 120, in <module>
    main()
  File "/usr/bin/fedora-packager-setup", line 93, in main
    fedora_cert.create_user_cert()
  File "/usr/lib/python2.7/site-packages/fedora_cert/__init__.py", line 96, in create_user_cert
    cert = fas.user_gencert()
  File "/usr/lib/python2.7/site-packages/fedora/client/fas2.py", line 866, in user_gencert
    request = self.send_request('user/dogencert', auth=True)
  File "/usr/lib/python2.7/site-packages/fedora/client/baseclient.py", line 356, in send_request
    'Auth was requested but no way to'
AuthError: Auth was requested but no way to perform auth was given.  Please set username and password or session_id before calling this function with auth=True

Local variables in innermost frame:
file_params: None
retries: None
self: <fedora.client.fas2.AccountSystem object at 0x1738f50>
auth: True
timeout: None
kwargs: {}
auth_params: {'session_id': ''}
req_params: None
method: 'user/dogencert'

Comment 1 Jeremy Harris 2014-10-22 14:27:12 UTC
Created attachment 949414 [details]
File: backtrace

Comment 2 Jeremy Harris 2014-10-22 14:27:13 UTC
Created attachment 949415 [details]
File: dso_list

Comment 3 Jeremy Harris 2014-10-22 14:27:15 UTC
Created attachment 949416 [details]
File: environ

Comment 4 Fedora End Of Life 2015-05-29 13:08:38 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2015-06-29 23:00:47 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.