You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resource is ignored. A warning log entry is emit
ACTUAL RESULTS
[root@node4 /]# gridinit_cmd status TESTCDE-conscienceagent-0
KEY STATUS PID GROUP
TESTCDE-conscienceagent-0 BROKEN -1 TESTCDE,conscienceagent,0
[root@node4 /]# /usr/bin/oio-conscience-agent /etc/oio/sds/TESTCDE/conscienceagent-0/conscienceagent-0.yml
Traceback (most recent call last):
File "/usr/bin/oio-conscience-agent", line 28, in <module>
run_daemon(ConscienceAgent, config, **options)
File "/usr/lib/python2.7/site-packages/oio/common/daemon.py", line 77, in run_daemon
klass(conf).start(**kwargs)
File "/usr/lib/python2.7/site-packages/oio/conscience/agent.py", line 205, in __init__
self.load_services()
File "/usr/lib/python2.7/site-packages/oio/conscience/agent.py", line 264, in load_services
self.conf['services'][name] = parse_config(cfgfile)
File "/usr/lib/python2.7/site-packages/oio/common/utils.py", line 297, in parse_config
conf = yaml.load(f)
File "/usr/lib64/python2.7/site-packages/yaml/__init__.py", line 71, in load
return loader.get_single_data()
File "/usr/lib64/python2.7/site-packages/yaml/constructor.py", line 37, in get_single_data
node = self.get_single_node()
File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 36, in get_single_node
document = self.compose_document()
File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 55, in compose_document
node = self.compose_node(None, None)
File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 133, in compose_mapping_node
item_value = self.compose_node(node, item_key)
File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 82, in compose_node
node = self.compose_sequence_node(anchor)
File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 111, in compose_sequence_node
node.value.append(self.compose_node(node, index))
File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
File "/usr/lib64/python2.7/site-packages/yaml/parser.py", line 98, in check_event
self.current_event = self.state()
File "/usr/lib64/python2.7/site-packages/yaml/parser.py", line 550, in parse_flow_mapping_key
"expected ',' or '}', but got %r" % token.id, token.start_mark)
yaml.parser.ParserError: while parsing a flow mapping
in "/etc/oio/sds/TESTCDE/watch/rawx-0.yml", line 10, column 5
expected ',' or '}', but got '{'
in "/etc/oio/sds/TESTCDE/watch/rawx-0.yml", line 11, column 5
The text was updated successfully, but these errors were encountered:
ISSUE TYPE
COMPONENT NAME
conscience-agent
SDS VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
When a watch-file is miss formatted, the conscience agent crash instead of ignoring the resource and log a warning
STEPS TO REPRODUCE
Delete a curly bracket in the first 'stat' list
EXPECTED RESULTS
The resource is ignored. A warning log entry is emit
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: