Remove Docker provisioning logic? #389
Closed
opened 2023-01-24 10:58:00 +00:00 by decentral1se
·
3 comments
Labels
Clear labels
abra
awaiting-feedback
backups
bug
build
ci/cd
community organising
contributing
coopcloud.tech
design
documentation
duplicate
enhancement
fedi
fedi-infra
finance
funding
good first issue
help wanted
installer
legal
performance
proposal
question
security
test
wontfix
Everything to do with abra
Ping/pong on comms
Something is not working
Go build related issues
Getting the robots into the mix
Opening this thing up
Contributors stuff
Our main website
Design thinking required
Let's write things together
This issue or pull request already exists
New feature
Democratic decision making
Money things
Anything related to grant funding
Easy start with development
Need some help
Installation related issues
Performance related
Large change which requires feedback & decisin making
More information is needed
Securing our shit
Unit or integration test suite
This won't be fixed
No labels
question
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
BornDeleuze
Brooke
carla
cas (Cassowary)
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
iexos
jade (Jade Ambrose)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
renovate-bot (Comrade Renovate Bot)
ripclap
simon
sixsmith (Sixsmith)
stevensting
trav (Trav Fryer)
val (val (he/him))
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: toolshed/organising#389
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I'm trying to work through coop-cloud/organising#380 and one part of it is that
abratries to handle provisioning Docker on remote servers.This complicates the SSH handling because we try to suport both ssh key authentication, ssh password authentication and also, support input of sudo password if not running commands as root on the server 🤯
This is where
abrastarts to drift into pretending to be a configuration management tool like Ansible or Terraform? But I'm not sure it should.It would significantly reduce the complexity of managing SSH inside
abraif we could remove this functionality. This would help to make SSH handling simpler and more predictable inabra. See tickets referenced from coop-cloud/organising#380 for how many issues we've had with this...Thoughts? Do people use this feature?
At Autonomic, we're using other tools to provision our servers.
I am a big fan of deleting code.
We also use other tools to provision vms at local-it. Also in terms of seperation of concerns deleting this bit seems to be the right choice to me.
But I still fancy the idea to just type
abra server newand get a vm (with best-practice setup) ready to deploy apps.Maybe interacting with other tools could be a way. For instance we could use Terraform to provision vms and use smth like terranova to interact? Same for
-pwith ansible ... But not sure it that would mean just a mess of dependencies...Yeh, that makes sense. There was some talk of Terraform integration back in coop-cloud/organising#106 (comment) but we didn't go down that route at the time.
It's not that much in the end https://docs.coopcloud.tech/operators/handbook/#how-do-i-bootstrap-a-server-for-running-co-op-cloud-apps 🤔
For the
abra server newpath...I did try using
cloud-initat some point and it wasn't too bad. If we had just those basic commands in the above docs available as anothercurl https://$SOMETHING.coopcloud.tech | bashand that was a one-liner, then we could include it? I know Hetzner supports this at least: https://community.hetzner.com/tutorials/basic-cloud-confighttps://cloudinit.readthedocs.io/en/latest/
Trying to implement anything "fancy" inside the file is not worth it though. I wouldn't recommend it at all. But doing a simple Bash script should be fine...
This doesn't really help with the
server add -ppath though...I think I'm gonna err on removing this for now. There are various conversations going on about how to address this but it seems most people think that
abraprobably isn't the best place to try and solve it. The nextabrarelease won't be for some time, so hopefully we come up with a solution. If anyone has concerns, please let me know, can address comments here, even after this is closed.decentral1se referenced this issue from toolshed/abra2023-01-26 11:19:20 +00:00
decentral1se referenced this issue from toolshed/abra2023-01-31 20:43:01 +00:00