Cloud connector fails with error insights services authentication failed 401 Unauthorized
Issue
-
While executing cloud connector playbook on Red Hat Satellite is fails with below error
fatal: [asteroid.int.bellmts.ca]: FAILED! => {"changed": false, "connection": "close", "content": "Insights services authentication failed\n", "content_length": "40", "content_type": "text/plain", "date": "Thu, 09 Jun 2022 14:43:48 GMT", "elapsed": 60, "msg": "Status code was 401 and not [200]: HTTP Error 401: Unauthorized", "redirected": false, "server": "openresty", "set_cookie": "b3e2e456866f84f3604b36899c8be8b3=ddcce2c62529fa6e90fdc2b1e94499c0; path=/; HttpOnly; Secure; SameSite=None", "status": 401, "url": "https://cert.cloud.redhat.com/api/sources/v2.0/source_types?name=satellite", "x_content_type_options": "nosniff", "x_frame_options": "SAMEORIGIN", "x_rh_edge_cache_status": "Miss from child, Miss from parent", "x_rh_edge_reference_id": "0.a614e8ac.1654785828.29b4cda4", "x_rh_edge_request_id": "29b4cda4", "x_rh_insights_request_id": "c0d7535a5ded456da8903c689d20a16a"}
Environment
- Red Hat Satellite 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.