Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

fix daemon restore #511

Merged
merged 7 commits into from
Feb 14, 2017
Merged

fix daemon restore #511

merged 7 commits into from
Feb 14, 2017

Conversation

Crazykev
Copy link
Contributor

  1. add saveSandbox() to save runv sandbox persistence info.
  2. implement some workflow in save/restore pod data.
  3. fix some bugs.

For now, this PR could only support not running pod restore, others will be fixed in next PR in runv/hyperd.

Signed-off-by: Crazykev <crazykev@zju.edu.cn>
Signed-off-by: Crazykev <crazykev@zju.edu.cn>
Signed-off-by: Crazykev <crazykev@zju.edu.cn>
Signed-off-by: Crazykev <crazykev@zju.edu.cn>
Signed-off-by: Crazykev <crazykev@zju.edu.cn>
@laijs
Copy link
Contributor

laijs commented Feb 13, 2017

it seems one of the pod (ID: "busybox") was failed to be removed without any notification, but the next creations of pods failed.

@Crazykev
Copy link
Contributor Author

Just notice that removing pod data from db is also not implement yet, so those test pods(including ID:"busybox") is restored when hyperd start again. I guess this is the reason that when running integration test the second time, many cases will fail.

@laijs
Copy link
Contributor

laijs commented Feb 13, 2017

you could remove all pods at the end of every test

Signed-off-by: Crazykev <crazykev@zju.edu.cn>
Signed-off-by: Crazykev <crazykev@zju.edu.cn>
@Crazykev
Copy link
Contributor Author

@laijs I've tried to add removing pod/container from daemondb, it should work now.

@laijs
Copy link
Contributor

laijs commented Feb 14, 2017

LGTM

@laijs laijs merged commit 4a8ad34 into hyperhq:master Feb 14, 2017
@Crazykev Crazykev deleted the restore branch February 14, 2017 06:55
@gnawux gnawux added this to the v0.8.0 milestone Mar 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants