Bug #11992
closed
User story #5673: Add support to parameters in ncf techniques written with ncf builder
Techniques created in the technique editor don't show up in Rudder directive tree
Added by Nicolas CHARLES almost 7 years ago.
Updated almost 7 years ago.
Category:
Web - Technique editor
Description
I created a test technique in the Technique Editor, and it doesn't show up in Rudder directive tree.
- there is no event in the Event logs
- it doesn't show up in the Reference Technique library
- it is in /var/rudder/configuration-repository/ncf/50_techniques/test_technique/test_technique.cf
- I only have /var/rudder/configuration-repository/techniques/ncf_techniques/test_technique/1.0/expected_reports.csv in techniques folder
When I save the technique, I have the followinf logs
::1 - - [17/Jan/2018:16:38:58 +0100] "GET /rudder/authentication?acl=write HTTP/1.1" 302 582 "-" "python-requests/2.18.4"
==> /var/log/rudder/apache2/error.log <==
[Wed Jan 17 16:38:58.703756 2018] [wsgi:error] [pid 6527:tid 139637637089024] [remote 192.168.45.1:38944] /usr/share/ncf-api-virtualenv/lib/python2.7/site-packages/urllib3/connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
[Wed Jan 17 16:38:58.705159 2018] [wsgi:error] [pid 6527:tid 139637637089024] [remote 192.168.45.1:38944] InsecureRequestWarning)
==> /var/log/rudder/apache2/access.log <==
::1 - - [17/Jan/2018:16:38:58 +0100] "GET /rudder/authentication?acl=write HTTP/1.1" 200 2242 "-" "python-requests/2.18.4"
==> /var/log/rudder/apache2/error.log <==
[Wed Jan 17 16:38:59.024666 2018] [wsgi:error] [pid 6527:tid 139637637089024] [remote 192.168.45.1:38944] INFO: Alternative source path added: /var/rudder/configuration-repository/ncf
==> /var/log/rudder/apache2/access.log <==
192.168.45.1 - - [17/Jan/2018:16:38:58 +0100] "POST /ncf/api/techniques HTTP/1.1" 201 1217 "https://192.168.45.2/ncf-builder/" "Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0"
192.168.45.1 - - [17/Jan/2018:16:38:59 +0100] "POST /rudder/secure/api/latest/ncf HTTP/1.1" 404 557 "https://192.168.45.2/ncf-builder/" "Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0"
::1 - - [17/Jan/2018:16:38:59 +0100] "GET /rudder/authentication?acl=write HTTP/1.1" 302 582 "-" "python-requests/2.18.4"
==> /var/log/rudder/apache2/error.log <==
[Wed Jan 17 16:38:59.911340 2018] [wsgi:error] [pid 6527:tid 139637670676224] [remote 192.168.45.1:38944] /usr/share/ncf-api-virtualenv/lib/python2.7/site-packages/urllib3/connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
[Wed Jan 17 16:38:59.911627 2018] [wsgi:error] [pid 6527:tid 139637670676224] [remote 192.168.45.1:38944] InsecureRequestWarning)
==> /var/log/rudder/apache2/access.log <==
::1 - - [17/Jan/2018:16:38:59 +0100] "GET /rudder/authentication?acl=write HTTP/1.1" 200 2242 "-" "python-requests/2.18.4"
192.168.45.1 - - [17/Jan/2018:16:38:59 +0100] "POST /ncf/api/check/parameter HTTP/1.1" 200 425 "https://192.168.45.2/ncf-builder/" "Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0"
There is a 404 on ncf api, maybe the api is not correctly dispatched with changes made on API to authorization in #5627
Ha yes, intern (/secure) api call do not have version in their url anymore (removed the "latest" in /rudder/secure/api/latest/ncf)
- Status changed from New to In progress
- Assignee set to Vincent MEMBRÉ
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/ncf/pull/681
- Status changed from Pending technical review to Pending release
Applied in changeset ncf:commit:478e79f223d6e7d60a618b5aa0de3c2e7eec9b90.
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.3.0~beta1 which was released today.
Also available in: Atom
PDF