Bug 741965

Summary: special characters in key results in error
Product: Red Hat Enterprise Linux 6 Reporter: Dave Johnson <dajohnso>
Component: matahariAssignee: Russell Bryant <rbryant>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2CC: astokes, matahari-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: matahari-0.4.4-7.el6 Doc Type: Bug Fix
Doc Text:
No description required.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 11:45:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dave Johnson 2011-09-28 15:49:06 UTC
Description of problem:
================================

When calling with a key containing special characters, the job runs successfully however there is an error writing the key file.  Looks like we need to check the key for special characters prior to running the job.  Same result whether using python or qmf-tool is used.

qmf: call 2 run_uri http://127.0.0.1/sysconfig-test 0 puppet "dj's $$$"
Output Parameters:
    Name    Value
    =================
    status  unknown


Sep 28 11:21:16 pe6950-01 matahari-Sysconfig[2405]: child_death_dispatch: wait3() failed: Operation now in progress (115)
Sep 28 11:21:18 pe6950-01 matahari-Sysconfig[2405]: set_key: Invalid key filename dj!s!!!!
Sep 28 11:21:18 pe6950-01 matahari-Sysconfig[2405]: action_cb: Unable to write to key file 'dj's $$$'

Version-Release number of selected component (if applicable):
================================================================
matahari-sysconfig-0.4.4-6

How reproducible:
================================
100%

Comment 5 Dave Johnson 2011-10-18 19:18:49 UTC
good 2 go in v0.4.4-8

Comment 6 Russell Bryant 2011-11-16 22:29:13 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No description required.

Comment 7 errata-xmlrpc 2011-12-06 11:45:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1569.html