Bug #18257
closedDirective from cloned technique (w/o resource) results in crash of policy-updates.
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.
Updated by François ARMAND almost 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
Updated by Vincent MEMBRÉ almost 4 years ago
- Target version changed from 6.1.6 to 6.1.7
Updated by Vincent MEMBRÉ almost 4 years ago
- Target version changed from 6.1.7 to 6.1.8
- Priority changed from 52 to 51
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.8 to 6.1.9
- Priority changed from 51 to 49
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.9 to 6.1.10
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.10 to 6.1.11
- Priority changed from 49 to 48
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.11 to 6.1.12
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
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
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 6.1.14 to 6.1.15
- Priority changed from 46 to 45
Updated by Vincent MEMBRÉ about 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
- Priority changed from 45 to 44
Updated by Vincent MEMBRÉ almost 3 years ago
- Target version changed from 6.1.17 to 6.1.18
- Priority changed from 44 to 43
Updated by Vincent MEMBRÉ almost 3 years ago
- Target version changed from 6.1.18 to 6.1.19
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 François ARMAND over 1 year 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)