Actions
Bug #7671
closedPropagate promises error when no nodes behind a relay
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
When there are no nodes behind a relay, it produces an error:
2015-12-21T16:34:22+0000 verbose: /default/propagatePromises/methods/'any'/default/rudder_common_report/methods/'report'/default/rudder_common_report_index/reports/'@@DistributePolicy@@result_error@@f5ac864b-b01b-465c-a2a0-b6c024916ac0-DP@@f5ac864b-b01b-465c-a2a0-b6c024916ac0-distributePolicy@@1@@Propagate promises@@None@@2015-12-21 16:34:20+00:00..f5ac864b-b01b-465c-a2a0-b6c024916ac0@.Cannot propagate policy files'[0]: Comment 'Reporting for DistributePolicy message Cannot propagate policy files for index '
Happens at least on 3.1 (with Centos 7)
Updated by Alexis Mousset almost 9 years ago
2015-12-21T16:34:21+0000 verbose: /default/propagatePromises/files/'/var/rudder/share/'[0]: .....................[.h.a.i.l.]................................. 2015-12-21T16:34:21+0000 verbose: /default/propagatePromises/files/'/var/rudder/share/'[0]: Strong authentication of server 'server.rudder.local' connection confirmed 2015-12-21T16:34:21+0000 verbose: /default/propagatePromises/files/'/var/rudder/share/'[0]: Public key identity of host '192.168.43.2' is: MD5=c0e16f5da15ba203e237f2ad58e5f1e3 2015-12-21T16:34:22+0000 verbose: /default/propagatePromises/files/'/var/rudder/share/'[0]: Server returned error: Unspecified server refusal (see verbose server output) 2015-12-21T16:34:22+0000 info: /default/propagatePromises/files/'/var/rudder/share/'[0]: Can't stat file '/var/rudder/share/f5ac864b-b01b-465c-a2a0-b6c024916ac0/share' on '192.168.43.2' in files.copy_from promise 2015-12-21T16:34:22+0000 verbose: /default/propagatePromises/files/'/var/rudder/share/'[0]: Defining promise result class 'could_not_propagate_promise'
Updated by Alexis Mousset almost 9 years ago
On the server:
2015-12-21T16:46:27+0000 verbose: 192.168.43.3> Requested file is a dead symbolic link (filename: /var/rudder/share/f5ac864b-b01b-465c-a2a0-b6c024916ac0/share) 2015-12-21T16:46:27+0000 info: 192.168.43.3> Couldn't stat (lstat: No such file or directory) filename: /var/rudder/share/f5ac864b-b01b-465c-a2a0-b6c024916ac0/share 2015-12-21T16:46:27+0000 info: 192.168.43.3> Access control in sync 2015-12-21T16:46:27+0000 verbose: 192.168.43.3> REFUSAL to (user=root,ip=192.168.43.3) of request: SYNCH 1450716387 STAT /var/rudder/share/f5ac864b-b01b-465c-a2a0-b6c024916ac0/share
And:
root@server:/home/vagrant# ls -ahl /var/rudder/share/f5ac864b-b01b-465c-a2a0-b6c024916ac0 total 0 drwxrwx---. 3 root root 18 Dec 21 16:25 . drwxrwx---. 3 root root 49 Dec 21 16:25 .. drwxrwx---. 3 root root 31 Dec 21 16:25 rules
Updated by Alexis Mousset almost 9 years ago
- Subject changed from Propagate promises error on relay fresh install to Propagate promises error when no nodes behind a relay
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 3.1.6 to 3.1.7
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.1.7 to 3.1.8
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.1.8 to 3.1.9
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.1.9 to 3.1.10
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.1.10 to 3.1.11
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.1.11 to 3.1.12
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.1.12 to 3.1.13
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.13 to 3.1.14
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.14 to 3.1.15
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.15 to 3.1.16
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.16 to 3.1.17
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 3.1.17 to 3.1.18
Updated by Alexis Mousset almost 8 years ago
- Related to Bug #9881: Error in relay promises when there are no shared files added
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 3.1.18 to 3.1.19
Updated by Nicolas CHARLES over 7 years ago
If there are no promises to propagate (no files there), no class is defined.
We assume in this case that if update was ok, then this is ok as well
Ok transfert class condition is
(rudder_ncf_hash_update_ok|(rudder_ncf_hash_update_repaired.rudder_ncf_common_updated_ok.rudder_ncf_local_updated_ok)).(rudder_promises_generated_ok|(rudder_promises_generated_repaired.config_ok)).!(rudder_promises_generated_repaired|rudder_promises_generated_error|rudder_t ools_updated_error|rudder_tools_updated|rudder_tools_update_error|rudder_ncf_common_updated|rudder_ncf_common_update_error|rudder_ncf_local_updated|rudder_ncf_local_update_error|config|no_update|rudder_ncf_hash_update_error|rudder_ncf_has h_update_repaired)
Updated by Nicolas CHARLES over 7 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES over 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/1119
Updated by Nicolas CHARLES over 7 years ago
actually, condition is
root_server|((rudder_ncf_hash_update_ok|(rudder_ncf_hash_update_repaired.rudder_ncf_common_updated_ok.rudder_ncf_local_updated_ok)).(rudder_promises_generated_ok|(rudder_promises_generated_repaired.config_ok)).!(rudder_promises_generated_error|rudder_tools_updated_error|rudder_tools_update_error|rudder_ncf_common_update_error|rudder_ncf_local_update_error|no_update|rudder_ncf_hash_update_error))
Updated by Nicolas CHARLES over 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-techniques|d25f5a7c38be77f210a06bb9ea542360491eb0f7.
Updated by Vincent MEMBRÉ over 7 years ago
- Status changed from Pending release to Released
- Priority set to 0
Actions