+++ This bug was initially created as a clone of Bug #619699 +++ Description of problem: During work on https://bugzilla.redhat.com/show_bug.cgi?id=579830 I find that if we send unicode string in xmlrpc, we will get from server rhnFault While running 'registration.add_hw_profile': caught exceptions.UnicodeEncodeError : 'ascii' codec can't encode character u'\xae' in position 44: ordinal not in range(128) This is becouse we do in backend/server/rhnSQL/driver_cx_Oracle.py def _execute_wrapper(self, function, *p, **kw): params = ','.join(["%s: %s" % (str(key), str(value)) for key, value \ and str on e.g. '\xae' will fail.
We should re-spin the backend errata to include fix for this.
cherrypicked to satellite.git as commit da0e561e38969c5223418a57f1ec0511668efa83
*** Bug 619706 has been marked as a duplicate of this bug. ***
Can you please retest it again. I assume this was happening due issue which was fixed by http://errata.devel.redhat.com/errata/show/9884 If you find that this bz is still valid, I would welcome if you can provide hostname of client where this issue eventually happen.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0740.html