insights-core icon indicating copy to clipboard operation
insights-core copied to clipboard

The `cloud_cfg` datasource converts the result to json, but it should be yaml.

Open crackcodecamp opened this issue 2 years ago • 0 comments

In https://github.com/RedHatInsights/insights-core/blob/master/insights/specs/datasources/cloud_init.py#L114 the result is converted into the json but when using this datasource in the rule, it failed with insights.parsers.ParseException: insights.parsers.cloud_cfg.CloudCfg couldn't parse json. and skip the condition.

crackcodecamp avatar Jul 22 '22 05:07 crackcodecamp