# Does any version of an AWX CLI fully support AWX 9.3.0?

**URL:** <https://forum.ansible.com/t/does-any-version-of-an-awx-cli-fully-support-awx-9-3-0/38442>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [September 15, 2023, 7:07pm UTC](https://forum.ansible.com/t/does-any-version-of-an-awx-cli-fully-support-awx-9-3-0/38442 "2023-09-15T19:07:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![evilkim](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/evilkim/32/3582_2.png) [@evilkim](https://forum.ansible.com/u/evilkim)\
**Post date:** [September 15, 2023, 7:07pm UTC](https://forum.ansible.com/t/does-any-version-of-an-awx-cli-fully-support-awx-9-3-0/38442/1 "2023-09-15T19:07:05Z")

</div>

Seeking an AWX CLI to begin the effort of migrating AWX from 9.3.0 to something much newer (TBD).

Seems the CLI needs to closely match the API but no luck finding any support matrix.

Have tried so far both latest awxkit (23.1.0) and an older version (3.8.3).

Some commands work (e.g. ping, “organizations list”, “jobs list”) but others (e.g “projects”) fail as follows:

(awxkit) $ awx -v --version  
23.1.0

(awxkit) $ awx -v projects  
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): localhost:443  
DEBUG:urllib3.connectionpool:[https://localhost:443](https://localhost:443) “GET /api/ HTTP/1.1” 200 186  
DEBUG:awxkit.api.client:“GET [https://localhost/api/](https://localhost/api/)” elapsed: 0:00:00.330171  
DEBUG:awxkit.api.registry:Retrieved \<class ‘awxkit.api.pages.api.ApiV2’\> by url: /api/v2/  
DEBUG:urllib3.connectionpool:[https://localhost:443](https://localhost:443) “GET /api/v2/ HTTP/1.1” 200 1688  
DEBUG:awxkit.api.client:“GET [https://localhost/api/v2/](https://localhost/api/v2/)” elapsed: 0:00:00.124531  
DEBUG:awxkit.api.registry:Retrieved \<class ‘awxkit.api.pages.projects.Projects’\> by url: /api/v2/projects/  
DEBUG:urllib3.connectionpool:[https://localhost:443](https://localhost:443) “OPTIONS /api/v2/projects/ HTTP/1.1” 200 14379  
DEBUG:awxkit.api.client:“OPTIONS [https://localhost/api/v2/projects/](https://localhost/api/v2/projects/)” elapsed: 0:00:00.372171  
DEBUG:awxkit.api.registry:Retrieved \<class ‘awxkit.api.pages.projects.Projects’\> by url: /api/v2/projects/  
DEBUG:urllib3.connectionpool:[https://localhost:443](https://localhost:443) “OPTIONS /api/v2/projects/1/ HTTP/1.1” 200 8958  
DEBUG:awxkit.api.client:“OPTIONS [https://localhost/api/v2/projects/1/](https://localhost/api/v2/projects/1/)” elapsed: 0:00:00.279471  
DEBUG:urllib3.connectionpool:[https://localhost:443](https://localhost:443) “OPTIONS /api/v2/projects/1/update/ HTTP/1.1” 200 687  
DEBUG:awxkit.api.client:“OPTIONS [https://localhost/api/v2/projects/1/update/](https://localhost/api/v2/projects/1/update/)” elapsed: 0:00:00.158381  
Traceback (most recent call last):  
File “/home/nobody/venv/awxkit/lib/python3.9/site-packages/awxkit/cli/ **init**.py”, line 25, in run  
cli.parse\_resource()  
File “/home/nobody/venv/awxkit/lib/python3.9/site-packages/awxkit/cli/client.py”, line 166, in parse\_resource  
response = self.parse\_action(resource)  
File “/home/nobody/venv/awxkit/lib/python3.9/site-packages/awxkit/cli/client.py”, line 206, in parse\_action  
parser = ResourceOptionsParser(self.v2, page, self.resource, subparsers)  
File “/home/nobody/venv/awxkit/lib/python3.9/site-packages/awxkit/cli/options.py”, line 100, in **init**  
self.handle\_custom\_actions()  
File “/home/nobody/venv/awxkit/lib/python3.9/site-packages/awxkit/cli/options.py”, line 293, in handle\_custom\_actions  
action(self.page).add\_arguments(self.parser, self)  
File “/home/nobody/venv/awxkit/lib/python3.9/site-packages/awxkit/cli/custom.py”, line 67, in add\_arguments  
launch\_time\_options = launch\_time\_options.json()[‘actions’][‘POST’]  
KeyError: ‘POST’

The older awxkit 3.8.3 yields almost identical results.

eKT

---

<div class="post-metadata">

**Author:** ![evilkim](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/evilkim/32/3582_2.png) [@evilkim](https://forum.ansible.com/u/evilkim)\
**Post date:** [September 16, 2023, 3:32pm UTC](https://forum.ansible.com/t/does-any-version-of-an-awx-cli-fully-support-awx-9-3-0/38442/2 "2023-09-16T15:32:36Z")

</div>

The most promising advice I’ve found so far is to install the matching version:

pip3 install --trusted-host [github.com](http://github.com) “[https://github.com/ansible/awx/archive/9.3.0.tar.gz#egg=awxkit&subdirectory=awxkit](https://github.com/ansible/awx/archive/9.3.0.tar.gz#egg=awxkit&subdirectory=awxkit)”

Unable to confirm at this time for reasons beyond my immediate control ☹

So to rephrase: Is there any more current AWX CLI that should be expected to interoperate with AWX 9.3.0 API?

eKT

---

<div class="post-metadata">

**Author:** ![evilkim](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/evilkim/32/3582_2.png) [@evilkim](https://forum.ansible.com/u/evilkim)\
**Post date:** [September 17, 2023, 7:14pm UTC](https://forum.ansible.com/t/does-any-version-of-an-awx-cli-fully-support-awx-9-3-0/38442/3 "2023-09-17T19:14:20Z")

</div>

Update: ansible-tower-cli version 3.3.9 is behaving with AWX 9.3.0 (so far so good)
