GithubHelp home page GithubHelp logo

Comments (2)

TheRealHaoLiu avatar TheRealHaoLiu commented on June 3, 2024

this case is different from #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/ of the fail job (or if its inventory update or whatever "job-ish" that resulted in with the error)
receptor log during the failure

from awx.

pwalters04 avatar pwalters04 commented on June 3, 2024

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.

from awx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.