Project

General

Profile

Feature #8966

Rebuild a node should trigger a client deletion on chef-server

Added by Romain Vrignaud almost 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman_chef
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

When we ask to rebuild a node, it should be very usefull to delete client (not the node) on chef-server.
We assume that build process provide a validation.pem to create a new client.


Related issues

Related to Chef - Bug #15514: Chef client delete on host rebuildDuplicate2016-06-23
Related to Chef - Bug #16641: After build hook deletes both node and clientClosed2016-09-21

Associated revisions

Revision 2564ed82 (diff)
Added by Marek Hulán over 4 years ago

Fixes #8966, #14547 - manage clients on chef-server

When host is rebuilt a client is deleted on chef-server so new private
key can be generated using validation.pem

Selected chef environment is set for a client via provisioning template.

Optional Foreman can create client for host directly so no
validation.pem is used. A bootstrap method is set via new setting called
validation_bootstrap_method.

Revision 30f45394
Added by Marek Hulán over 4 years ago

Merge pull request #45 from ares/fix/14547_8966

Fixes #8966, #14547 - manage clients on chef-server

History

#1 Updated by Romain Vrignaud almost 6 years ago

  • Category set to foreman_chef

#2 Updated by Marek Hulán over 4 years ago

  • Status changed from New to Assigned
  • Assignee set to Marek Hulán
  • Legacy Backlogs Release (now unused) set to 148

#3 Updated by Marek Hulán over 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_chef/pull/45 added

#4 Updated by Marek Hulán over 4 years ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Marek Hulán over 4 years ago

  • Related to Bug #15514: Chef client delete on host rebuild added

#6 Updated by Marek Hulán about 4 years ago

  • Related to Bug #16641: After build hook deletes both node and client added

Also available in: Atom PDF