Project

General

Profile

Actions

Bug #19479

closed

Broken reports watcher in 7.0

Added by Alexis MOUSSET 11 months ago. Updated 8 months ago.

Status:
Released
Priority:
N/A
Category:
Relay server or API
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

The watcher does not work anymore

Actions #1

Updated by Alexis MOUSSET 11 months ago

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

Updated by Alexis MOUSSET 11 months 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 11 months 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 11 months ago

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

Updated by Vincent MEMBRÉ 8 months 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