Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show Elastic Agent Starting state on agent status page #19

Open
GaneshSPatil opened this issue Jan 24, 2018 · 1 comment
Open

Show Elastic Agent Starting state on agent status page #19

GaneshSPatil opened this issue Jan 24, 2018 · 1 comment

Comments

@GaneshSPatil
Copy link
Contributor

Issue Type

Bug Report

Summary

When kubernetes pod for the elastic agent is starting up (let's say pulling the image), accessing the agent status report page throws an error with message "ContainerCreating".

Possible Fix

Do not throw an error in case of the pending pod.
Show appropriate message depending on the state of the pod. Example: Starting Elastic Agent..

@bdpiprava
Copy link
Contributor

bdpiprava commented Feb 21, 2018

Agree, This requires little effort to identify the current state of the container. It varies from plugin to plugin. We already have placeholder issue on k8s plugin https://github.com/gocd/kubernetes-elastic-agents/issues/19.

Usecases

  • 1. Identify create container request is not processed.
  • 2. Container create request is processed but the container is not created yet(e.g. pulling a docker image).
  • 3. The job is finished and the container is deleted. This will be little tricky and we cannot identify the difference between this and usecase-1.

screen shot 2018-02-16 at 5 43 17 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants