Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

malformed config files installed by rpm #56

Closed
2autunni opened this issue Jan 9, 2018 · 1 comment
Closed

malformed config files installed by rpm #56

2autunni opened this issue Jan 9, 2018 · 1 comment
Labels

Comments

@2autunni
Copy link

2autunni commented Jan 9, 2018

The RPMs of moira-filter, moira-checker and moira-notifier install malformed config files; in each there is at row 6:

graphite:
  enabled: ""

instead of

graphite:
  enabled: true

so starting services fails with errors like these:

gen 09 09:21:19 moira-filter[2044]: Can not read settings: Can't parse config file [/etc/moira/filter.yml] [yaml: unmarshal errors:
gen 09 09:21:19 moira-filter[2044]: line 6: cannot unmarshal !!str `` into bool]

/etc/moira/notifier.yml has one more problem:

  moira_selfstate:
    enabled: "false"

instead of

  moira_selfstate:
    enabled: false

so strarting the service returns this error

gen 09 10:34:57 moira-notifier[4574]: line 18: cannot unmarshal !!str false into bool]

@melnikk melnikk added the bug label Jan 10, 2018
@melnikk
Copy link
Contributor

melnikk commented Jan 10, 2018

RPM will fixed with next feature tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants