-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insights project synchronisation fails - false URL is used #930
Comments
Hi I have same issue How did you fix your redhat insights project sync failed ? thanks for your support |
PLAY [Update source tree if necessary] ***************************************** |
This was never fixed... |
@oegk12sh @bskou57 ---
apiVersion: awx.ansible.com/v1beta1
kind: AWX
metadata:
name: awx
spec:
...
extra_settings:
- setting: INSIGHTS_URL_BASE
value: '"https://cloud.redhat.com"' |
Existing issue on AWX side: ansible/awx#4447 |
ISSUE TYPE
SUMMARY
Incorrect URL is used for RedHat Insights project synchronisation
ENVIRONMENT
STEPS TO REPRODUCE
Add Insights Credentials.
Add RedHat Insights Project with these linked Credentials.
Click Sync Project to sync the playbooks.
Look on the Output of the failed Job with the type "Source Control Update"
EXPECTED RESULTS
Playbooks from my RedHat Insights Account are synced and available to use.
ACTUAL RESULTS
Failed Job. AWX is not able to sync the Project.
In the error message of the failed job you can see, that the URL is false. The return is a Exampe Domain (www.example.org or www.example.com) message. I am not able to change this domain anywhere.
ADDITIONAL INFORMATION
/usr/local/lib/python3.8/site-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
PLAY [Update source tree if necessary] *****************************************
TASK [Ensure the project directory is present] *********************************
ok: [localhost]
TASK [Fetch Insights Playbook(s)] **********************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Expected /api/remediations/v1/remediations to return a status code of 200 but returned status code "404" instead with content "b'<!doctype html>\n\n\n <title>Example Domain</title>\n\n <meta charset="utf-8" />\n <meta http-equiv="Content-type" content="text/html; charset=utf-8" />\n <meta name="viewport" content="width=device-width, initial-scale=1" />\n <style type="text/css">\n body {\n background-color: #f0f0f2;\n margin: 0;\n padding: 0;\n font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;\n \n }\n div {\n width: 600px;\n margin: 5em auto;\n padding: 2em;\n background-color: #fdfdff;\n border-radius: 0.5em;\n box-shadow: 2px 3px 7px 2px rgba(0,0,0,0.02);\n }\n a:link, a:visited {\n color: #38…
PLAY RECAP *********************************************************************localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
AWX-OPERATOR LOGS
The text was updated successfully, but these errors were encountered: