Getting an error "Could not resolve host: gitlabce.tools.aws.vodafone.com" while trying to sync with Gitlab

Hi Team,

I’m getting above error while trying to create a project to sync with our gitlab repo(which require user id/password and proxy to connect). I’ve setup proxy in /awx/installer/inventory file, along with environment proxy in server. But unable to set proxy in “Extra Environment Variables” under Awx GUI “Settings” > “Jobs Setting” as getting an error “Edit form coming soon :)”. It would be really great full if someone can help me to sync my AWX with Git Repo.

2 Likes

Do you happen to have the new UI turned on? Here is how you would turn it on/off in Automation controller: https://youtu.be/IBtGCQBkM0A?si=Vi8_J7IIeMubmLl7

My thought is… maybe if you disable the new UX, it will let you edit the setting?

2 Likes

Thanks for your prompt response. But unfortunately, I’m unable to find that option to enable/disable new UI option, I’m using AWX 17.1.0 may be the reason. For more information about my issue, please find the below logs.

fatal: unable to access 'https://github.com/wishmluck/gitlab.git/': Could not resolve host: github.com

2 Likes

Hi @swattik, welcome to the Ansible community forum!

AWX 17.1.0 was released over 2 years ago and it’s already out of support. Since then it has received quite a few updates, including a migration to an Operator based install and support for Execution Environments since AWX version 18.

I think the Jobs Settings form you are looking for was introduced in that same AWX version 18.0.

We are currently in AWX version 23.1.0, so I suggest you start looking into upgrading (you will need to migrate, there is no in-place upgrade path from version 17), the latest release will include a lot of new features and security updates.

1 Like

Thanks Leo for your valuable suggestions. As I’m new to AWX would you mind to share the procedure or any reference link to upgrade the version to the latest one from existing 17.1.0. TIA.

1 Like

@sean_sullivan did answer something related a few days ago, check this out;

Cheers! :slight_smile:

2 Likes

Thank you everyone for yr valuable suggestion. Issue got fixed after upgrading AWX version to 23.2.0.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.