Bug #15667
closedrtf can no longer execute command from rudder-cli
Description
Some commands directly fail and doesn't print anything as error message.
It might be due to quoting errors.
Updated by Félix DALLIDET over 5 years ago
if i run
root@server:~/rudder-api-client/cli# ./rudder-cli directive create --json=./dir.json userManagement "bob Directive" -token=458acdee-ee5d-4f9e-89c7-a9d913efdf51-system --skip-verify
/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:845: 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
InsecureRequestWarning)
Error in calling create_directive
RudderError()
u''
If i add quotes around the token it works
Updated by Félix DALLIDET over 5 years ago
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
Updated by Félix DALLIDET over 5 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-tests/pull/183
Updated by Félix DALLIDET over 5 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-tests|e09bf81612a62574826ee5a3a6cbd9985dde64f7.
Updated by Vincent MEMBRÉ 7 months ago
- Status changed from Pending release to Released