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 #11204] "node setup" tries to chown() files before they're created #3957

Closed
icinga-migration opened this issue Feb 23, 2016 · 2 comments
Labels
Milestone

Comments

@icinga-migration
Copy link
Member

@icinga-migration icinga-migration commented Feb 23, 2016

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

Created by gbeutner on 2016-02-23 07:41:29 +00:00

Assignee: gbeutner
Status: Resolved (closed on 2016-02-23 07:45:03 +00:00)
Target Version: 2.4.2
Last Update: 2016-02-23 09:58:51 +00:00 (in Redmine)

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

acheron:i2 gunnar$ sudo icinga2 node setup --ticket xx --endpoint mon.shroudbox.net --zone acheron.beutner.name --master_host mon.shroudbox.net --trustedcert /tmp/master.crt --cn acheron.beutner.name
Password:
information/cli: Verifying ticket 'xx'.
information/cli: Verifying master host connection information: host 'mon.shroudbox.net', port '5665'.
information/cli: Verifying trusted certificate from file '0x7febfac20ee0'.
information/cli: Using the following CN (defaults to FQDN): 'acheron.beutner.name'.
information/cli: Created backup file '/Users/gunnar/i2/etc/icinga2/pki/acheron.beutner.name.key.orig'.
information/cli: Created backup file '/Users/gunnar/i2/etc/icinga2/pki/acheron.beutner.name.crt.orig'.
information/base: Writing private key to '/Users/gunnar/i2/etc/icinga2/pki/acheron.beutner.name.key'.
information/base: Writing X509 certificate to '/Users/gunnar/i2/etc/icinga2/pki/acheron.beutner.name.crt'.
critical/cli: chown() failed with error code 2, "No such file or directory"
warning/cli: Cannot set ownership for user 'gunnar' group 'staff' on file '/Users/gunnar/i2/etc/icinga2/pki/ca.crt'. Verify it yourself!
information/cli: Requesting a signed certificate from the master.
information/cli: Writing signed certificate to file '/Users/gunnar/i2/etc/icinga2/pki/acheron.beutner.name.crt'.
information/cli: Writing CA certificate to file '/Users/gunnar/i2/etc/icinga2/pki/ca.crt'.
information/cli: Disabling the Notification feature.
Disabling feature notification. Make sure to restart Icinga 2 for these changes to take effect.
information/cli: Updating the ApiListener feature.
warning/cli: Feature 'api' already enabled.
warning/cli: Backup file '/Users/gunnar/i2/etc/icinga2/features-available/api.conf.orig' already exists. Skipping backup.
information/cli: Generating zone and object configuration.
information/cli: Dumping config items to file '/Users/gunnar/i2/etc/icinga2/zones.conf'.
warning/cli: Backup file '/Users/gunnar/i2/etc/icinga2/zones.conf.orig' already exists. Skipping backup.
warning/cli: CN 'acheron.beutner.name' does not match the default FQDN 'acheron'. Requires update for NodeName constant in constants.conf!
information/cli: Updating constants.conf.
warning/cli: Backup file '/Users/gunnar/i2/etc/icinga2/constants.conf.orig' already exists. Skipping backup.
information/cli: Updating constants file '/Users/gunnar/i2/etc/icinga2/constants.conf'.
information/cli: Updating constants file '/Users/gunnar/i2/etc/icinga2/constants.conf'.
information/cli: Make sure to restart Icinga 2.
acheron:i2 gunnar$

Changesets

2016-02-23 07:42:05 +00:00 by (unknown) 74d1d68

Fix: "node setup" tries to chown() files before they're created

fixes #11204

2016-02-23 08:52:36 +00:00 by (unknown) 7f77402

Fix: "node setup" tries to chown() files before they're created

fixes #11204
@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Feb 23, 2016

Updated by Anonymous on 2016-02-23 07:45:04 +00:00

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

Applied in changeset 74d1d68.

@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Feb 23, 2016

Updated by gbeutner on 2016-02-23 09:58:51 +00:00

  • Backport? changed from Not yet backported to Already backported
@icinga-migration icinga-migration added this to the 2.4.2 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.