Bug #15667
closed
rtf can no longer execute command from rudder-cli
Added by Félix DALLIDET about 5 years ago.
Updated 6 months ago.
Category:
Rudder API & CLI
Description
Some commands directly fail and doesn't print anything as error message.
It might be due to quoting errors.
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
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
- 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
- Status changed from Pending technical review to Pending release
- Status changed from Pending release to Released
Also available in: Atom
PDF