Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

rkt: Make run-prepared rerunnable when mds is missing #1436

Merged

Conversation

blixtra
Copy link
Collaborator

@blixtra blixtra commented Sep 18, 2015

When a user has no metadata service running and runs rkt run-prepared
without specifying mds-register=false, the pod is left in the run state
and the user needs to reprepare the pod again to rerun.

To avoid this scenario, this commit does an early check to see if the
metadata service is available before the pod is moved to the run state.

fixes #1434

When a user has no metadata service running and runs rkt run-prepared
without specifying mds-register=false, the pod is left in the run state
and the user needs to reprepare the pod again to rerun.

To avoid this scenario, this commit does an early check to see if the
metadata service is available before the pod is moved to the run state.

fixes rkt#1434
@jonboulle
Copy link
Contributor

LGTM, @eyakubovich @steveej this seem like a reasonable check?

@eyakubovich
Copy link
Contributor

Good check. LGTM.

jonboulle added a commit that referenced this pull request Sep 23, 2015
…runnable

rkt: Make run-prepared rerunnable when mds is missing
@jonboulle jonboulle merged commit bd99e97 into rkt:master Sep 23, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rkt: run-prepared should leave pod in prepared state on error
3 participants