Project

General

Profile

Actions

Bug #17973

closed

error in technique editor when upgrading from 6.0.0~rc5 to 6.1.1 on centos7

Added by Nicolas CHARLES almost 4 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Web - Technique editor
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

Technique editor says

An Error occured! Error while fetching techniques
Details:

Could not get techniques metadata <- An Error occured while extracting data from techniques ncf API <- parameter name cannot be empty <- Unexpected: parameter 'name' cannot be empty

triggering an internal technique relaod also fails

curl  -H "X-API-TOKEN:  $(cat /var/rudder/run/api-token)" https://localhost/rudder/api/latest/internal/techniques/reload -X POST -k 
{"action":"techniques","result":"error","errorDetails":"Could not get generic methods metadata <- Inconsistency: An error occured while updating generic methods library with command '/usr/share/ncf/ncf write_all_techniques':\n code: 1\n stderr: Traceback (most recent call last):\n  File \"/usr/share/ncf/ncf\", line 102, in <module>\n    write_all_techniques(\"\", False)\n  File \"/usr/share/ncf/ncf\", line 72, in write_all_techniques\n    techniques = ncf.get_all_techniques_metadata(True,migrate_old)\n  File \"/usr/share/ncf/tools/ncf.py\", line 439, in get_all_techniques_metadata\n    result = parse_technique_metadata(content)\n  File \"/usr/share/ncf/tools/ncf.py\", line 140, in parse_technique_metadata\n    return parse_bundlefile_metadata(technique_content, \"technique\")\n  File \"/usr/share/ncf/tools/ncf.py\", line 181, in parse_bundlefile_metadata\n    parameter = json.loads(match.group(2))\n  File \"/usr/lib64/python2.7/json/__init__.py\", line 338, in loads\n    return _default_decoder.decode(s)\n  File \"/usr/lib64/python2.7/json/decoder.py\", line 366, in decode\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n  File \"/usr/lib64/python2.7/json/decoder.py\", line 382, in raw_decode\n    obj, end = self.scan_once(s, idx)\nValueError: Expecting ':' delimiter: line 1 column 78 (char 77)\n\n stdout: "}

Actions #1

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 6.1.2 to 6.1.3
Actions #2

Updated by François ARMAND almost 4 years ago

  • Target version changed from 6.1.3 to 6.1.4
Actions #3

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 6.1.4 to 6.1.5
Actions #4

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.5 to 6.1.6
Actions #5

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.6 to 6.1.7
Actions #6

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.7 to 6.1.8
Actions #7

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.8 to 6.1.9
Actions #8

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.9 to 6.1.10
Actions #9

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.10 to 6.1.11
Actions #10

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.11 to 6.1.12
Actions #11

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.12 to 6.1.13
Actions #12

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.13 to 6.1.14
Actions #13

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.1.14 to 6.1.15
Actions #14

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #15

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.1.16 to 6.1.17
Actions #16

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.17 to 6.1.18
Actions #17

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.18 to 6.1.19
Actions #18

Updated by Alexis Mousset over 2 years ago

  • Status changed from New to Rejected

6.0 is not supported anymore

Actions

Also available in: Atom PDF