Remove --no-domain-checks; warn on abra server add
#631
Closed
opened 2024-07-24 15:47:49 +00:00 by p4u1
·
7 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
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#631
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.
When adding a new server abra does a domain check by default. After coop-cloud/abra#415 it is possible to specify non TLD resolving host names. The domain check can be confusing in those cases. Maybe it would be better to only show a warning when the server is not dns resolvable. The warning could also metion that this could lead to problems with traefik.
Related #566
Nice. However, when you choose a not-resolvable-domain, you'll always see this warning 🥵
I think it was a nice idea to try to help operators by doing this automatically but we're starting to see quite a few limits in this kind of design when the use cases get more diverse. It fits one but not the other and CLI ergonomics are suffering.
Maybe a third way is to start to move the choice into the
abraconfig file. Something like:And the default is
resolve_dns: false(change in behaviour)?The advantage is that we'll also speed up operations by disabling it. I do think about how to make
abrafast again. Maybe this is also a slow phase shift from "make it work" to "make it work fast".decentral1se referenced this issue2024-07-24 19:48:02 +00:00
My thought was to only show the warning on Abra server add. I'm hesitant with adding a config option in generall if we can solve the problem without one
Oh yeh, that's actually pretty great. 👍 for me then to drop
-Dand only warn onabra server add.Discuss if domain check is necessaryto Remove --no-domain-checks; warn on `abra server add`in our case the coopcloud server is behind a reverse proxy so we always have to add the app to the internal domain (server.comun) but create the app on the public domain (server.abyaya.la) and deploy with --no-domain-checks.
Does this PR implement what we're talking about here? coop-cloud/abra#448
PR above merged, it only removes the
-Dfromserver add, I can remove it from other commands likedeployandapp new..etc if necessary/cc @fauno
Let's say this one is solved for now based on lack of new feedback and the work done in #631 (comment). Please feel free to re-open if you feel strongly about it. Thanks @ammaratef45!