Bug #5154
closed
User story #6363: Secure agent/server communication
Node key not deleted after deleting a node in the web ui
Added by Lionel Le Folgoc over 10 years ago.
Updated almost 6 years ago.
Category:
Web - Nodes & inventories
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
Description
Hi,
After deleting a node in the rudder interface, the key is still present on the rudder server:
[root@rudderdv cfengine-community]# cf-key -s
Direction IP Name Last connection Key
Incoming 10.210.114.211 - Thu Jun 26 11:59:07 2014 MD5=eb7e3c67e39ef9a4261c70dc27d48c62
Total Entries: 1
We have to remove it manually with cf-key -r <node_ip>
Thanks.
- Status changed from New to Discussion
- Assignee set to Lionel Le Folgoc
Lionel,
You should not need to remove this key. Does it cause a problem ? If so, which problem ?
I don't remember what was the problem. Since it was a node with 2.9 agent, I guess it was again the skipidentify = false issue (like #5100). Feel free to reject the bug. Thanks.
True, it should not cause a problem, however, it does mean we make no effort to stop a node from connecting to the server. Even if we have removed it's promises by then (have we?) this would make it much harder to debug a "mis functioning" node that is actually deleted.
We should fix this.
- Category set to Web - Nodes & inventories
- Target version set to Ideas (not version specific)
- Assignee deleted (
Lionel Le Folgoc)
- Parent task set to #6363
- Related to Bug #4709: When a node is deleted, its generated promises are not removed added
- Related to deleted (Bug #4709: When a node is deleted, its generated promises are not removed)
- Related to Question #9719: Node deletes are not properly cleaned up added
- Severity set to Minor - inconvenience | misleading | easy workaround
- User visibility set to Operational - other Techniques | Technique editor | Rudder settings
- Priority set to 0
- Status changed from Discussion to New
- Priority changed from 0 to 14
- Priority changed from 14 to 27
- Priority changed from 27 to 28
- Assignee set to François ARMAND
- Target version changed from Ideas (not version specific) to 4.1.17
- Effort required set to Very Small
- Priority changed from 28 to 0
- Status changed from New to In progress
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder/pull/2080
- Status changed from Pending technical review to In progress
- Assignee changed from Benoît PECCATTE to François ARMAND
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request changed from https://github.com/Normation/rudder/pull/2080 to https://github.com/Normation/rudder/pull/2086
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Status changed from Pending technical review to Pending release
- Status changed from Pending release to Released
Also available in: Atom
PDF