Uh oh!
There was an error while loading. Please reload this page.
runtime: Add 'creating' to state status - #507
Conversation
wking
commented
Jun 23, 2016
This is a breaking change for callers who depend on the initial status being On the other hand, we allow runtimes to add other statuses as they see fit (which I don'tlike), so callers should arguably be (somehow) prepared to gracefully accept unknown statuses. In that case, we don't have a contract with the callers that this addition breaks, and the rc process can continue forward without restarting. |
mikebrow
commented
Jul 12, 2016
Looks good to me. However, this should be noted as a breaking change as creating is a newly discussed state. RunC 1.0rc does not currently include the creating state. Bit late in the release cycle to be adding new stuff. |
wking
commented
Jul 12, 2016
On Tue, Jul 12, 2016 at 07:29:24AM -0700, Mike Brown wrote:
I agree 1, but I have trouble squaring that with our allowing
If the consensus on state status extension is that this is a breaking |
By breaking I meant .. makes runC not compatible with the spec, not without a PR. I don't see this spec and runc as two different runtimes. Maybe I'm reading it wrong. The text does say MAY be one of ... and does not say MUST include these.. |
wking
commented
Jul 12, 2016
On Tue, Jul 12, 2016 at 01:20:38PM -0700, Mike Brown wrote:
This is probably true of many spec PRs ;). For instance, it is still
It does, I'm just not sure how clients are supposed to process the |
tianon
commented
Nov 4, 2016
I think having a I'd be curious about other maintainer's thoughts about whether a new state is warranted before refactoring though (is there an issue tracking this already?) |
crosbymichael
commented
Nov 4, 2016
@wking its hard to review any of your PRs because you cram so many changes into each one. Please start doing formatting and random changes in separate PRs so we can actually review the changes that you are proposing and not have to filter though all these random changes. Seriously, just look at the diff and try to find the actual change for the new state. |
wking
commented
Nov 4, 2016
On Fri, Nov 04, 2016 at 03:48:28PM -0700, Tianon Gravi wrote:
I tried to break it up into reasonably atomic commits 1. I'm happy
Not that I'm aware of. |
@wking we review PRs not commits as the PR is the unit that gets merged. Its good to split into separate commits to make view easier just as long as the commits are actually related to one another. |
wking
commented
Nov 5, 2016
On Fri, Nov 04, 2016 at 03:52PM -0700, Michael Crosby wrote:
I sat down to do this just now and noticed it was already done :p. As the topic post here points out, “This PR builds on #465, so that should get reviewed first”. |
1a962c0 to
d69038dComparewking
commented
Nov 5, 2016
d69038d to
cfc27a8Comparewking
commented
Jan 6, 2017
cfc27a8 to
08d52a0Comparemrunalp
commented
Jan 18, 2017
We can address this post 1.0. |
To distinguish between "we're still setting this container up" and "we're finished setting up; you can call 'start' if you like". Also reference the lifecycle steps, because you can't be too explicit Signed-off-by: W. Trevor King <wking@tremily.us>
08d52a0 to
65d9d6bCompare
To distinguish between "we're still setting this container up" and
"we're finished setting up; you can call 'start' if you like".
Also reference the lifecycle steps, because you can't be too explicit
Also relax the
pidrequirement from “always” to “only forcreatedand
running”. During thecreatingphase we may not have acontainer process yet (e.g. if we're still reading the configuration
or setting up cgroups), and in the
stoppedphase the PID is nolonger meaningful.
Some discussion with @mikebrow around this starting here.
This PR builds on #465, so that should get reviewed first.