Bug 1130019
Summary: | pulp agent goferd ignores /etc/pulp/consumer/conf.d/*.conf files, broken config-parsing | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Moritz Rogalli <moritz.rogalli> |
Component: | async/tasks | Assignee: | pulp-bugs |
Status: | CLOSED NEXTRELEASE | QA Contact: | pulp-qe-list |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.4.0 | CC: | jortel |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-14 14:56:59 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
Moritz Rogalli
2014-08-14 07:56:27 UTC
Thanks for the report. Although, INI is an informal specification, it seems that only lines beginning with (;|#) are to be treated as comments. In the case of the pulp agent (which is a plugin running within goferd) uses a pulp function to read the consumer.conf. This function in pulp.common.config uses iniparse to parse the configuration file. If you still believe that comments at the end of lines should be ignored, I would be more appropriate to file a bug against iniparse. http://en.wikipedia.org/wiki/INI_file As for ignoring the overrides in consumer/conf.d/* files -- This is also handled by the pulp function used to read consumer.conf and has already been fixed in 2.4.1. Which exact version of pulp are you running? Alright! Good to now, we use 2.4.0 as this is the latest stable version. We will just have to work around the bug until the 2.4.1 release then I guess. Thank you for your quick reply! |