puppet 仪表板:导入报告时格式不匹配

puppet 仪表板:导入报告时格式不匹配

全新的 puppet-dashboard 2.0.0-beta1 无法导入任何报告:delayed_job 工作人员抱怨:

Importing report at 2015-10-01 04:55 UTC
  Attribute was supposed to be a Array, but was a ActiveSupport::HashWithIndifferentAccess
  Backtrace
    app/models/report.rb:134:in `create_from_yaml'

puppet 客户端版本为:4.2.2

它看起来格式不匹配,但我发现的唯一“格式”指令是:

preferred_serialization_format = pson

仪表板日志非常简单:

2015-10-01T08:09:16+0200: [Worker(delayed_job.1 host:puppet pid:19415)] Class#create_from_yaml completed after 0.0752
2015-10-01T08:09:16+0200: [Worker(delayed_job.1 host:puppet pid:19415)] 1 jobs processed at 11.1567 j/s, 0 failed ...

我错过了什么?

答案1

截至 2015 年 10 月,为了让 puppet-dashboard 接受 puppet4 格式的报告,您必须获取拉取请求 #329。

这解决了我的问题。

相关内容