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

Getting a error about container is in running state #14

Closed
maZahaca opened this issue Nov 10, 2016 · 2 comments
Closed

Getting a error about container is in running state #14

maZahaca opened this issue Nov 10, 2016 · 2 comments

Comments

@maZahaca
Copy link

I've started crontab service and my container which should be executed every 10 minutes,
It appeared as "Started-once", but then changed a state to just "Active". Since that I'm getting a error in the crontab service:


11/10/2016 1:28:30 PMtime="2016-11-10T10:28:30Z" level=error msg="Could not find any containers with label com.socialengine.rancher-cron.schedule"
11/10/2016 1:29:00 PMtime="2016-11-10T10:29:00Z" level=info msg="adding container to cron" containerName="old_cron-update-api-rates_1" containerUUID=9b7a4b72-eec1-4126-8d42-77d505e168d3 schedule="@every 1m"
11/10/2016 1:30:02 PMtime="2016-11-10T10:30:02Z" level=error msg="Failed to start container: container is not stopped. Currently in [starting] state" containerId=1i2963 containerUuid=9b7a4b72-eec1-4126-8d42-77d505e168d3
11/10/2016 1:31:01 PMtime="2016-11-10T10:31:01Z" level=error msg="Failed to start container: container is not stopped. Currently in [running] state" containerId=1i2963 containerUuid=9b7a4b72-eec1-4126-8d42-77d505e168d3
@smazurov
Copy link
Contributor

does your container stays running too long, or taking a while to start?

@maZahaca
Copy link
Author

maZahaca commented Nov 14, 2016

Hello, for now it's just fine.
Issue had happened when the service was running a very long time

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