Conversation
|
🎀 |
|
I think docs should be modified too because no more test-integration |
|
Yeah, iptables clean is fun :) |
|
@runcom Just noticed that you still have supervisor. Maybe will be simpler to fix bug after moving all to |
|
About cleanup: you probably should create |
|
@runcom Ok, bug in calling |
|
@LK4D4 there are still issues.. I'm porting tests to integration-cli in the meantime |
9360fb3 to
9ea81f2
Compare
|
@runcom Yeah, because Trap is sucks. Cleanup of graph and stuff on daemon initialization fail should be inside But for now you can use channel |
|
@LK4D4 cool, but then how do you Trap api.Close + daemon.Shutdown? because old behaviour was trap api.Close + d.Shutdown from engine.Shutdown, we now have only a single call to signal.Trap(api.Close), could be that Trap could accepts a slice of funcs to execute also? |
|
You can create closure with any functions you want. |
|
/me shame (but tests green now) |
890ba7e to
42aad7a
Compare
daemon/daemon.go
Outdated
There was a problem hiding this comment.
Only closing graph if there was no error? Don't we want to close no matter what?
Nevermind, this isn't the piece of code I thought it was.
1661c14 to
1820616
Compare
|
LGTM |
docker/daemon.go
Outdated
There was a problem hiding this comment.
So we're just logging that the daemon needs to be force stopped?
There was a problem hiding this comment.
It means that probably not all containers died in 15 seconds and we just brutally kill daemon.
There was a problem hiding this comment.
I know signal.Trap has it's own bail stuff (3 sigs from the user)... but before engine was exiting after ~10s timeout period, now this timeout could probably be increased, but still seems like we should kill it after the timeout.
There was a problem hiding this comment.
@cpuguy83 Who should we kill? :) if mainDaemon function exits, then process just stops, nothing can stand this.
There was a problem hiding this comment.
So as is the daemon will just hang until someone sends 2 more kill sigs to it.
|
Looks really good, just one question, but otherwise LGTM. |
3c6198c to
9f21dab
Compare
|
@runcom Is it ready? |
|
@runcom Oh, requires rebase, sorry :) |
958f68c to
c0c2c7b
Compare
|
@LK4D4 almost, there are many tests inside integration/ that have to be ported to integration-cli/, trying to do my best and as fast as I can 😄 |
c0c2c7b to
4b8cff6
Compare
|
is this ready to go? @LK4D4 ? |
Signed-off-by: Antonio Murdaca <[email protected]>
Signed-off-by: Antonio Murdaca <[email protected]>
4b8cff6 to
f7e417e
Compare
|
Fails looks like registry down. |
|
@LK4D4 yup, need a rebuild |
|
LGTM |
|
🎉 |
close #12255
close #12151
close #12713
close #10389
Related to #12905
Signed-off-by: Antonio Murdaca [email protected]