awx-operator icon indicating copy to clipboard operation
awx-operator copied to clipboard

cannot download playbook from redhat insights

Open bskou57 opened this issue 6 months ago • 4 comments

Please confirm the following

  • [X] I agree to follow this project's code of conduct.
  • [X] I have checked the current issues for duplicates.
  • [X] I understand that the AWX Operator is open source software provided for free and that I might not receive a timely response.

Bug Summary

Hi

When creating a project to download playbooks (plan) from my redhat insights account I got below error message :

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 Example Domain\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

Thanks for your support

AWX Operator version

2.8.0

AWX version

23.5.0

Kubernetes platform

kubernetes

Kubernetes/Platform version

v1.27.7+k3s2

Modifications

no

Steps to reproduce

create credential for insights

create project to download playbooks from insights

Error occured

Expected results

project sync successfully

Actual results

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 Example Domain\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

Additional information

No response

Operator Logs

No response

bskou57 avatar Jan 22 '24 10:01 bskou57

same issue in #930. Not fixed yet...

oegk12sh avatar Jan 22 '24 10:01 oegk12sh

Hi

Any plan to fix it ?

Do you have a work arround ?

bskou57 avatar Jan 22 '24 10:01 bskou57

https://github.com/ansible/awx-operator/issues/930#issuecomment-1903910659

kurokobo avatar Jan 22 '24 12:01 kurokobo

Hi Kurokobo

Works fine

thanks for your help again

bskou57 avatar Jan 22 '24 16:01 bskou57