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
ElasticSearch fails to deploy with swagger_type error #6
Comments
|
So I think I identified an issue in this file: https://github.com/ansibleplaybookbundle/es-apb/blob/master/roles/provision-es-apb/templates/elasticsearch-is.yml.j2 If you look in the The error I'm seeing is the |
|
Looks like it is trying to replace the |
|
Well, I looked some more before bed, and I'm not sure the APB is really doing anything wrong, especially since I looked at the history, and this has pretty much been like this since it was created over 3 months ago. I suspect something must have changed in the ansible-kubernetes-modules repository, perhaps in this module: https://github.com/ansible/ansible-kubernetes-modules/blob/master/library/openshift_v1_image_stream_tag.py |
|
Given the error: unable to get swagger_type for from in __compare_obj_list() for item {'from': {'kind': 'DockerImage', 'name': 'registry.centos.org/rhsyseng/elasticsearch:6.2.1'}, 'name': '6.2.1'} It seems to be complaining it can't find from in the swagger types for the loaded class. In this case, we believe the class is: And so the swagger_types are defined at: As one can see, "from" is not a key in this swagger_type dictionary. However, "_from" is present in the dict. Is it possible that there is some sort of key translation that is missing, or that the template being used should be changed such that the item is defined as "_from" instead of "from"? Just thinking out loud. |
|
Since I can't reproduce this now (I guess something new was published that fix this), I'm going to close it out for now. If I run into it again, I'll reopen the issue. |
Attempting to deploy the ElasticSearch APB on OpenShift Origin 3.9 and running into the following error:
I've validated that the
broker_configConfigMap is setup to haveopenshiftwithsandbox_role: adminand rolled out a new DeploymentConfig for ASB. (I know it works because I had an issue with unable to create a RoleBinding, but after the change that works fine. :))Here are the logs for the ASB pod, and then the logs from the ES pod during deployment.
ASB logs starting the deployment
ES deployment failure logs from pod
The text was updated successfully, but these errors were encountered: