Actions
Architecture #11925
openNodeCompliance is not historised when web interface is shut down
Status:
New
Priority:
N/A
Assignee:
Category:
Web - Compliance & node report
Target version:
Pull Request:
Effort required:
Medium
Name check:
Fix check:
Regression:
Description
If we shut down the web interface, the agents runs are not historized in the NodeCompliance table, and it doesn't catch up when we restart the web interface
The result is that we have gaps in compliance reports
Example, I stopped the web interface from 13:36 to 14:16, and historised compliance is:
rudder=> select nodeid, runtimestamp, endoflife from nodecompliance where nodeid != 'root' order by runtimestamp desc; nodeid | runtimestamp | endoflife --------------------------------------+------------------------+---------------------------- db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 14:20:02+00 | 2018-01-05 14:30:02+00 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 14:16:47+00 | 2018-01-05 14:26:47+00 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:36:26+00 | 2018-01-05 13:46:26+00 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:35:02+00 | 2018-01-05 13:45:02+00 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:31:31+00 | 2018-01-05 13:41:31+00 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:30:02+00 | 2018-01-05 13:40:02+00 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:26:36+00 | 2018-01-05 13:36:36+00 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:25:02+00 | 2018-01-05 13:35:02+00 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:21:42+00 | 2018-01-05 13:31:42+00 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:20:03+00 | 2018-01-05 13:30:03+00 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:18:41+00 | 2018-01-04 15:25:50.942+00
We should be able to have this, as it is stored in table reportsexecution:
select * from reportsexecution where nodeid <> 'root' order by date desc; db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 14:21:42+00 | t | 20180105-092705-971adf67 | 148661 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 14:20:02+00 | t | 20180105-092705-971adf67 | 148616 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 14:16:47+00 | t | 20180105-092705-971adf67 | 148572 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 14:15:08+00 | t | 20180105-092705-971adf67 | 148527 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 14:15:02+00 | t | 20180105-092705-971adf67 | 148483 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 14:11:52+00 | t | 20180105-092705-971adf67 | 148438 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 14:10:01+00 | t | 20180105-092705-971adf67 | 148393 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 14:05:57+00 | t | 20180105-092705-971adf67 | 148390 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 14:05:12+00 | t | 20180105-092705-971adf67 | 148346 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 14:05:02+00 | t | 20180105-092705-971adf67 | 148301 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 14:01:02+00 | t | 20180105-092705-971adf67 | 148298 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 14:00:02+00 | t | 20180105-092705-971adf67 | 148254 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:56:07+00 | t | 20180105-092705-971adf67 | 148210 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:55:02+00 | t | 20180105-092705-971adf67 | 148165 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:52:22+00 | t | 20180105-092705-971adf67 | 148121 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:51:12+00 | t | 20180105-092705-971adf67 | 148077 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:50:02+00 | t | 20180105-092705-971adf67 | 148032 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:46:17+00 | t | 20180105-092705-971adf67 | 147988 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:45:02+00 | t | 20180105-092705-971adf67 | 147943 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:41:21+00 | t | 20180105-092705-971adf67 | 147899 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:40:01+00 | t | 20180105-092705-971adf67 | 147854 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:36:26+00 | t | 20180105-092705-971adf67 | 147740 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:35:02+00 | t | 20180105-092705-971adf67 | 147624 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:31:31+00 | t | 20180105-092705-971adf67 | 147580 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:30:02+00 | t | 20180105-092705-971adf67 | 147464 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:26:36+00 | t | 20180105-092705-971adf67 | 147420 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:25:02+00 | t | 20180105-092705-971adf67 | 147304 db80271f-3b98-4cc6-aaad-9cf29f31fac8 | 2018-01-05 13:21:42+00 | t | 20180105-092705-971adf67 | 147259
Updated by Benoît PECCATTE almost 7 years ago
- Severity set to Minor - inconvenience | misleading | easy workaround
- User visibility set to Infrequent - complex configurations | third party integrations
- Effort required set to Medium
- Priority changed from 0 to 5
Updated by Benoît PECCATTE almost 7 years ago
- Severity changed from Minor - inconvenience | misleading | easy workaround to Major - prevents use of part of Rudder | no simple workaround
- User visibility changed from Infrequent - complex configurations | third party integrations to Getting started - demo | first install | level 1 Techniques
- Priority changed from 5 to 53
Updated by Vincent MEMBRÉ almost 7 years ago
- Target version changed from 4.3.0~beta1 to 4.3.0~rc1
Updated by François ARMAND almost 7 years ago
- Target version changed from 4.3.0~rc1 to 4.1.10
- Priority changed from 53 to 52
Targeting it in 4.1. If it is too big, it will be targeted back in 4.3.
Updated by François ARMAND almost 7 years ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by Vincent MEMBRÉ almost 7 years ago
- Target version changed from 4.1.10 to 4.1.11
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 4.1.11 to 4.1.12
- Priority changed from 52 to 51
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 4.1.12 to 4.1.13
- Priority changed from 51 to 50
Updated by Benoît PECCATTE over 6 years ago
- Target version changed from 4.1.13 to 411
Updated by Benoît PECCATTE over 6 years ago
- Target version changed from 411 to 4.1.13
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 4.1.13 to 4.1.14
- Priority changed from 50 to 49
Updated by Benoît PECCATTE over 6 years ago
- Target version changed from 4.1.14 to 4.1.15
- Priority changed from 49 to 48
Updated by Vincent MEMBRÉ about 6 years ago
- Target version changed from 4.1.15 to 4.1.16
- Priority changed from 48 to 46
Updated by Vincent MEMBRÉ about 6 years ago
- Target version changed from 4.1.16 to 4.1.17
- Priority changed from 46 to 45
Updated by Vincent MEMBRÉ almost 6 years ago
- Target version changed from 4.1.17 to 4.1.18
- Priority changed from 45 to 0
Updated by Vincent MEMBRÉ almost 6 years ago
- Target version changed from 4.1.18 to 4.1.19
Updated by Alexis Mousset almost 6 years ago
- Target version changed from 4.1.19 to 4.1.20
Updated by François ARMAND over 5 years ago
- Target version changed from 4.1.20 to 4.1.21
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 4.1.21 to 4.1.22
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 4.1.22 to 4.1.23
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 4.1.23 to 4.1.24
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 4.1.24 to 588
Updated by Nicolas CHARLES over 5 years ago
- Target version changed from 588 to 5.0.13
targeting to 5.0
Updated by Vincent MEMBRÉ about 5 years ago
- Target version changed from 5.0.13 to 5.0.14
Updated by Vincent MEMBRÉ about 5 years ago
- Target version changed from 5.0.14 to 5.0.15
Updated by Vincent MEMBRÉ almost 5 years ago
- Target version changed from 5.0.15 to 5.0.16
Updated by Alexis Mousset almost 5 years ago
- Target version changed from 5.0.16 to 5.0.17
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 5.0.17 to 5.0.18
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 5.0.18 to 5.0.19
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 5.0.19 to 5.0.20
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 5.0.20 to 797
Updated by Benoît PECCATTE over 3 years ago
- Target version changed from 797 to 6.1.14
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.14 to 6.1.15
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.15 to 6.1.16
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 6.1.16 to 6.1.17
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 6.1.17 to 6.1.18
Updated by Vincent MEMBRÉ almost 3 years ago
- Target version changed from 6.1.18 to 6.1.19
Updated by Alexis Mousset almost 3 years ago
- Tracker changed from Bug to Architecture
- Severity deleted (
Major - prevents use of part of Rudder | no simple workaround) - User visibility deleted (
Getting started - demo | first install | level 1 Techniques) - Priority deleted (
0)
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.19 to 6.1.20
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.20 to 6.1.21
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.21 to old 6.1 issues to relocate
Updated by Alexis Mousset over 1 year ago
- Status changed from In progress to New
Updated by Alexis Mousset over 1 year ago
- Target version changed from old 6.1 issues to relocate to 8.0.0~alpha1
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 8.0.0~alpha1 to 8.0.0~beta1
Updated by Alexis Mousset over 1 year ago
- Target version changed from 8.0.0~beta1 to 8.1.0~alpha1
Updated by Vincent MEMBRÉ 10 months ago
- Target version changed from 8.1.0~alpha1 to 8.1.0~beta1
Updated by Vincent MEMBRÉ 9 months ago
- Target version changed from 8.1.0~beta1 to 8.1.0~beta2
Updated by Vincent MEMBRÉ 8 months ago
- Target version changed from 8.1.0~beta2 to 8.1.0~rc1
Updated by Vincent MEMBRÉ 8 months ago
- Target version changed from 8.1.0~rc1 to 8.1.0
Updated by Vincent MEMBRÉ 8 months ago
- Target version changed from 8.1.0 to 8.1.1
Updated by Vincent MEMBRÉ 7 months ago
- Target version changed from 8.1.1 to 8.1.2
Updated by Vincent MEMBRÉ 7 months ago
- Target version changed from 8.1.2 to 8.1.3
Updated by Vincent MEMBRÉ 6 months ago
- Target version changed from 8.1.3 to 8.1.4
Updated by Vincent MEMBRÉ 5 months ago
- Target version changed from 8.1.4 to 8.1.5
Updated by Vincent MEMBRÉ 5 months ago
- Target version changed from 8.1.5 to 8.1.6
Updated by Vincent MEMBRÉ 4 months ago
- Target version changed from 8.1.6 to 8.1.7
Updated by Vincent MEMBRÉ 2 months ago
- Target version changed from 8.1.7 to 8.1.8
Updated by Vincent MEMBRÉ 15 days ago
- Target version changed from 8.1.8 to 8.1.9
Actions