Skip to content
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

pymongo.errors.OperationFailure #34

Open
waa8288 opened this issue Apr 20, 2020 · 7 comments
Open

pymongo.errors.OperationFailure #34

waa8288 opened this issue Apr 20, 2020 · 7 comments
Assignees

Comments

@waa8288
Copy link

waa8288 commented Apr 20, 2020

I installed combine-docker v0.10 and getting the following error when I run any job. I appreciate if some one help where i should look for or what to fix.

<class 'pymongo.errors.OperationFailure'> at 2020-04-20 17:22:40.408612+00:00 with args ('namespace does not exist: combine.record',): namespace does not exist: combine.record

@gordonleacock
Copy link
Collaborator

Please try this and let us know if you have difficulties. :-)

  1. Start mongodb, here’s how. a) If you used ansible to set up combine, just run mongo on the machine where combine is located. b) If you used docker, on the combine machine use a command like docker exec -it combine-docker_mongo_1 /bin/bash and then mongo once inside.

  2. Run the mongo command show dbs.

  3. If ‘combine' isn’t listed then you need to create it with the command use combine which will create it.

  4. Now that we have a combine mongo database and are using it, check on its collections with a show collections command.

  5. If ‘record’ is not show as a collection, we need to create it.

  6. Use the mongo command db.createCollection(“record”).

  7. Exit mongodb and restart combine and try running a job.

@waa8288
Copy link
Author

waa8288 commented Jun 1, 2020 via email

@gordonleacock
Copy link
Collaborator

We'd like you to check on the versions you are running. Please find out what version of elasticsearch are you using, what version of combine are you using (can check by going into combine-docker/combine/combine and running git status), and what version of combine-docker are you using (can check by going into combine-docker and running git status)?

@waa8288
Copy link
Author

waa8288 commented Jun 4, 2020

This is what shows in docker-compose.yml
version: '3.2'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.5.1

combine-docker is v0.10 was installed.

@waa8288
Copy link
Author

waa8288 commented Jun 5, 2020

Hi Gordon,
Any suggestion solution for Elasticsearch problem?

@gordonleacock
Copy link
Collaborator

Sorry you're having problems with the docker install.

Esty and I suspect that some installation issue caused you to end up with the incorrect version of elastic search.

When you do the git status check described above what do you see?

@waa8288
Copy link
Author

waa8288 commented Jun 10, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants