Comments (8)
@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.
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.
@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.
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.
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.
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.
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.
Fixed in GoCD core as part of gocd/gocd#5335
from kubernetes-elastic-agents.
Related Issues (20)
- Cannot add new Cluster Profile HOT 4
- Elastic agents don't get assigned HOT 11
- Passing environment variables to Elastic Agents from templates HOT 2
- Wrong size parsing in utils/Size.java HOT 4
- Agents are killed after 10 minutes HOT 8
- Question: Which rule is the plugin using when it choose the k8s node for the agent? HOT 2
- Long delay when creating new agents. HOT 13
- Use other env variable in elastic agent pod name than POD_POSTFIX HOT 3
- Elastic agents should be able to use `http` to server communication HOT 1
- Limit number of Elastic Agents running per cluster profile HOT 6
- Secure Environment variables on elastic agent HOT 1
- getting Could not parse certificate: java.io.IOException: Empty input HOT 2
- Remote Configuration in Bitbucket private repo returns 403 HOT 2
- The pod is interrupted within 100s HOT 5
- If using a non-default namespace, GoCD is unable to render the status report page HOT 1
- After the gocd db data is migrated, the following error message is displayed: HOT 5
- Better document how to get service account tokens on modern Kubernetes HOT 4
- Cluster Status Report unable to render after restarting the GoCD server, cluster profile params returned in plain text HOT 5
- Incorrect credentials being used when creating Kubernetes Client HOT 6
- Need to insatll java on this gocd docker image what is the procedure , please anyone help HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes-elastic-agents.