Bug 674897 - can not delete organization using frontend API - ERROR: -20255 : (cannot_delete_user)
Summary: can not delete organization using frontend API - ERROR: -20255 : (cannot_dele...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: API
Version: 1.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space16
TreeView+ depends on / blocked
 
Reported: 2011-02-03 17:05 UTC by Jan Hutař
Modified: 2011-08-08 08:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-08 08:04:12 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2011-02-03 17:05:56 UTC
Description of problem:
I can not delete organization using frontend API. My API script fails.


Version-Release number of selected component (if applicable):
SW 1.3 pre release


How reproducible:
always


Steps to Reproduce:
1. Create ORG using API
2. Try to remove that ORG using API


Actual results:
raceback (most recent call last):
  File "./manage-org.py", line 105, in <module>
    ret = client.org.delete(key, int(ORG))
  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 1570, 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/lib64/python2.7/xmlrpclib.py", line 1297, in single_request
    return self.parse_response(response)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1468, in parse_response
    return u.close()
  File "/usr/lib64/python2.7/xmlrpclib.py", line 793, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault -1: 'redstone.xmlrpc.XmlRpcFault: unhandled internal exception: ERROR: -20255 : (cannot_delete_user) - The specified user may not be deleted.'>


Expected results:
should work

Comment 3 Miroslav Suchý 2011-04-11 07:32:24 UTC
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.

Comment 4 Miroslav Suchý 2011-04-11 07:36:45 UTC
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.

Comment 5 Jan Pazdziora 2011-07-20 11:50:15 UTC
Aligning under space16.

Comment 8 Tomas Lestach 2011-08-08 08:04:12 UTC
As Jan confirmed it works for him on Spacewalk nightly, closing the BZ as CURRENTRELEASE.


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