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
Support CockroachDB as back end DB for Ansible Tower #51617
Comments
Hello, I am Blathers. I am here to help you get the issue triaged. It looks like you have not filled out the issue in the format of any of our templates. To best assist you, we advise you to use one of these templates. I have CC'd a few people who may be able to assist you:
If we have not gotten back to your issue within a few business days, you can try the following:
🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
@mgoddard It looks like the Ansible Tower setup.sh does overwrite that configuration file. Here is the change in the Ansible side that adds that behavior: ansible/awx#3235 I think the way forward would be to make an issue in the https://github.com/ansible/awx/ repository, and ask if they can allow the tool to accept a user-specified Django engine. As a shorter workaround, perhaps you could edit the following file inside of the Longer-term, to avoid issues like this happening again, we'd have to ask the Ansible Tower team to add first-class support for CockroachDB. @jordanlewis FYI the missing SQL feature here is operator classes, see #47420 |
Thank you, @rafiss ! And apologies for taking this long to see your note. I'll pass this advice on to Daniel. |
We briefly explored the feasibility of substituting CockroachDB for PostgreSQL 10 as the back end database for our Ansible Tower installation. We don't have access to the Ansible Tower code base, but wanted to just check whether we could do this swap. We're hoping for some guidance on how we should proceed, whether this is solvable from the Cockroach end, or if it's better taken up on the Ansible end.
Here are the details:
https://github.com/cockroachdb/django-cockroachdb
# python3 -m pip install django-cockroachdb==3.0.*
/usr/local/lib/python3.6/site-packages/django_cockroachdb
$ cockroach start-single-node --certs-dir=certs --listen-addr=localhost:26257 --http-addr=localhost:8080 --background
ansible-tower-setup-bundle-latest.el7.tar.gz
archive states you can install in any of three ways, with one of them beingOn a single machine with a remote PostgreSQL database. Supplying the pg_host and pg_port variables will trigger this mode of installation.
. This was the option we chose.setup.sh
install script, we saw errors showing, among other issues (we will attach some error log output), the following:Jira issue: CRDB-4026
The text was updated successfully, but these errors were encountered: