Bug #6327
closedChange 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
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
Updated by Dennis Cabooter almost 10 years ago
- File deleted (
technique_deprecated.png)
Updated by Dennis Cabooter almost 10 years ago
- File policy_update.png policy_update.png added
Updated by Vincent MEMBRÉ almost 10 years ago
- Target version changed from 3.0.2 to 3.0.3
Updated by François ARMAND almost 10 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.
Updated by Dennis Cabooter almost 10 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.
Updated by François ARMAND over 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 ?
Updated by François ARMAND over 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).
Updated by François ARMAND over 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 (highest) 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.
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.12 to 2.10.13
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.13 to 2.10.14
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.14 to 2.10.15
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.15 to 2.10.16
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.16 to 2.10.17
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.10.17 to 2.10.18
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.10.18 to 2.10.19
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.10.19 to 2.10.20
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 2.10.20 to 277
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 277 to 2.11.18
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 2.11.18 to 2.11.19
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 2.11.19 to 2.11.20
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.20 to 2.11.21
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.21 to 2.11.22
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.22 to 2.11.23
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.23 to 2.11.24
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.24 to 308
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 308 to 3.1.14
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.14 to 3.1.15
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.15 to 3.1.16
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.16 to 3.1.17
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.17 to 3.1.18
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 3.1.18 to 3.1.19
Updated by Jonathan CLARKE over 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
Updated by Jonathan CLARKE over 7 years ago
- Severity changed from Major - prevents use of part of Rudder | no simple workaround to Minor - inconvenience | misleading | easy workaround
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.19 to 3.1.20
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.20 to 3.1.21
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.21 to 3.1.22
Updated by Benoît PECCATTE over 7 years ago
- Effort required set to Very Small
- Priority changed from 27 to 41
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.22 to 3.1.23
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.23 to 3.1.24
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 3.1.24 to 3.1.25
Updated by Vincent MEMBRÉ almost 7 years ago
- Target version changed from 3.1.25 to 387
Updated by Vincent MEMBRÉ almost 7 years ago
- Target version changed from 387 to 4.1.10
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 51 to 52
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 4.1.12 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 52 to 53
Updated by Benoît PECCATTE over 6 years ago
- Target version changed from 4.1.14 to 4.1.15
Updated by Vincent MEMBRÉ about 6 years ago
- Target version changed from 4.1.15 to 4.1.16
- Priority changed from 53 to 54
Updated by Vincent MEMBRÉ about 6 years ago
- Target version changed from 4.1.16 to 4.1.17
- Priority changed from 54 to 55
Updated by François ARMAND about 6 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 :)