You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to pass a string value of a shell environment variable which should be a list type for rundeck_exporter
$ export RUNDECK_URL='http://127.0.0.1:4440'
$ export RUNDECK_TOKEN='OxxxxxxP'
$ export RUNDECK_PROJECTS_EXECUTIONS=True
$ export RUNDECK_PROJECTS_FILTER='abc xyz'
$ rundeck_exporter
2022-09-29 15:33:35,028 - CRITICAL - project does not exist: a
2022-09-29 15:33:35,030 - CRITICAL - project does not exist: c
2022-09-29 15:33:35,031 - CRITICAL - project does not exist: b
2022-09-29 15:33:35,037 - CRITICAL - project does not exist: x
2022-09-29 15:33:35,039 - CRITICAL - project does not exist:
2022-09-29 15:33:35,043 - CRITICAL - project does not exist: y
2022-09-29 15:33:35,044 - CRITICAL - project does not exist: z
$ export RUNDECK_PROJECTS_FILTER='["abc","xyz"]'
$ rundeck_exporter
2022-09-29 15:33:57,382 - CRITICAL - project does not exist: b
2022-09-29 15:33:57,383 - CRITICAL - project does not exist: [
2022-09-29 15:33:57,389 - CRITICAL - project does not exist: "2022-09-29 15:33:57,392 - CRITICAL - project does not exist: a2022-09-29 15:33:57,393 - CRITICAL - project does not exist: c2022-09-29 15:33:57,394 - CRITICAL - project does not exist: "
2022-09-29 15:33:57,397 - CRITICAL - project does not exist: "2022-09-29 15:33:57,404 - CRITICAL - project does not exist: ,2022-09-29 15:33:57,408 - CRITICAL - project does not exist: x2022-09-29 15:33:57,410 - CRITICAL - project does not exist: y2022-09-29 15:33:57,412 - CRITICAL - project does not exist: z2022-09-29 15:33:57,413 - CRITICAL - project does not exist: "
2022-09-29 15:33:57,416 - CRITICAL - project does not exist: ]
# I can pass it successfully via command line option
$ rundeck_exporter --rundeck.projects.filter abc xyz
2022-09-29 15:34:27,039 - CRITICAL - project does not exist: abc
2022-09-29 15:34:27,040 - CRITICAL - project does not exist: xyz
# they are not real project names
The text was updated successfully, but these errors were encountered:
Unable to pass a
string
value of a shell environment variable which should be alist
type for rundeck_exporterThe text was updated successfully, but these errors were encountered: