Project

General

Profile

Actions

Bug #6327

closed

Change the error message: There are directives based on techniques with different versions applied to the same node, please correct the version for the following directive(s): checkGenericFileContent

Added by Dennis Cabooter about 9 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
2
Assignee:
-
Category:
Web - Config management
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
Priority:
0
Name check:
Fix check:
Regression:

Description

Error message when regenerating policies:

There are directives based on techniques with different versions applied to the same node, please correct the version for the following directive(s): checkGenericFileContent

This is not true! As you can see on the attached screenshot I migrated only directives applied to desktops. I'm sure this are the only checkGenericFileContent directives to be applied to desktops. Please change the message so that it makes sense (you need to have all checkGenericFileContent directives to be the same) or change things so that they do what they say.


Files

policy_update.png (250 KB) policy_update.png Dennis Cabooter, 2015-03-03 14:12
Actions #1

Updated by Dennis Cabooter about 9 years ago

  • File deleted (technique_deprecated.png)
Actions #2

Updated by Dennis Cabooter about 9 years ago

  • File tech_logs.png added
Actions #3

Updated by Dennis Cabooter about 9 years ago

  • File deleted (tech_logs.png)
Actions #5

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 3.0.2 to 3.0.3
Actions #6

Updated by François ARMAND about 9 years ago

Hi Denis, this is interesting.

The check is actually done node by node, and only check that on any given node, all the directive are derived from the same version of technique.

For example, you could have:
- node1 => [directive1_0 from tech1-v1 ; directive1_1 from tech1-v1]
- node2 => [directive2_0 from tech1-v2 ]

This is the only (HUGE - we are aware of it) limitation on technique version.

I'm going to try to reproduce. If you have a way to reproduce, that would be very helpful.

In all case, we have to make that message clearer, and add log to help analyse the problem.

Actions #7

Updated by Dennis Cabooter about 9 years ago

Say you have 4 directives, dir1, dir2 dir3 and dir4:

dir1 and dir2 => group: servers
dir3 and dir4 => group: desktops

Then you migrate only dir1 and dir2 and you'll get the error. Basicly you need to migrate all directives of the same type or the error occurs.

Actions #8

Updated by François ARMAND about 9 years ago

  • Assignee set to François ARMAND

OK, that should not be the case, you should be able to migrate them independently.
I'm going to try to reproduce. Did you noticed that on version before 3.0 ?

Actions #9

Updated by François ARMAND about 9 years ago

I just tested with Rudder (3.0.1) and it possible to have a directive (checkGenericFileContent in my case) with:

- version 6 applied to group 1 (with node 1 into it),
- version 7 applied to group 2 (with node 2 into it).

So perhaps you have some overlap in the groups...

Could you check that, it would be very helpful: I don't want to overlook a bug because I wasn't able to reproduce it.

But in all case, the error message should say explicitly what is the problem ("node 1 has the following rules applying diffent version of technique XXX: [rule1, rule2, ...]; node 2 etc).

Actions #10

Updated by François ARMAND about 9 years ago

  • Subject changed from There are directives based on techniques with different versions applied to the same node, please correct the version for the following directive(s): checkGenericFileContent to Change the error message: There are directives based on techniques with different versions applied to the same node, please correct the version for the following directive(s): checkGenericFileContent
  • Priority changed from 1 to 2
  • Target version changed from 3.0.3 to 2.10.12
  • Reproduced set to No

I'm updating that ticket to the message problem. When we have better begguging information, we would be able to open a better qualified ticket for the other problem.

Actions #11

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.12 to 2.10.13
Actions #12

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.13 to 2.10.14
Actions #13

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.10.14 to 2.10.15
Actions #14

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.10.15 to 2.10.16
Actions #15

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.10.16 to 2.10.17
Actions #16

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.10.17 to 2.10.18
Actions #17

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.10.18 to 2.10.19
Actions #18

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.10.19 to 2.10.20
Actions #19

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.10.20 to 277
Actions #20

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 277 to 2.11.18
Actions #21

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.18 to 2.11.19
Actions #22

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 2.11.19 to 2.11.20
Actions #23

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 2.11.20 to 2.11.21
Actions #24

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 2.11.21 to 2.11.22
Actions #25

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 2.11.22 to 2.11.23
Actions #26

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 2.11.23 to 2.11.24
Actions #27

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 2.11.24 to 308
Actions #28

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 308 to 3.1.14
Actions #29

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.14 to 3.1.15
Actions #30

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.15 to 3.1.16
Actions #31

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.16 to 3.1.17
Actions #32

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.17 to 3.1.18
Actions #33

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.18 to 3.1.19
Actions #34

Updated by Jonathan CLARKE about 7 years ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Operational - other Techniques | Technique editor | Rudder settings
Actions #35

Updated by Jonathan CLARKE about 7 years ago

  • Severity changed from Major - prevents use of part of Rudder | no simple workaround to Minor - inconvenience | misleading | easy workaround
Actions #36

Updated by Benoît PECCATTE about 7 years ago

  • Priority set to 14
Actions #37

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.19 to 3.1.20
Actions #38

Updated by Jonathan CLARKE almost 7 years ago

  • Assignee deleted (François ARMAND)
Actions #39

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 3.1.20 to 3.1.21
Actions #40

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 3.1.21 to 3.1.22
Actions #41

Updated by Benoît PECCATTE almost 7 years ago

  • Priority changed from 14 to 27
Actions #42

Updated by Benoît PECCATTE almost 7 years ago

  • Effort required set to Very Small
  • Priority changed from 27 to 41
Actions #43

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 3.1.22 to 3.1.23
Actions #44

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 3.1.23 to 3.1.24
Actions #45

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 3.1.24 to 3.1.25
Actions #46

Updated by Benoît PECCATTE over 6 years ago

  • Priority changed from 41 to 51
Actions #47

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 3.1.25 to 387
Actions #48

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 387 to 4.1.10
Actions #49

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.10 to 4.1.11
Actions #50

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.11 to 4.1.12
  • Priority changed from 51 to 52
Actions #51

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 4.1.12 to 4.1.13
Actions #52

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 4.1.13 to 4.1.14
  • Priority changed from 52 to 53
Actions #53

Updated by Benoît PECCATTE over 5 years ago

  • Target version changed from 4.1.14 to 4.1.15
Actions #54

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.15 to 4.1.16
  • Priority changed from 53 to 54
Actions #55

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.16 to 4.1.17
  • Priority changed from 54 to 55
Actions #56

Updated by François ARMAND over 5 years ago

  • Status changed from New to Rejected
  • Priority changed from 55 to 0

The message was updated a long time ago and now, we can mixe technique version on the same node :)

Actions

Also available in: Atom PDF