-
Notifications
You must be signed in to change notification settings - Fork 229
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
Broken workflows due to the driver's lack of [re]start container capabilities #301
Comments
It's is probably worth noting that manually starting the stopped container does not help, because it would most probably start it bound to a different port. For example, continuing on what has been reported above:
Will start the container. But now its port
It means that a But manually restarting the container as shown above will allow engineers to run I guess the above highlights the driver's lack of behaviour to deal with these scenarios and how having to manually [re]start the stopped container don't actually solve the problem but leaves things in a broken state and open to "manual intervention". Hope this makes sense. Any question let me know! |
Are you trying to run |
@coderanger no, I'm not. |
Hi,
I am not sure this is intended behaviour, but I found myself having to manually manage the containers initially created/managed by
test-kitchen
via thekitchen-docker
driver because it is currently unable to (re?)start the containers it initially created/managed.For example, when I start from scratch with a clean slate (so no container is running and no image is pulled from upstream sources), I can normally use the normal
kitchen create
,kitchen converge
,kitchen verify
workflow.But if I am not yet done with working on something, and I leave things as-is for the day, restart the laptop, etc and come back to it the day after for example, then the moment I tell test-kitchen to
create
orconverge
, I start to get the following:As you can see, it's stuck in an endless quest for connection. Additionally, this is sligthly confusing because it doesn't really tell what the real issue is. That is only highlighted when a
destroy
command is issued. Please see below.The real issue here seems to be that test-kitchen (via the kitchen-docker driver) is unable to do anything because of the
stopped container a9f6376b9051
.Shouldn't the driver be able to restart stopped containers so that it can then perform the actions it has been instructed to do? (
create
,converge
,destroy
, etc)Thanks.
PS: I think this is somehow related to #285 as stopped containers are mentioned there, too.
The text was updated successfully, but these errors were encountered: