bifrost: inventory: Downgrade log level to 'debug' for csv parsing
Falling back to csv parsing is an intended behavior so downgrade the log level to 'debug'. This also prevents the inventory script to print the fallback message to stderr which can cause ansible-playbook to fail to parse the rest of the output. Change-Id: Ie79b70c9560ca627bc681948c9db3323ae9f447e
This commit is contained in:
parent
cb373c8598
commit
21f2731126
@ -378,7 +378,7 @@ def main():
|
||||
groups,
|
||||
hostvars)
|
||||
except Exception as e:
|
||||
LOG.error("File does not appear to be JSON or YAML - %s" % e)
|
||||
LOG.debug("File does not appear to be JSON or YAML - %s" % e)
|
||||
try:
|
||||
(groups, hostvars) = _process_baremetal_csv(
|
||||
data_source,
|
||||
|
Loading…
Reference in New Issue
Block a user