Closed pwalters04 closed 7 months ago
this case is different from https://github.com/ansible/awx/issues/14693 and the error message shows a "partialy" transmitted JSON.
Going through the code I have no idea how this could happen.
receptor read output from the job pod 1 line at a time https://github.com/ansible/receptor/blob/4264e3c0911d0cda5cf0532e5cdb031bcbc7ced2/pkg/workceptor/kubernetes.go#L241
then write to a file on disk https://github.com/ansible/receptor/blob/devel/pkg/workceptor/kubernetes.go#L287
then at ansible-runner process
read from receptorctl work results
(which reads from the stdout file)
we shouldn't be writing partial lines to the stdout file thus receptor shouldnt be trasmitting partial lines to ansible-runner process
@pwalters04 can u try the debug step I wrote here https://github.com/ansible/receptor/blob/devel/pkg/workceptor/kubernetes.go#L287
provide me with
the /api/v2/jobs/
Hi @TheRealHaoLiu Thank you for your help. I am no longer getting this error after I update the spec on values file with all versions of awx-ee being the same version.
Please confirm the following
security@ansible.com
instead.)Bug Summary
For OCI Dynamic Inventory sourcing, I have created a custom-ee with the base of awx-ee:lates ( as of 2/7). When I attempt to run the job for syncing the inventory source, after ~5800 lines of stdout, I receive the following errors:
My values file is
AWX version
23.5.1
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
No response
Operating system
No response
Web browser
Chrome
Steps to reproduce
Add source project for inventory source, sync
Expected results
inventory imported
Actual results
json parse error
Additional information
No response