Bug 1130190 - [abrt] koji: __init__.py:1917:_callMethod:ActionNotAllowed: policy violation (package_list)
Summary: [abrt] koji: __init__.py:1917:_callMethod:ActionNotAllowed: policy violation ...
Alias: None
Product: Fedora
Classification: Fedora
Component: koji
Version: rawhide
Hardware: x86_64
OS: Unspecified
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a75d8a5d208dad47edbf6d76caa...
Depends On:
TreeView+ depends on / blocked
Reported: 2014-08-14 14:02 UTC by Stefan Ringel
Modified: 2014-08-14 14:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-08-14 14:26:08 UTC

Attachments (Terms of Use)
File: backtrace (1.73 KB, text/plain)
2014-08-14 14:02 UTC, Stefan Ringel
no flags Details
File: environ (2.57 KB, text/plain)
2014-08-14 14:02 UTC, Stefan Ringel
no flags Details

Description Stefan Ringel 2014-08-14 14:02:25 UTC
Version-Release number of selected component:

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/bin/koji -d add-pkg --owner=stefanringel rawhide gstreamer1-rtsp-server
executable:     /usr/bin/koji
kernel:         3.16.0-1.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
__init__.py:1917:_callMethod:ActionNotAllowed: policy violation (package_list)

Traceback (most recent call last):
  File "/usr/bin/koji", line 6245, in <module>
    rv = locals()[command].__call__(options, session, args)
  File "/usr/bin/koji", line 791, in handle_add_pkg
  File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1555, in __call__
    return self.__func(self.__name,args,opts)
  File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1917, in _callMethod
    raise err
ActionNotAllowed: policy violation (package_list)

Local variables in innermost frame:
args: ('rawhide', 'gstreamer1-rtsp-server', 'stefanringel')
name: 'packageListAdd'
err: ActionNotAllowed('policy violation (package_list)',)
fault: <Fault 1004: 'policy violation (package_list)'>
self: <koji.ClientSession object at 0x7f26759c6610>
interval: 20
request: "<?xml version='1.0'?>\n<methodCall>\n<methodName>packageListAdd</methodName>\n<params>\n<param>\n<value><string>rawhide</string></value>\n</param>\n<param>\n<value><string>gstreamer1-rtsp-server</string></value>\n</param>\n<param>\n<value><string>stefanringel</string></value>\n</param>\n<param>\n<value><struct>\n<member>\n<name>__starstar</name>\n<value><boolean>1</boolean></value>\n</member>\n<member>\n<name>force</name>\n<value><nil/></value></member>\n<member>\n<name>block</name>\n<value><boolean>0</boolean></value>\n</member>\n</struct></value>\n</param>\n</params>\n</methodCall>\n"
tries: 1
headers: [('User-Agent', 'koji/1.7'), ('Content-Type', 'text/xml'), ('Content-Length', 562)]
max_retries: 30
handler: '/kojihub?session-id=12524853&session-key=3016-rdPrVC0Cm7j2y9kglXf&callnum=3'
kwargs: {'force': None, 'block': False}
debug: True

Comment 1 Stefan Ringel 2014-08-14 14:02:28 UTC
Created attachment 926814 [details]
File: backtrace

Comment 2 Stefan Ringel 2014-08-14 14:02:29 UTC
Created attachment 926815 [details]
File: environ

Comment 3 Dennis Gilmore 2014-08-14 14:26:08 UTC
Only koji admins can add packages. If this is you're own koji talk to an admin to get permissions. If its fedora koji you need to submit a package review.

Note You need to log in before you can comment on or make changes to this bug.