-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New custom resource - play #9
New custom resource - play #9
Conversation
The ReconcilerError is quite clear on what is happening: jobs.batch "ansibleee-test" already exists. In Openshift/Kubernetes you can never create two jobs at the same time with the same name. Either you change the name or you delete the previous job execution: oc delete ansibleee ansibleee-test. To avoid this error, you must delete the previous ansibleee-test job before running ./bin/manager, or it will get the ansibleee and launch it again (as you are deploying a new instance of the operator). Regarding the age of the cluster, that never impacts anything, not one service in Kubernetes is looking at that. |
5f89915
to
8709825
Compare
…one-roles invocation
/assign jlarriba |
@cloudguruab: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cloudguruab, jlarriba The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
This patch introduces the capacity for the tripleo_entrypoint.sh script to generate an inventory and/or a playbook from env variables passed to the runner container by the operator itself The ansibleee-operator will take care of filling the contents of the env variables in [1] and [2] [1] openstack-k8s-operators/openstack-ansibleee-operator#20 [2] openstack-k8s-operators/openstack-ansibleee-operator#9 Change-Id: I030518bb8807aad9fb0d480a130d327522de707d
* Update tripleo-common from branch 'master' to d2249b70e26c94948695f14dc272e11fc4339a7a - Merge "Generic inventory and playbook" - Generic inventory and playbook This patch introduces the capacity for the tripleo_entrypoint.sh script to generate an inventory and/or a playbook from env variables passed to the runner container by the operator itself The ansibleee-operator will take care of filling the contents of the env variables in [1] and [2] [1] openstack-k8s-operators/openstack-ansibleee-operator#20 [2] openstack-k8s-operators/openstack-ansibleee-operator#9 Change-Id: I030518bb8807aad9fb0d480a130d327522de707d
…er-chmod Better handling of the chmod
A few things, Could the validation error for status.nodes be related to the cluster age? I ran
oc get config
with the following output:Ran
$ ./bin/manager
- initial state was fine, but once I created ansibleee-test.yml this error came up again. Also, looks like playbook-config map is successfully created. Not sure if I need to introduce creating another job in the reconcile function.