Bug 823032 - configchannel.createOrUpdatePath fails to update file/dir, configchannel.createOrUpdateSymlink fails to update symlink
Summary: configchannel.createOrUpdatePath fails to update file/dir, configchannel.crea...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: API
Version: 1.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space18
TreeView+ depends on / blocked
 
Reported: 2012-05-18 20:24 UTC by Jan Hutař
Modified: 2012-11-01 16:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-01 16:18:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2012-05-18 20:24:57 UTC
Description of problem:
configchannel.createOrUpdatePath fails to update file/dir, configchannel.createOrUpdateSymlink fails to update symlink. Tracebask says there is 500 Internal Server Error.


Version-Release number of selected component (if applicable):
SWnightly as of 2012-05-17
spacewalk-java-1.8.69-1.el6.noarch


How reproducible:
always


Steps to Reproduce:
1. Use API functions configchannel.createOrUpdatePath and configchannel.createOrUpdateSymlink to update file/directory or symlink in configuration channel


Actual results:
Traceback says:
  [...]
  File "our_script.py", line 249, in create_or_update_path
    self.client.configchannel.createOrUpdatePath(self.key, configChannelLabel, path, isDir, path_info)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/xmlrpclib.py", line 1243, in request
    headers
xmlrpclib.ProtocolError: <ProtocolError for hp-ml370g6-01.rhts.eng.bos.redhat.com/rpc/api: 500 Internal Server Error>


Expected results:
Should work


Additional info:
This started to fail with SWnightly from 2012-05-15

Comment 2 Jan Pazdziora 2012-05-19 18:00:35 UTC
What's the catalina.out traceback?

Comment 3 Tomas Lestach 2012-05-21 09:01:38 UTC
Jan, this was fixed on Friday within Bug 736661 (4d9a50).

Moving to MODIFIED.

Comment 5 Jan Pazdziora 2012-10-30 19:23:06 UTC
Moving ON_QA. Packages that address this bugzilla should now be available in yum repos at http://yum.spacewalkproject.org/nightly/

Comment 6 Jan Pazdziora 2012-11-01 16:18:11 UTC
Spacewalk 1.8 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes18


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