Anubis breaks openQA developer mode (websockets) #13252
Labels
No labels
announcement
anubis
authentication
aws
backlog
blocked
bodhi
ci
cloud
communishift
copr
database
day-to-day
dc-move
deprecated
dev
discourse
dns
downloads
easyfix
epel
firmitas
forgejo_migration
Gain
High
Gain
Low
Gain
Medium
gitlab
greenwave
hardware
help wanted
high-trouble
koji
koschei
lists
low-trouble
medium-trouble
mirrorlists
monitoring
Needs investigation
odcs
OpenShift
ops
outage
packager_workflow_blocker
pagure
permissions
Priority
Needs Review
Priority
Next Meeting
Priority
🔥 URGENT 🔥
Priority
Waiting on Assignee
Priority
Waiting on External
Priority
Waiting on Reporter
rabbitmq
release-monitoring
releng
request-for-resources
s390x
security
SMTP
sprint-0
sprint-1
src.fp.o
staging
unfreeze
waiverdb
websites-general
wiki
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/tickets#13252
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description of request
We put openQA (prod and stg) behind Anubis yesterday due to a bot flood, but discovered that breaks openQA's "developer mode", which uses websockets. There's some debug steps for developer mode here; there's also an architectural diagram here. On the openQA worker hosts, the ports used for the livehandler -> command server connection (AIUI) are listed in the host vars as
tcp_ports, e.g. in https://forge.fedoraproject.org/infra/ansible/raw/branch/main/inventory/host_vars/openqa-a64-worker01.rdu3.fedoraproject.org .So, as near as I can guess, this is happening because the proxy through anubis isn't also proxying websockets...
In roles/httpd/reverseproxy/templates/reversepassproxy.conf we setup some websocket proxy stuff, which results in:
So what I think we need to do is in roles/httpd/website/templates/website.conf I guess duplicate the above to proxy those before the rest of requests go to anubis... but I am not sure if we have all the right template variables at that point.
ok, that worked in staging, submitted infra/ansible#3276 to roll to prod.
yay, thanks robot overlord.
ok, this should be rolled out to prod now too.
Let us know if it has any further issues.