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

Service with start-once sidekick shows service state as 'started once' rather than 'active' #4748

Closed
sshipway opened this issue May 10, 2016 · 9 comments
Assignees
Labels
area/workload kind/bug Issues that are defects reported by users or that we know have reached a real release

Comments

@sshipway
Copy link

sshipway commented May 10, 2016

Rancher Version:
1.1.0-dev1
Docker Version:
1.9.1
OS and where are the hosts located? (cloud, bare metal, etc):
CoreOS-stable
Setup Details: (single node vs. single node, internal DB vs. external DB)
Multi-host, single Rnacher, internal DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
Start Datadog catalogue item. This creates one service instance per host, with a start-once sidekick
Results:
Service and stack show status as 'started once'
Expected:
Service and stack should be in 'Active' state as main container is 'active'. There is no reason for started-once state on the service sidekick to take priority over the actual service container state, and it gives the incorrect impression that the stack is no longer active when in fact it is.

@sshipway sshipway changed the title Serive with start-once sidekicks shows state as 'started once' rather than 'active' Service with start-once sidekick shows service state as 'started once' rather than 'active' May 10, 2016
@aemneina
Copy link

Reproduced this, where stack is reported started-once. Where there are active containers running. Stack should report active..

@aemneina aemneina added kind/bug Issues that are defects reported by users or that we know have reached a real release area/workload labels May 16, 2016
@aemneina aemneina added this to the Release 1.1 milestone May 16, 2016
@alena1108
Copy link

alena1108 commented May 17, 2016

@aemneina what catalog item have you used to reproduce the issue? datadog as well?

@deniseschannon
Copy link

Steps to Reproduce:

  1. Start Datadog catalog item
  2. Click on service containers to view all the status of the containers.

Service/Stack are "Started once" even though there are containers in "Active" state.

@alena1108
Copy link

@sshipway @deniseschannon @aemneina that's a great bug :) happens when stars are aligned as follows:

  • service should have n >= 1 sidekicks
  • service should be global
  • number of launch configs having startOnce=true should be greater than number of launchConfigs having startOnce=false

@sshipway
Copy link
Author

@alena1108 Do I win a cookie? :)

@alena1108
Copy link

@sshipway 2 cookies :)

@vincent99
Copy link
Contributor

Here you go... Set-Cookie: winner=sshipway; Expires=Wed, 24 Feb 2021 18:42:00 GMT

@sshipway
Copy link
Author

@vincent99 Thanks... hey! Ghostery ate it before I could get my hands on it! Typical.

@deniseschannon
Copy link

Verified with v1.1.0-dev4 that datadog shows up as "Active"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/workload kind/bug Issues that are defects reported by users or that we know have reached a real release
Projects
None yet
Development

No branches or pull requests

6 participants