-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Labels
component/imageccomponent/portlayer/storagecomponent/testTests not covered by a more specific component labelTests not covered by a more specific component labelkind/debtProblems that increase the cost of other workProblems that increase the cost of other workseverity/3-moderateMedium usability or functional impact. Potentially has an inconvenient workaround.Medium usability or functional impact. Potentially has an inconvenient workaround.
Description
During a pull busybox
it looks like a context deadline occurred somewhere on the portlayer side during a write image causing an inconsistent state. On repeat of the pull the layer is found to already exists after trying a new right. On a subsequent create the busybox image is still not found and an attempt to pull it is made. The appropriate response should have been that the layer already exists on the second pull.
% sudo ./vic-machine-linux create --target skinner.eng.vmware.com --user root --image-datastore Datastore --password ca\$hc0w --bridge-network vch-test --name mavery-vch-1 --compute-resource /Datacenter/host/Austin/Resources/mavery --volume-store=test-store:Datastore/testStore --generate-cert=false
INFO[2016-07-07T14:26:22-05:00] ### Installing VCH ####
WARN[2016-07-07T14:26:22-05:00] Configuring without TLS - to enable use -generate-cert or -key/-cert parameters
INFO[2016-07-07T14:26:22-05:00] Validating supplied configuration
INFO[2016-07-07T14:26:22-05:00] Firewall status: DISABLED on /Datacenter/host/Austin/patty.eng.vmware.com
INFO[2016-07-07T14:26:22-05:00] Firewall configuration OK on hosts:
INFO[2016-07-07T14:26:22-05:00] /Datacenter/host/Austin/patty.eng.vmware.com
INFO[2016-07-07T14:26:23-05:00] License check OK on hosts:
INFO[2016-07-07T14:26:23-05:00] /Datacenter/host/Austin/patty.eng.vmware.com
INFO[2016-07-07T14:26:23-05:00] DRS check OK on:
INFO[2016-07-07T14:26:23-05:00] /Datacenter/host/Austin/Resources/mavery
INFO[2016-07-07T14:26:27-05:00] Creating Resource Pool mavery-vch-1
INFO[2016-07-07T14:26:27-05:00] Creating directory [Datastore] testStore
INFO[2016-07-07T14:26:27-05:00] Datastore path is [Datastore] testStore
INFO[2016-07-07T14:26:27-05:00] Creating appliance on target
INFO[2016-07-07T14:26:27-05:00] Network role client is sharing NIC with external
INFO[2016-07-07T14:26:27-05:00] Network role management is sharing NIC with external
INFO[2016-07-07T14:26:30-05:00] Uploading images for container
INFO[2016-07-07T14:26:30-05:00] bootstrap.iso
INFO[2016-07-07T14:26:30-05:00] appliance.iso
INFO[2016-07-07T14:26:42-05:00] Registering VCH as a vSphere extension
INFO[2016-07-07T14:26:51-05:00] Waiting for IP information
INFO[2016-07-07T14:28:51-05:00] Waiting for major appliance components to launch
INFO[2016-07-07T14:28:51-05:00] Initialization of appliance successful
INFO[2016-07-07T14:28:51-05:00]
INFO[2016-07-07T14:28:51-05:00] SSH to appliance (default=root:password)
INFO[2016-07-07T14:28:51-05:00] ssh [email protected]
INFO[2016-07-07T14:28:51-05:00]
INFO[2016-07-07T14:28:51-05:00] Log server:
INFO[2016-07-07T14:28:51-05:00] http://10.17.109.94:2378
INFO[2016-07-07T14:28:51-05:00]
INFO[2016-07-07T14:28:51-05:00] DOCKER_HOST=10.17.109.94:2375
INFO[2016-07-07T14:28:51-05:00] DOCKER_OPTS="-H 10.17.109.94:2375"
INFO[2016-07-07T14:28:51-05:00]
INFO[2016-07-07T14:28:51-05:00] Connect to docker:
INFO[2016-07-07T14:28:51-05:00] docker -H 10.17.109.94:2375 info
INFO[2016-07-07T14:28:51-05:00] Installer completed successfully
matthewavery@ubuntu ~/go/src/github.com/vmware/vic/bin
% docker -H 10.17.109.94:2375 pull busybox
Using default tag: latest
latest: Pulling from library/busybox
a3ed95caeb02: Extracting [==================================================>] 32 B/32 B
8ddc19f16526: Pull complete
Failed to write to image store: context deadline exceeded
matthewavery@ubuntu ~/go/src/github.com/vmware/vic/bin
% docker -H 10.17.109.94:2375 pull busybox
Using default tag: latest
latest: Pulling from library/busybox
8ddc19f16526: Already exists
a3ed95caeb02: Extracting [==================================================>] 32 B/32 B
Failed to write to image store: [POST /storage/{store_name}][500] WriteImage default &{Code:0xc82039f368 Message:Cannot complete the operation because the file or folder [Datastore] VIC/4223eb68-0def-b8f7-2f5c-4d5da6568e9d/images/b05baf071fd542c3146f08e5f20ad63e76fa4b4bd91f274c4838ddc41f3409f8/b05baf071fd542c3146f08e5f20ad63e76fa4b4bd91f274c4838ddc41f3409f8.vmdk already exists}
matthewavery@ubuntu ~/go/src/github.com/vmware/vic/bin
%
matthewavery@ubuntu ~/go/src/github.com/vmware/vic/bin
% docker -H 10.17.109.94:2375 create -v /testVol busybox /bin/sh
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
8ddc19f16526: Already exists
a3ed95caeb02: Already exists
Digest: sha256:65ce39ce3eb0997074a460adfb568d0b9f0f6a4392d97b6035630c9d7bf92402
Status: Image is up to date for library/busybox:latest
08ac166ac3736a481bc32627e465a8140ce126617edb6d43185b05b83b4a9c3a
matthewavery@ubuntu ~/go/src/github.com/vmware/vic/bin
% docker -H 10.17.109.94:2375 create -v /testVol busybox /bin/sh
8baba67575c9c26d4b90eb83e61f465629a498214494092730a34354ab3f7a7d
matthewavery@ubuntu ~/go/src/github.com/vmware/vic/bin
% docker -H 10.17.109.94:2375 pull busybox
Using default tag: latest
latest: Pulling from library/busybox
8ddc19f16526: Already exists
a3ed95caeb02: Already exists
Digest: sha256:65ce39ce3eb0997074a460adfb568d0b9f0f6a4392d97b6035630c9d7bf92402
Status: Image is up to date for library/busybox:latest
matthewavery@ubuntu ~/go/src/github.com/vmware/vic/bin
Metadata
Metadata
Assignees
Labels
component/imageccomponent/portlayer/storagecomponent/testTests not covered by a more specific component labelTests not covered by a more specific component labelkind/debtProblems that increase the cost of other workProblems that increase the cost of other workseverity/3-moderateMedium usability or functional impact. Potentially has an inconvenient workaround.Medium usability or functional impact. Potentially has an inconvenient workaround.