Git Product home page Git Product logo

Comments (8)

bdpiprava avatar bdpiprava commented on June 3, 2024

@aamattos - There isn't much change between the previous version of the plugin and 2.0.0. Please, can you provide more information on the same?

from kubernetes-elastic-agents.

aamattos avatar aamattos commented on June 3, 2024

Hi @bdpiparva, I'm using Elastic Agents with Kubernetes (Openshift) and Centos7 Agents.
With version 2.0.0 of the plugin, it appears than whenever a job fail, the console output is empty or truncated.
I rolled back to version 1.0.1-107 and everything was fine again.

from kubernetes-elastic-agents.

bdpiprava avatar bdpiprava commented on June 3, 2024

@aamattos - According to https://github.com/gocd/kubernetes-elastic-agents/compare/v1.0.1..v2.0.0 I don't see any changes in the library or major change in the plugin. Please can you provide more information about the kubernetes environment to reproduce the issue locally?

from kubernetes-elastic-agents.

aamattos avatar aamattos commented on June 3, 2024

According to the release notes of version 2.0.0 : "Added support to terminate pod once job is finished."
I noticed that now agents are immediately killed after job completion (which is great :)).
The problem,I think, is that GoCd has troubles retrieving the job log.
About my environment: I'm using an Openshift origin 3.7 cluster with a GoCd Server Docker Container, and elastic agents based on centos7 agent images.

from kubernetes-elastic-agents.

odays avatar odays commented on June 3, 2024

I am seeing a similar issue to this in a very similar set up. Using version 2 of plugin to talk to an OpenShift cluster, I am not able to see any output in console.log at all, regardless of pass or failure.

Rolled back to the previous version and now seeing the logs. This is with openshift origin 3.11 and gocd 18.10.

from kubernetes-elastic-agents.

adityasood avatar adityasood commented on June 3, 2024

We have identified the issue which was causing the partial or no logs being updated. We are working on a fix and will update the issue with the progress.

from kubernetes-elastic-agents.

bdpiprava avatar bdpiprava commented on June 3, 2024

Closing this as it is a general issue with agent console log reporting. Please watch the progress of the issue at gocd/gocd#5322

from kubernetes-elastic-agents.

maheshp avatar maheshp commented on June 3, 2024

Fixed in GoCD core as part of gocd/gocd#5335

from kubernetes-elastic-agents.

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.