Project

General

Profile

Actions

Bug #18257

closed

Directive from cloned technique (w/o resource) results in crash of policy-updates.

Added by Bernd Wolf about 4 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Techniques
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

6.0.6. has massive problems when cloning a technique and createing directive from this (see associated reports, e.g. for missplaced resources, ...).
After update from 6.0.6 -> 6.0.9 problems are the same.

UPDATE: still present in 6.1.4

I cloned a technique which contains no resources and no parameters.
Creating a directive from this results in a disabled directive.
After enabling I created an instance from this, which results in "Error during policy updates", details:

Policy update process was stopped due to an error:
⇨ Policy update error for process '4094' at 2020-09-28 14:37:09 
⇨  Cannot write nodes configuration 
⇨  Accumulated: Unexpected: Error when trying to open resource 'techniques/ncf_techniques/Stage_ALL_01_LDAP_Auth/1.0/resources/whitelist.acl'. Check that the file exists is correctly commited in Git, or that the metadata for the technique are corrects. ; Unexpected: Error when trying to open resource 'techniques/ncf_techniques/Stage_ALL_01_LDAP_Auth/1.0/resources/haproxy.cfg'. Check that the file exists is correctly commited in Git, or that the metadata for the technique are corrects. ; Unexpected: Error when trying to open resource 'techniques/ncf_techniques/Stage_ALL_01_LDAP_Auth/1.0/resources/bad-user-agents.list'. Check that the file exists is correctly commited in Git, or that the metadata for the technique are corrects. ; Unexpected: Error when trying to open resource 'techniques/ncf_techniques/Stage_ALL_01_LDAP_Auth/1.0/resources/crt-list.txt'. Check that the file exists is correctly commited in Git, or that the metadata for the technique are corrects. ; Unexpected: Error when trying to open resource 'techniques/ncf_techniques/Stage_ALL_01_LDAP_Auth/1.0/resources/blacklist.acl'. Check that the file exists is correctly commited in Git, or that the metadata for the technique are corrects. ; Unexpected: Error when trying to open resource 'techniques/ncf_techniques/Stage_ALL_01_LDAP_Auth/1.0/resources/whitelist.acl'. Check that the file exists is correctly commited in Git, or that the metadata for the technique are corrects. ; Unexpected: Error when trying to open resource 'techniques/ncf_techniques/Stage_ALL_01_LDAP_Auth/1.0/resources/haproxy.cfg'. Check that the file exists is correctly commited in Git, or that the metadata for the technique are corrects. ; Unexpected: Error when trying to open resource 'techniques/ncf_techniques/Stage_ALL_01_LDAP_Auth/1.0/resources/bad-user-agents.list'. Check that the file exists is correctly commited in Git, or that the metadata for the technique are corrects. ; Unexpected: Error when trying to open resource 'techniques/ncf_techniques/Stage_ALL_01_LDAP_Auth/1.0/resources/crt-list.txt'. Check that the file exists is correctly commited in Git, or that the metadata for the technique are corrects. ; Unexpected: Error when trying to open resource 'techniques/ncf_techniques/Stage_ALL_01_LDAP_Auth/1.0/resources/blacklist.acl'. Check that the file exists is correctly commited in Git, or that the metadata for the technique are corrects. ; Unexpected: Error when trying to open resource 'techniques/ncf_techniques/Stage_ALL_01_LDAP_Auth/1.0/resources/whitelist.acl'. Check that the file exists is correctly commited in Git, or that the metadata for the technique are corrects. ; Unexpected: Error when trying to open resource 'techniques/ncf_techniques/Stage_ALL_01_LDAP_Auth/1.0/resources/haproxy.cfg'. Check that the file exists is correctly commited in Git, or that the metadata for the technique are corrects. ; Unexpected: Error when trying to open resource 'techniques/ncf_techniques/Stage_ALL_01_LDAP_Auth/1.0/resources/bad-user-agents.list'. Check that the file exists is correctly commited in Git, or that the metadata for the technique are corrects. ; Unexpected: Error when trying to open resource 'techniques/ncf_techniques/Stage_ALL_01_LDAP_Auth/1.0/resources/crt-list.txt'. Check that the file exists is correctly commited in Git, or that the metadata for the technique are corrects. ; Unexpected: Error when trying to open resource 'techniques/ncf_techniques/Stage_ALL_01_LDAP_Auth/1.0/resources/blacklist.acl'. Check that the file exists is correctly commited in Git, or that the metadata for the technique are corrects.

To bypass this bug:

- deleted the cloned directive and technique
- put a dummy-file in technique, clone it again
- from this cloned technique you can instantiate a directive
- after this you can delete the dummy-file from technique.

Actions #1

Updated by Alexis Mousset about 4 years ago

  • Description updated (diff)
Actions #2

Updated by François ARMAND about 4 years ago

  • Description updated (diff)
  • Target version set to 6.1.6
  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • Priority changed from 0 to 52
Actions #3

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 6.1.6 to 6.1.7
Actions #4

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 6.1.7 to 6.1.8
  • Priority changed from 52 to 51
Actions #5

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 6.1.8 to 6.1.9
  • Priority changed from 51 to 49
Actions #6

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 6.1.9 to 6.1.10
Actions #7

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 6.1.10 to 6.1.11
  • Priority changed from 49 to 48
Actions #8

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 6.1.11 to 6.1.12
Actions #9

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.12 to 6.1.13
  • Priority changed from 48 to 47
Actions #10

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.13 to 6.1.14
  • Priority changed from 47 to 46
Actions #11

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.14 to 6.1.15
  • Priority changed from 46 to 45
Actions #12

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #13

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.16 to 6.1.17
  • Priority changed from 45 to 44
Actions #14

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.17 to 6.1.18
  • Priority changed from 44 to 43
Actions #15

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.18 to 6.1.19
Actions #16

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.19 to 6.1.20
Actions #17

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.20 to 6.1.21
Actions #18

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.21 to old 6.1 issues to relocate
Actions #19

Updated by François ARMAND almost 2 years ago

  • Status changed from New to Resolved
  • Priority changed from 43 to 0
  • Regression set to No

It works as expected now in 7.2 (I don't know since when though)

Actions

Also available in: Atom PDF