Bug 1868969

Summary: receptor service fails on passwords containing percent characters
Product: Red Hat Satellite Reporter: Jessica Hanley <jhanley>
Component: RH Cloud - Cloud ConnectorAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.7.0CC: aruzicka
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-17 07:23:58 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:

Description Jessica Hanley 2020-08-14 17:40:48 UTC
Description of problem:

When passwords containing the percent sign character are included in file "/etc/receptor/rh_656223/receptor.conf", the cloud receptor service fails to run.  This prevents Insights from implementing remediations through Satellite.


Version-Release number of selected component (if applicable):

Satellite 6.7


How reproducible:

always


Steps to Reproduce:
1.  install the cloud connector using our documentation here:  https://access.redhat.com/documentation/en-us/red_hat_insights/2020-04/html-single/remediating_issues_across_your_red_hat_satellite_infrastructure_using_red_hat_insights/index#configuring-cloud-connector-on-satellite-server_remediating-satellite
2.  If the password in file "/etc/receptor/rh_656223/receptor.conf" contains a percent sign character, attempting to start the receptor service will result in a status of "failed".

Actual results:

Failure message in the output of "systemctl status receptor@rh_656223" (where "MYPASSWORD" is the customer's password):

'%' must be followed by '%' or '(', found: MYPASSWORD


Expected results:

The service should run successfully.


Additional info:

Resetting the password (and updating the file) to remove the percent signs, then restarting the receptor service, allows the receptor service to run.

Comment 1 Adam Ruzicka 2020-08-17 07:23:58 UTC
This is essentially BZ1868971 described in slightly different words. Anyway, fixing one will fix the other, marking as duplicate.

*** This bug has been marked as a duplicate of bug 1868971 ***