Hi,
When trying to launch a template from the cli I get an error back ‘POST’. here is a verbose output- hoping someone can help me?
awx --conf.host http://awx.example.com --conf.token '*****' --conf.insecure job_templates launch 'Add_DB_Users' -v
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): awx.example.com:80
DEBUG:urllib3.connectionpool:http://awx.example.com:80 "GET /api/ HTTP/11" 200 14544
DEBUG:awxkit.api.client:"GET http://awx.example.com/api/" elapsed: 0:00:00.387009
DEBUG:awxkit.api.registry:Retrieved <class 'awxkit.api.pages.api.ApiV2'> by url: /api/v2/
DEBUG:urllib3.connectionpool:http://awx.example.com:80 "GET /api/v2/ HTTP/11" 200 2184
DEBUG:awxkit.api.client:"GET http://awx.example.com/api/v2/" elapsed: 0:00:00.206752
DEBUG:awxkit.api.registry:Retrieved <class 'awxkit.api.pages.job_templates.JobTemplates'> by url: /api/v2/job_templates/
DEBUG:urllib3.connectionpool:http://awx.example.com:80 "OPTIONS /api/v2/job_templates/ HTTP/11" 200 21388
DEBUG:awxkit.api.client:"OPTIONS http://awx.example.com/api/v2/job_templates/" elapsed: 0:00:00.246635
DEBUG:awxkit.api.registry:Retrieved <class 'awxkit.api.pages.job_templates.JobTemplates'> by url: /api/v2/job_templates/
DEBUG:urllib3.connectionpool:http://awx.example.com:80 "OPTIONS /api/v2/job_templates/1/ HTTP/11" 200 15921
DEBUG:awxkit.api.client:"OPTIONS http://awx.example.com/api/v2/job_templates/1/" elapsed: 0:00:00.249844
DEBUG:urllib3.connectionpool:http://awx.example.com:80 "OPTIONS /api/v2/job_templates/1/launch/ HTTP/11" 200 5430
DEBUG:awxkit.api.client:"OPTIONS http://awx.example.com/api/v2/job_templates/1/launch/" elapsed: 0:00:00.228285
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/awxkit/cli/__init__.py", line 25, in run
cli.parse_resource()
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/awxkit/cli/client.py", line 166, in parse_resource
response = self.parse_action(resource)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/awxkit/cli/client.py", line 206, in parse_action
parser = ResourceOptionsParser(self.v2, page, self.resource, subparsers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/awxkit/cli/options.py", line 100, in __init__
self.handle_custom_actions()
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/awxkit/cli/options.py", line 297, in handle_custom_actions
action(self.page).add_arguments(self.parser, self)
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/awxkit/cli/custom.py", line 68, in add_arguments
launch_time_options = launch_time_options.json()['actions']['POST']
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
KeyError: 'POST'