bartjanssens92 / vagrant-graphite-cluster

A vagrant environment to illustrate the clustering of graphite
0 stars 1 forks source link

Dependency cyle when using graphite::carbon::storage #2

Open bartjanssens92 opened 8 years ago

bartjanssens92 commented 8 years ago
==> graphite-cache01: Notice: Compiled catalog for graphite-cache01 in environment dev in 3.25 seconds
==> graphite-cache01: Error: Could not apply complete catalog: Found 1 dependency cycle:
==> graphite-cache01: (Concat_file[/etc/carbon/storage-schemas.conf] => Concat[/etc/carbon/storage-schemas.conf] => Class[Graphite::Carbon::Config] => Class[Graphite::Carbon] => Graphite::Carbon::Storage[default_1min_for_1day] => Concat::Fragment[default_1min_for_1day] => Concat_fragment[default_1min_for_1day] => Concat_file[/etc/carbon/storage-schemas.conf])
==> graphite-cache01: Try the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz

Manifest for graphite-cache01:

node 'graphite-cache01' {
  include ::roles::graphite_cache

  graphite::carbon::storage {"default_1min_for_1day":
    pattern    => ".*",
    retentions => "60s:1d",
  }
}
bartjanssens92 commented 8 years ago

Added new branch to reproduce the issue: https://github.com/bartjanssens92/vagrant-graphite-cluster/tree/issue02