Project

General

Profile

Actions

Bug #15667

open

rtf can no longer execute command from rudder-cli

Added by Félix DALLIDET over 4 years ago. Updated over 4 years ago.

Status:
Pending release
Priority:
N/A
Category:
Rudder API & CLI
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

Some commands directly fail and doesn't print anything as error message.
It might be due to quoting errors.

Actions #1

Updated by Félix DALLIDET over 4 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

Actions #2

Updated by Félix DALLIDET over 4 years ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #3

Updated by Félix DALLIDET over 4 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
Actions #4

Updated by Félix DALLIDET over 4 years ago

  • Status changed from Pending technical review to Pending release
Actions

Also available in: Atom PDF