[merged] Migrate script should now work since we are after docker-1.10#498
[merged] Migrate script should now work since we are after docker-1.10#498shishir-a412ed wants to merge 1 commit intoprojectatomic:masterfrom
Conversation
Signed-off-by: Shishir Mahajan <shishir.mahajan@redhat.com>
|
This is a followup PR for #475. I have tested this on docker 1.12 and migrate tests run successfully on my local machine. Lets see if it passes jenky (docker 1.10) here. This PR fixes 3 issues:
I checked with @willmtemple and since there were no references to this Dockerfile, I have removed it.
When With this PR, When importing if the Shishir |
| @@ -1,4 +0,0 @@ | |||
| FROM scratch | |||
There was a problem hiding this comment.
Please see point (2) above.
There was a problem hiding this comment.
Ok and no one was using this container? Does atomic migrate blow up with this situation? Why shouldn't this work?
There was a problem hiding this comment.
docker doesn't allow saving empty images.
You can take this Dockerfile (the one I deleted), place it in /tmp and build an image.
a) docker build -t empty /tmp
b) docker save empty > empty_image.tar
When trying (b) you should get an error Error response from daemon: empty export - not implemented.
This is something docker doesn't provide. It has nothing to do with atomic migrate export
|
Awesome |
|
📌 Commit 6e06772 has been approved by |
|
☀️ Test successful - status-atomicjenkins |
|
now test_migration fails for me like: |
|
I get a similar result: Also, I noticed that the "migrate-dir" currently gets generated in the source folder (i.e. /atomic/migrate-dir), and isn't cleaned up. |
|
@giuseppe @yuqi-zhang That's strange. Can I SSH into one of your machine to take a look ? @yuqi-zhang the Shishir |
|
I can reproduce on a fresh installed F24 VM. I use this Ansible playbook to provision it and then just git clone atomic and run https://gist.github.com/giuseppe/065818b9e6c962b91775be6104e2ca74 |
Signed-off-by: Shishir Mahajan shishir.mahajan@redhat.com