question

Therequestdidnothaveasubscription-3369 avatar image
0 Votes"
Therequestdidnothaveasubscription-3369 asked prmanhas-MSFT commented

AWX installtion over AKS

I am trying to install AWX on AKS . Once i lost the remote when i am trying to install AWX over it.Rest remaining time I wont lost the remote not a single time .
When i am running this command over AKS
ansible-playbook -i inventory install.yml -vvv

Below error is for your reference.
fatal: [localhost]: FAILED! => {
"changed": true,
"cmd": "kubectl create namespace awx",
"delta": "0:00:00.065356",
"end": "2021-06-11 10:22:58.132373",
"invocation": {
"module_args": {
"_raw_params": "kubectl create namespace awx",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2021-06-11 10:22:58.067017",
"stderr": "The connection to the server localhost:8080 was refused - did you specify the right host or port?",
"stderr_lines": [
"The connection to the server localhost:8080 was refused - did you specify the right host or port?"
],
"stdout": "",
"stdout_lines": []
}

please suggest me what we can do this .

azure-kubernetes-service
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Therequestdidnothaveasubscription-3369 Any update on the issue?

If the suggested response helped you resolve your issue, do "Accept as Answer" and "Up-Vote" for the answer that helped you for benefit of the community.

Thanks.



0 Votes 0 ·

1 Answer

prmanhas-MSFT avatar image
0 Votes"
prmanhas-MSFT answered

@Therequestdidnothaveasubscription-3369 Apologies for the delay in response and all the inconvenience caused because of the issue.

Can you check below and see if it helped or not:

https://www.edureka.co/community/71456/connection-server-localhost-8080-refused-specify-right-host

https://github.com/kubernetes/kubernetes/issues/44665

https://wilsonmar.github.io/kubernetes/

linuxsysadmins.com/install-ansible-awx-on-kubernetes/

Hope it helps!!!

Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as convenient to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.