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 #9782] icinga2 node wizard don't take zone_name input #3200

Closed
icinga-migration opened this issue Jul 30, 2015 · 4 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/9782

Created by arcade on 2015-07-30 07:39:26 +00:00

Assignee: mfriedrich
Status: Resolved (closed on 2015-08-03 14:25:03 +00:00)
Target Version: 2.3.9
Last Update: 2015-08-24 09:20:12 +00:00 (in Redmine)

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

If you run the wizard and change the requested default zone, after the wizard finished, this change don't take effect.

[root@sonde icinga2]# icinga2 node wizard
Welcome to the Icinga 2 Setup Wizard!

We'll guide you through all required configuration details.

Please specify if this is a satellite setup ('n' installs a master setup) [Y/n]: Y
Starting the Node setup routine...
Please specifiy the common name (CN) [sonde.herzog.local]: 
Please specifiy the local zone name [sonde.herzog.local]: *sonde.herzog*
Please specify the master endpoint(s) this node should connect to:
Master Common Name (CN from your master setup): icinga2.master
Do you want to establish a connection to the master from this node? [Y/n]: Y
Please fill out the master connection information:
Master endpoint host (Your master's IP address or FQDN): 1.1.1.1
Master endpoint port [5665]: 
Add more master endpoints? [y/N]: N
Please specify the master connection for CSR auto-signing (defaults to master endpoint host):
Host [1.1.1.1]: 
Port [5665]: 
information/base: Writing private key to '/etc/icinga2/pki/sonde.herzog.local.key'.
information/base: Writing X509 certificate to '/etc/icinga2/pki/sonde.herzog.local.crt'.
information/cli: Generating self-signed certifiate:
information/cli: Fetching public certificate from master (1.1.1.1 5665):

information/cli: Created backup file '/etc/icinga2/pki/trusted-master.crt.orig'.
information/cli: Writing trusted certificate to file '/etc/icinga2/pki/trusted-master.crt'.
information/cli: Stored trusted master certificate in '/etc/icinga2/pki/trusted-master.crt'.

Please specify the request ticket generated on your Icinga 2 master.
 (Hint: # icinga2 pki ticket --cn 'sonde.herzog.local'): adf5604751d7141c1eb065cf85ee673345be8ce4
information/cli: Processing self-signed certificate request. Ticket 'adf5604751d7141c1eb065cf85ee673345be8ce4'.

information/cli: Created backup file '/etc/icinga2/pki/ca.crt.orig'.
information/cli: Created backup file '/etc/icinga2/pki/sonde.herzog.local.crt.orig'.
information/cli: Writing signed certificate to file '/etc/icinga2/pki/sonde.herzog.local.crt'.
information/cli: Writing CA certificate to file '/etc/icinga2/pki/ca.crt'.
Please specify the API bind host/port (optional):
Bind Host []: 
Bind Port []: 
Accept config from master? [y/N]: y
Accept commands from master? [y/N]: N
information/cli: Disabling the Notification feature.
critical/cli: Cannot disable feature 'notification'. Target file '/etc/icinga2/features-enabled/notification.conf' does not exist.
critical/cli: Cannot disable feature(s): notification
information/cli: Enabling the Apilistener feature.
warning/cli: Feature 'api' already enabled.
warning/cli: Backup file '/etc/icinga2/features-available/api.conf.orig' already exists. Skipping backup.
information/cli: Generating local zones.conf.
information/cli: Dumping config items to file '/etc/icinga2/zones.conf'.
information/cli: Created backup file '/etc/icinga2/zones.conf.orig'.
information/cli: Updating constants.conf.
information/cli: Created backup file '/etc/icinga2/constants.conf.orig'.
information/cli: Updating constants file '/etc/icinga2/constants.conf'.
information/cli: Updating constants file '/etc/icinga2/constants.conf'.
Done.

Now restart your Icinga 2 daemon to finish the installation!


object Endpoint "sonde.herzog.local" {
}

*object Zone "sonde.herzog.local"* {
        //this is the local node = "sonde.herzog.local"
        endpoints = [ "sonde.herzog.local" ]
        parent = "master"
}

Changesets

2015-08-03 14:23:59 +00:00 by (unknown) fc1049f

Fix node wizard ignoring local zone name

fixes #9782

2015-08-24 09:19:51 +00:00 by mfriedrich 3b63788

Fix node wizard ignoring local zone name

fixes #9782
@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-07-30 08:41:25 +00:00

  • Category set to CLI
  • Status changed from New to Assigned
  • Assigned to set to jflach

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-08-03 14:24:32 +00:00

  • Assigned to changed from jflach to mfriedrich
  • Target Version set to 2.4.0
  • Estimated Hours set to 0.1

NodeUtility::GenerateNodeIcingaConfig() doesn't take the passed parameter into account.

@icinga-migration
Copy link
Author

Updated by Anonymous on 2015-08-03 14:25:03 +00:00

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

Applied in changeset fc1049f.

@icinga-migration
Copy link
Author

Updated by gbeutner on 2015-08-24 09:20:12 +00:00

  • Target Version changed from 2.4.0 to 2.3.9
  • Backport? changed from TBD to Yes

@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.3.9 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