Bug 823032

Summary: configchannel.createOrUpdatePath fails to update file/dir, configchannel.createOrUpdateSymlink fails to update symlink
Product: [Community] Spacewalk Reporter: Jan Hutař <jhutar>
Component: APIAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.8CC: jpazdziora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-01 16:18:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 871344    

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