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

[dev.icinga.com #7379] failed en/disable feature should return error #2057

Closed
icinga-migration opened this issue Oct 14, 2014 · 3 comments
Closed
Labels
area/cli Command line helpers bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/7379

Created by Anonymous on 2014-10-14 15:59:17 +00:00

Assignee: mfriedrich
Status: Resolved (closed on 2014-10-14 17:45:03 +00:00)
Target Version: 2.2.0
Last Update: 2014-10-14 17:45:03 +00:00 (in Redmine)

Icinga Version: v2.1.1-48-g96eb254

Icinga2 prints informational that it is enabling a feature, after it has failed with a critical failure.

root@deb-i2:~# icinga2 feature enable livestatus
[2014-10-14 17:48:58 +0200] critical/cli: Cannot enable feature 'livestatus'. Linking source '/etc/icinga2/features-available/livestatus.conf' to target file '/etc/icinga2/features-enabled/livestatus.conf' failed with error code 13, "Permission denied".
[2014-10-14 17:48:58 +0200] information/cli: Enabling feature 'livestatus' in '/etc/icinga2/features-enabled'.

The expected behaviour is not the informational message that it is enabling it when it failed in doing it.

Changesets

2014-10-14 17:41:32 +00:00 by (unknown) 9df1b6b

CLI: Make sure that en/disable errors are marked as such

fixes #7379
@icinga-migration
Copy link
Author

Updated by gbeutner on 2014-10-14 16:01:19 +00:00

  • Assigned to set to mfriedrich
  • Target Version set to 2.2.0

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2014-10-14 17:42:54 +00:00

  • Subject changed from Icinga2 prints to failed en/disable feature should return error
  • Status changed from New to Assigned
  • Estimated Hours set to 0.5

@icinga-migration
Copy link
Author

Updated by Anonymous on 2014-10-14 17:45:03 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 9df1b6b.

@icinga-migration icinga-migration added bug Something isn't working area/cli Command line helpers labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.2.0 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Command line helpers bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant