-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.language/ansibleIssue is related to an Ansible operator projectIssue is related to an Ansible operator project
Description
Bug Report
What did you do?
- I created a new operator (using the
operator-sdk
cli command in the documentation). - I pushed the generated code to a new GitHub repository.
- I waited for the Travis CI build to finish.
What did you expect to see?
I expected the default test would pass.
What did you see instead? Under which circumstances?
I received the error:
TASK [Wait 60s for reconciliation to run] **************************************
fatal: [localhost]: FAILED! => {"msg": "The conditional check ''Successful' in (cr | json_query('resources[].status.conditions[].reason'))' failed. The error was: You need to install \"jmespath\" prior to running json_query filter"}
Environment
- operator-sdk version:
$ operator-sdk version
operator-sdk version: v0.10.0, commit: ff80b17737a6a0aade663e4827e8af3ab5a21170
- go version:
N/A
- Kubernetes version information:
N/A
- Kubernetes cluster kind:
N/A
Possible Solution
The default .travis.yml file included with the Ansible operator scaffold should include jmespath
in its dependency installation, e.g.:
install:
- pip install docker molecule openshift jmespath
Currently it does not include jmespath
.
Additional context
N/A
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.language/ansibleIssue is related to an Ansible operator projectIssue is related to an Ansible operator project