Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving image postgres:9.4 failed due to save image layers failed: Failed to read from acrhive stream #6059

Open
mhagen-vmware opened this issue Aug 17, 2017 · 4 comments
Labels
kind/defect Behavior that is inconsistent with what's intended priority/p2

Comments

@mhagen-vmware
Copy link
Contributor

I am working on the new archive tests, busybox and ubuntu passed but postgres failed on this command:

bin/imagec -insecure-skip-verify -reference postgres:9.4 -destination /tmp/save/postgres:9.4 -standalone -debug -operation save -host dhcp-192-168-31-147.ci.drone.local:2380 -image-store 564d26db-1224-de10-9098-c5f13a93996d

Logs:
integration_logs_13237_63527562ae6f1fbb890ad47fc9134d26113d4033.zip

From portlayer:

Aug 17 2017 16:55:17.669Z INFO  op=298.107 (delta:10.48533535s): Mounting /dev/sdo to /tmp/mnt605835764
Aug 17 2017 16:55:17.725Z ERROR op=298.109 (delta:10.540413371s): unexpected fault on task retry: &types.TooManyDevices{InvalidVmConfig:types.InvalidVmConfig{VmConfigFault:types.VmConfigFault{VimFault:types.VimFault{MethodFault:types.MethodFault{FaultCause:(*types.LocalizedMethodFault)(nil), FaultMessage:[]types.LocalizableMessage(nil)}}}, Property:""}}
Aug 17 2017 16:55:17.725Z DEBUG [ END ] [github.com/vmware/vic/pkg/fs.(*Ext4).Mount:58] [55.754417ms] /dev/sdo
Aug 17 2017 16:55:17.725Z DEBUG op=298.107 (delta:10.541098173s): incremented mount count for /tmp/mnt605835764: 1
Aug 17 2017 16:55:17.725Z DEBUG op=298.107 (delta:10.541112105s): Created mount data source for access to ds://%5Bdatastore1%5D%20VCH-13237-3789/VIC/564d26db-1224-de10-9098-c5f13a93996d/images/4324054824cdf2e9a4f3f071f92a4020c475fc699e873bbf3fc08f810d0196a7/4324054824cdf2e9a4f3f071f92a4020c475fc699e873bbf3fc08f810d0196a7.vmdk at /tmp/mnt605835764
Aug 17 2017 16:55:17.725Z DEBUG op=298.107 (delta:10.541124664s): Created mount data source at /tmp/mnt605835764
Aug 17 2017 16:55:17.725Z DEBUG op=298.107 (delta:10.541140754s): Listing image stores under {datastore1 VCH-13237-3789/VIC}
Aug 17 2017 16:55:17.746Z ERROR op=298.109 (delta:10.561585426s): vmdk storage driver failed to attach disk: Number of virtual devices exceeds the maximum for a given controller.
Aug 17 2017 16:55:17.746Z DEBUG [ END ] [github.com/vmware/vic/pkg/vsphere/disk.(*Manager).attach:330] [9.558902453s] 
Aug 17 2017 16:55:17.746Z DEBUG [ END ] [github.com/vmware/vic/pkg/vsphere/disk.(*Manager).CreateAndAttach:153] [9.907207436s] [datastore1] VCH-13237-3789/VIC/564d26db-1224-de10-9098-c5f13a93996d/images/eff136e9eb35e0904e9690806784adab5f3d21606a29699a764bb87fe81eeb97/eff136e9eb35e0904e9690806784adab5f3d21606a29699a764bb87fe81eeb97.vmdk
Aug 17 2017 16:55:17.746Z ERROR op=298.109 (delta:10.561614326s): export failed: Number of virtual devices exceeds the maximum for a given controller.

Not sure if it is related or not, but it looks like:
export failed: Number of virtual devices exceeds the maximum for a given controller.
started to happen with this test only.

@mhagen-vmware mhagen-vmware added kind/defect Behavior that is inconsistent with what's intended priority/p0 labels Aug 17, 2017
@mhagen-vmware mhagen-vmware added this to the Sprint 15 milestone Aug 17, 2017
@mhagen-vmware
Copy link
Contributor Author

docker diff does not work on this container at all:

docker -H 192.168.254.148:2375 diff postgres
Error response from daemon: Server error from portlayer: Server error from portlayer: Server error from archive reader for device 752573d5a7a5e233a0fda8e3443d5247e5f2bb530deb9a696bd8b2a05b5b3f22

@mhagen-vmware mhagen-vmware added the impact/doc/note Requires creation of or changes to an official release note label Aug 18, 2017
@mhagen-vmware mhagen-vmware removed this from the Sprint 15 milestone Aug 18, 2017
@mhagen-vmware
Copy link
Contributor Author

@stuclem Release note: Docker diff does not fully work with all containers with VIC 1.2. Docker cp and exec should still work though. If you see archive errors while using docker cp, then please file a bug.

@stuclem
Copy link
Contributor

stuclem commented Sep 13, 2017

Forgot to post the release note here:


  • docker diff does not fully work with all containers. #6059
    Running docker diff on certain containers, for example postgres, results in Error response from daemon: Server error from portlayer: Server error from portlayer: Server error from archive reader for device.

@mhagen-vmware is this OK?

@mhagen-vmware
Copy link
Contributor Author

LGTM

@stuclem stuclem removed the impact/doc/note Requires creation of or changes to an official release note label Sep 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/defect Behavior that is inconsistent with what's intended priority/p2
Projects
None yet
Development

No branches or pull requests

3 participants