Hide Forgot
Description of problem: The pulp configuration files need better validation and error reporting. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. On the client: change the name of a property or section in either consumer.conf or admin.conf 2. Observe errors in the log. 3. Actual results: Very cryptic error or non-deterministic behaviour. Expected results: Meaningful error. Additional info:
build: 0.254.
verified [root@preethi ~]# rpm -q pulp pulp-0.0.254-7.fc15.noarch 2011-12-15 10:16:39,479 [ERROR][Actions] __call__() @ action.py:129 - Required section [client], not found in: /etc/pulp/consumer/consumer.conf Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/gofer/agent/action.py", line 127, in __call__ self.target() File "/usr/lib64/gofer/plugins/pulpplugin.py", line 93, in heartbeat return self.send() File "/usr/lib64/gofer/plugins/pulpplugin.py", line 99, in send bundle = ConsumerBundle() File "/usr/lib/python2.7/site-packages/pulp/client/consumer/credentials.py", line 53, in __init__ Bundle.__init__(self, self.path()) File "/usr/lib/python2.7/site-packages/pulp/client/consumer/credentials.py", line 46, in path cfg = ConsumerConfig() File "/usr/lib/python2.7/site-packages/pulp/client/lib/config.py", line 126, in __init__ self.validate() File "/usr/lib/python2.7/site-packages/pulp/client/consumer/config.py", line 103, in validate raise e SectionNotFound: Required section [client], not found in: /etc/pulp/consumer/consumer.conf
Pulp v1.0 is released Closed Current Release.
Pulp v1.0 is released.