Created attachment 1285466 [details] os-collect-config from failed deployment Description of problem: Deployment Error when deploying collectd agent with ceph plugin enabled: Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, nil is not an Array. It looks to be a NilClass at /etc/puppet/modules/collectd/manifests/plugin/ceph.pp:47:3 at /etc/puppet/modules/tripleo/manifests/profile/base/metrics/collectd/collectd_service.pp:8 on node hextupleo-controller-0.localdomain Version-Release number of selected component (if applicable): OSP11 How reproducible: Every time if ceph plugin on collectd enabled Steps to Reproduce: 1. prepare collectd-environment.yaml file to include ceph plugin 2. include collectd-environment.yaml in deployment script 3. deploy osp11 Actual results: OSP Deployment fails with error stated above Expected results: OSP Deployment completed with ceph plugin enabled Additional info: [stack@undercloud ~]$ cat templates/collectd-environment.yaml resource_registry: OS::TripleO::Services::Collectd: ./puppet/services/metrics/collectd.yaml parameter_defaults: CollectdServer: 10.9.65.147 CollectdExtraPlugins: - disk - df - cpu - interface - load - memory - ceph - processes - tcpconns - ethstat - netlink ExtraConfig: collectd::plugin::netlink::interfaces: ['eth0', 'eth1', 'eth2', 'eth3', 'eth4', 'eth5', 'eth6'] Deployment finishes up successfully after removal of ceph plugin. Attached dump from os-collect-config
You are most probably missing 'collectd::plugin::ceph::deamons' parameter value in your ExtraConfig. I will try to reproduce this.
For more info please check https://github.com/voxpupuli/puppet-collectd/blob/master/manifests/plugin/ceph.pp#L8
So it's exactly as I thought. You have to pass also 'collectd::plugin::ceph::deamons' to successfully deploy collectd-ceph plugin.