Project

General

Profile

Actions

Bug #18257

open

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

Added by Bernd Wolf about 1 year ago. Updated about 2 months ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Techniques
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
44

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 1 year ago

  • Description updated (diff)
Actions #2

Updated by François ARMAND about 1 year 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 1 year ago

  • Target version changed from 6.1.6 to 6.1.7
Actions #4

Updated by Vincent MEMBRÉ 11 months ago

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

Updated by Vincent MEMBRÉ 9 months ago

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

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 6.1.9 to 6.1.10
Actions #7

Updated by Vincent MEMBRÉ 7 months ago

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

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 6.1.11 to 6.1.12
Actions #9

Updated by Vincent MEMBRÉ 7 months ago

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

Updated by Vincent MEMBRÉ 5 months ago

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

Updated by Vincent MEMBRÉ 4 months ago

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

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #13

Updated by Vincent MEMBRÉ about 2 months ago

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

Also available in: Atom PDF