Project

General

Profile

Actions

Bug #19479

closed

Broken reports watcher in 7.0

Added by Alexis Mousset over 3 years ago. Updated over 3 years ago.

Status:
Released
Priority:
N/A
Category:
Relay server or API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

The watcher does not work anymore

Actions #1

Updated by Alexis Mousset over 3 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #2

Updated by Alexis Mousset over 3 years ago

Only 3 files are seen by the inotify watcher, it then stops watching without explanation.

juin 24 10:23:18 server rudder-relayd[7664]: [src/input/watch.rs:150] e = Ok(
juin 24 10:23:18 server rudder-relayd[7664]: Event {
juin 24 10:23:18 server rudder-relayd[7664]: wd: WatchDescriptor {
juin 24 10:23:18 server rudder-relayd[7664]: id: 1,
juin 24 10:23:18 server rudder-relayd[7664]: fd: (Weak),
juin 24 10:23:18 server rudder-relayd[7664]: },
juin 24 10:23:18 server rudder-relayd[7664]: mask: CLOSE_WRITE,
juin 24 10:23:18 server rudder-relayd[7664]: cookie: 0,
juin 24 10:23:18 server rudder-relayd[7664]: name: Some(
juin 24 10:23:18 server rudder-relayd[7664]: ".davfs.tmp278221",
juin 24 10:23:18 server rudder-relayd[7664]: ),
juin 24 10:23:18 server rudder-relayd[7664]: },
juin 24 10:23:18 server rudder-relayd[7664]: )
juin 24 10:23:18 server rudder-relayd[7664]: DEBUG relayd::input::watch: inotify: "/var/rudder/reports/incoming/.davfs.tmp278221" 

juin 24 10:23:18 server rudder-relayd[7664]: [src/input/watch.rs:150] e = Ok(
juin 24 10:23:18 server rudder-relayd[7664]: Event {
juin 24 10:23:18 server rudder-relayd[7664]: wd: WatchDescriptor {
juin 24 10:23:18 server rudder-relayd[7664]: id: 1,
juin 24 10:23:18 server rudder-relayd[7664]: fd: (Weak),
juin 24 10:23:18 server rudder-relayd[7664]: },
juin 24 10:23:18 server rudder-relayd[7664]: mask: MOVED_TO,
juin 24 10:23:18 server rudder-relayd[7664]: cookie: 30270,
juin 24 10:23:18 server rudder-relayd[7664]: name: Some(
juin 24 10:23:18 server rudder-relayd[7664]: "2021-06-24T10:23:16+00:00@root.log.gz",
juin 24 10:23:18 server rudder-relayd[7664]: ),
juin 24 10:23:18 server rudder-relayd[7664]: },
juin 24 10:23:18 server rudder-relayd[7664]: )
juin 24 10:23:18 server rudder-relayd[7664]: DEBUG relayd::input::watch: inotify: "/var/rudder/reports/incoming/2021-06-24T10:23:16+00:00@root.log.gz" 
juin 24 10:23:18 server rudder-relayd[7664]: DEBUG relayd::processing::reporting: skipping "/var/rudder/reports/incoming/.davfs.tmp278221" as it does not have a known report extension

juin 24 10:23:27 server rudder-relayd[7664]: [src/input/watch.rs:150] e = Ok(
juin 24 10:23:27 server rudder-relayd[7664]: Event {
juin 24 10:23:27 server rudder-relayd[7664]: wd: WatchDescriptor {
juin 24 10:23:27 server rudder-relayd[7664]: id: 1,
juin 24 10:23:27 server rudder-relayd[7664]: fd: (Weak),
juin 24 10:23:27 server rudder-relayd[7664]: },
juin 24 10:23:27 server rudder-relayd[7664]: mask: CLOSE_WRITE,
juin 24 10:23:27 server rudder-relayd[7664]: cookie: 0,
juin 24 10:23:27 server rudder-relayd[7664]: name: Some(
juin 24 10:23:27 server rudder-relayd[7664]: ".davfs.tmp278121",
juin 24 10:23:27 server rudder-relayd[7664]: ),
juin 24 10:23:27 server rudder-relayd[7664]: },
juin 24 10:23:27 server rudder-relayd[7664]: )
juin 24 10:23:27 server rudder-relayd[7664]: watch_files while ".davfs.tmp278121" 
juin 24 10:23:27 server rudder-relayd[7664]: DEBUG relayd::input::watch: inotify: "/var/rudder/reports/incoming/.davfs.tmp278121" 
juin 24 10:23:27 server rudder-relayd[7664]: TRACE mio::poll: deregistering event source from poller
Actions #3

Updated by Alexis Mousset over 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder/pull/3696
Actions #4

Updated by Alexis Mousset over 3 years ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Vincent MEMBRÉ over 3 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.0.0~beta1 which was released today.

Actions

Also available in: Atom PDF