Actions
Bug #9881
closedError in relay promises when there are no shared files
Status:
Released
Priority:
N/A
Assignee:
Category:
System techniques
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
E| error DistributePolicy Propagate promises Cannot propagate shared files error: Method 'propagatePromises' failed in some repairs
Updated by Alexis Mousset almost 8 years ago
We could:
- Consider failing those as normal (but that would hide some issues)
- Create empty shared-files folders in inputs
Updated by Alexis Mousset almost 8 years ago
rudder verbose: File '/var/rudder/shared-files/' copy_from '/var/rudder/shared-files/92c03a82-4390-4f42-921e-23ad16c1c033/shared-files'$ rudder verbose: FindIdle: found connection to 'server' already open and ready.$ rudder debug: SendTransaction header: t 96$ rudder debug: SendTransaction data: SYNCH 1483357736 STAT /var/rudder/shared-files/92c03a82-4390-4f42-921e-23ad16c1c033/shared-files$ rudder debug: ReceiveTransaction header: t 59....$ rudder debug: ReceiveTransaction data: BAD: Unspecified server refusal (see verbose server output)$ rudder verbose: Server returned error: Unspecified server refusal (see verbose server output)$ rudder info: Can't stat file '/var/rudder/shared-files/92c03a82-4390-4f42-921e-23ad16c1c033/shared-files' on '192.168.45.2' in files.copy_from promise$ rudder verbose: C: + promise outcome class 'could_not_propagate_shared_files'$ rudder debug: Setting class: default:could_not_propagate_shared_files$
Updated by Alexis Mousset almost 8 years ago
- Related to Bug #7671: Propagate promises error when no nodes behind a relay added
Updated by Alexis Mousset almost 8 years ago
Looks like no class is defined when the folder is empty:
rudder verbose: P: Comment: Fetching files shared between agents$ rudder verbose: File '/var/rudder/shared-files/' copy_from '/var/rudder/shared-files/92c03a82-4390-4f42-921e-23ad16c1c033/shared-files'$ rudder verbose: FindIdle: found connection to 'server' already open and ready.$ rudder debug: SendTransaction header: t 96$ rudder debug: SendTransaction data: SYNCH 1483358607 STAT /var/rudder/shared-files/92c03a82-4390-4f42-921e-23ad16c1c033/shared-files$ rudder debug: ReceiveTransaction header: t 70....$ rudder debug: ReceiveTransaction data: OK: 2 493 0 0 0 4096 1483358026 1483358016 1483358016 0 1128471 2 2049$ rudder debug: ReceiveTransaction header: t 3.....$ rudder debug: ReceiveTransaction data: OK:$ rudder debug: Trying to create a parent directory for: /var/rudder/shared-files/.$ rudder debug: Directory for '/var/rudder/shared-files/.' exists. Okay$ rudder verbose: Destination purging enabled$ rudder verbose: Entering directory '/var/rudder/shared-files/92c03a82-4390-4f42-921e-23ad16c1c033/shared-files'$ rudder debug: Trying to create a parent directory for: /var/rudder/shared-files/dummy$ rudder debug: Directory for '/var/rudder/shared-files/dummy' exists. Okay$ rudder debug: SendTransaction header: t 82$ rudder debug: SendTransaction data: OPENDIR /var/rudder/shared-files/92c03a82-4390-4f42-921e-23ad16c1c033/shared-files$ rudder debug: ReceiveTransaction header: t 34....$ rudder debug: ReceiveTransaction data: .....---cfXen/gine/cfXen/gine---..$ rudder verbose: Filename '/var/rudder/shared-files/92c03a82-4390-4f42-921e-23ad16c1c033/shared-files/.' is classified as ignorable, skipping$ rudder verbose: Filename '/var/rudder/shared-files/92c03a82-4390-4f42-921e-23ad16c1c033/shared-files/..' is classified as ignorable, skipping$ rudder verbose: Filename '/var/rudder/shared-files/.' is classified as ignorable, skipping$ rudder verbose: Filename '/var/rudder/shared-files/..' is classified as ignorable, skipping$ rudder debug: Searching for specific busy connection to: server$ rudder debug: Busy connection just became free$ rudder verbose: A: Promise was KEPT$ rudder verbose: P: END files promise (/var/rudder/shared-files)
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 4.1.0~beta1 to 4.1.0~beta2
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 4.1.0~beta2 to 4.1.0~beta3
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 4.1.0~beta3 to 4.1.0~rc1
Updated by Nicolas CHARLES over 7 years ago
If shared-files couldn't be copied, but promises could, then we assume it is ok
Class condition used is
(rudder_promises_generated_tmp_file_kept|(rudder_promises_generated_tmp_file_repaired.config_ok)).!(rudder_promises_generated_tmp_file_error|rudder_tools_updated_error|rudder_tools_updated|rudder_tools_update_error|r udder_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_hash_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/1121
Updated by Nicolas CHARLES over 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-techniques|73cdc136e9ad47fa105618820ad5bc30ce866c79.
Updated by Vincent MEMBRÉ over 7 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.0~rc1 which was released today.
- 4.1.0~rc1: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Actions