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 #10720] Remove --master_zone from --help because it is currently not implemented #3710

Closed
icinga-migration opened this issue Nov 24, 2015 · 6 comments

Comments

Projects
None yet
1 participant
@icinga-migration
Copy link
Member

commented Nov 24, 2015

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

Created by Trefex on 2015-11-24 17:40:00 +00:00

Assignee: gbeutner
Status: Resolved (closed on 2015-11-25 18:01:00 +00:00)
Target Version: 2.4.1
Last Update: 2015-11-26 08:56:11 +00:00 (in Redmine)

Icinga Version: 2.4.0
Backport?: Already backported
Include in Changelog: 1

Hi,

I enroll a client with the following command

icinga2 node setup --ticket --endpoint lcsb-monitoring-server.uni.lu,lcsb-monitoring-server.uni.lu,5665 --zone test-debian.uni.lu --master_host lcsb-monitoring-server.uni.lu --master_zone master --listen test-debian.uni.lu,5665 --trustedcert /etc/icinga2/pki/trusted-master.crt --cn test-debian.uni.lu

Yet on the master, when I do update-config it puts

Adding zone 'test-debian.uni.lu'
    endpoints = [ "test-debian.uni.lu" ]
    parent = "lcsb-monitoring-server.uni.lu"

which is wrong, since in /etc/icinga2/zones.conf my master is in fact called master. This config then results in a startup error, since that parent zone does not exist.

What should I do to make this work?

Is this a bug?

Thank you for your help,

--
Christophe

Changesets

2015-11-25 18:00:07 +00:00 by (unknown) 4169bf0

Hide the --master_zone option in --help because it's not currently implemented

fixes #10720

2015-11-25 18:00:25 +00:00 by (unknown) bf97d7c

Hide the --master_zone option in --help because it's not currently implemented

fixes #10720

Relations:

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Nov 25, 2015

Updated by gbeutner on 2015-11-25 16:44:02 +00:00

  • Tracker changed from Support to Bug
  • Category changed from Configuration to CLI
  • Status changed from New to Rejected
  • Icinga Version set to 2

Yeah, that's a bug. See #10716 for details.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Nov 25, 2015

Updated by gbeutner on 2015-11-25 16:44:11 +00:00

  • Duplicates set to 10716
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Nov 25, 2015

Updated by gbeutner on 2015-11-25 17:58:42 +00:00

  • Status changed from Rejected to Assigned
  • Assigned to set to gbeutner
  • Target Version set to 2.5.0

Well, I guess this isn't an exact duplicate after all.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Nov 25, 2015

Updated by gbeutner on 2015-11-25 18:00:52 +00:00

  • Target Version changed from 2.5.0 to 2.4.1
  • Backport? changed from __ to Yes
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Nov 25, 2015

Updated by Anonymous on 2015-11-25 18:01:00 +00:00

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

Applied in changeset 4169bf0.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Nov 26, 2015

Updated by mfriedrich on 2015-11-26 08:56:11 +00:00

  • Subject changed from icinga2 node setup ignore master_zone argument? to Remove --master_zone from --help because it is currently not implemented

@icinga-migration icinga-migration added this to the 2.4.1 milestone Jan 17, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.