Registering a host to a loadbalancer in a load-balanced Red Hat Capsule 6.x deployment fails with `curl: (7) Failed to connect to load_balancer.example.com port 9090: Connection refused` error
Issue
-
Registering a host to a loadbalancer in a load-balanced Red Hat Capsule 6.x deployment fails with the following error:
# curl -sS --insecure 'https://load_balancer.example.com:9090/register?activation_keys=RHEL-s-v14' -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo0LCJpYXQiOjE3Mjk4NjA5NTUsImp0aSI6IjRkZGRlM2RhYmJkZmY1NmVlMWZlMTFjYWI4YjA2NmMyYzkzZGNmNDY1OGE0Y2E4NGNiMTM2YTg2OGJhZmMxMjQiLCJleHAiOjE3Mjk4NzUzNTUsInNjb3BlIjoicmVnaXN0cmF0aW9uI2dsb2JhbCByZWdpc3RyYXRpb24jaG9zdCJ9.LB2hYm5Vi8uaa71a3H8JBGuYtGPsoBqJwOOjOfVT2K0' | bash curl: (7) Failed to connect to load_balancer.example.com port 9090: Connection refused
Environment
- Red Hat Satellite 6.x
- 2 (or more) load-balanced external Capsules.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.