vSphere Integrated Containers Engine Version v1.3.1
Changes from 1.3.0
New Features
This release includes the bug fixes listed in Resolved Issues below.
Resolved Issues
The following issues that were documented as known issues in previous releases or reported by customers have been fixed in 1.3.1:
docker run -rmdeletes named image volumes #7138
Runningdocker run -rmshould only delete anonymous volumes. However, runningdocker run -rmagainst a vSphere Integrated Containers container VM that uses named image volumes results in the deletion of the volume and the loss of all of its data.- Using
vic-machine create --grant-ops-permsoption causes VCH deployment to fail. #7054
This issue occured when the Platform Services Controller is connected to an Active Directory identity source, and has been fixed. - Various issues resulting from upgrade from 1.2.x to 1.3.0. #7084 (Epic) The upgrade issues included in this Epic issue all had the same root cause, which has been fixed:
vic-machine inspectprovides too much information 7091- docker-personality logs are filled with
INFO Got an error trying to convert public port number to an int7117 docker rmireturnsError response from daemon: No such image7118docker network createreturnsError response from daemon: testnet has active endpoints7137
- Named volumes are incorrectly detected as anonymous and aredeleted when a container is removed. #7138
This has been fixed.
See also the resolved issues sections of the release notes for each of the other vSphere Integrated Containers components:
There are no changes to vSphere Integrated Containers Registry or Management Portal in this release. Full list of all issues fixed in 1.3.1 for all components (requires Zenhub plug-in for Github).
Known Issues
-
Failed upgrades create multiple snapshots. #7083
If upgrade fails, the snapshot that is taken prior to the attempted upgrade is retained. Multiple attempts to upgrade can lead to multiple snapshots being created. -
Containers time out while starting with the error
context deadline exceeded. #4294
When this occurs the container VM is not powered off but is left in theStartingstate, and might not have a configured network interface. Also,docker-composeand other tools that perform operations based on container state might not handle starting correctly. In the case ofdocker-composeit does not stop the container before trying to remove it. -
Container start failure handled inconsistently. #4294
-
Docker exec following a docker restart of a node container results in unknown task ID error. #6370
-
Deleting multiple VCHs fails. #7020, #6079
Deleting multiple VCHs at the same time fails with one of the following errors:vic/pkg/trace.(*Operation).Err: vic-machine-linux error: context deadline exceeded.ServerFaultCode: The method is disabled by 'VIC'
Workaround: Try the delete operation again.
-
IP range error while powering on containers. #6851
Powering on container VMs results in the errorServer error from portlayer: could not find IP range. -
Docker operations fail with the
NotAuthenticatedorsession not authenticatederrors. #6673
This issue occurs after restarting vCenter or ESXi hosts because the keepalive duration for the authentication of the session is 20 seconds and the session might not have re-authenticated yet.Workaround: retry the operation after a few seconds.
-
vic-machine debug --rootpwoption enables SSH. #6402
If you specify thevic-machine debug --rootpwoption without also specifying--enable-ssh, SSH access to the VCH is still enabled. This behavior is incorrect and will be fixed in a future release. -
Gateway information is missing from
docker inspect. #6010
If you configured a container network on a VCH, if this network uses DHCP, and if you did not specify--container-network-gateway, the gateway is configured correctly but does not show up in the output ofdocker inspectcommands that are run on containers on that network. -
Schema 2 image manifests not supported. #5187
vSphere Integrated Containers Engine does not support pulling images that only have schema 2 image manifests. If an image registry offers only the schema 2 manifest for an image,pulloperations fail. This is most commonly seen when pulling an image by digest. -
docker execalways returns 0 and ignores the exit code of processes. #5692docker execalways returns 0, even if you specify-it. This issue is potentially due to a delay in vSphere host synchronization. If you configure command-based health checks in vSphere Integrated Containers Management Portal, the health checks are always successful for containers that are provisioned on affected VCHs, even if the user-specified command does not exist in the scope of the container. This is because command-based health checks are considered to be successful if the exit code of that command is 0. -
Container VMs deleted between upgrading and rolling back an upgrade on a VCH show up in
docker ps. #5754
If you upgrade a VCH, performvic-machine deleteon container VMs, then usevic-machine upgrade --rollbackto revert the VCH to the previous version, the cache information in the VCH is reverted. However, the deleted container VM cannot be reverted, so if you rundocker ps, the deleted container VMs are listed.Workaround: Restart the VCH endpoint VM in the vSphere Client.
-
docker diffdoes not fully work with all containers. #6059
Runningdocker diffon certain containers, for examplepostgres, results inError response from daemon: Server error from portlayer: Server error from portlayer: Server error from archive reader for device. -
Cannot delete images using image ID after restarting VCH. #6076
If you pull images into a VCH, then restart that VCH, runningdocker rmi image_IDresults inError response from daemon: No such image.Workaround: Delete images by using the human-readable name.
-
docker infodoes not report secure registries. #6256
Runningdocker infoon a VCH reports any registries that you have whitelisted, but does not report secure registries that you specified withvic-machine create --registry-ca. -
Enabling content trust in Management Portal does not work if a VCH is in whitelist mode. #6258
If you install a VCH with whiltelist mode enabled, attempting to a enable content trust on a vSphere Integrated Containers Registry in Management Portal does not update the whitelist, and you cannot pull from that registry.
-
Publishing all exposed ports to random ports with the -P option is not supported. #3000
vSphere Integrated Containers Engine does not supportdocker create/run -P. -
Occasional disconnection during vMotion. #4484
If you are attached to a container VM that is migrated by vMotion, the SSH connection to the container VM might drop when vMotion completes.Workaround: Perform
docker attachafter the vMotion completes to reattach to the container. -
Using volume labels with
docker-composecauses a plugin error. #4540
Setting a label in a volume in the Docker compose YML file results inerror looking up volume plugin : plugin not found.Workaround: Set the volume driver explicitly as
localorvspherein the compose file. E.g.,volumes: volume_with_label: driver: local -
vSphere Integrated Containers Management Portal cannot pull images from an insecure vSphere Integrated Containers instance when creating a container using vSphere Integrated Containers Engine. #4706
Creating a container in vSphere Integrated Containers Management Portal with vSphere Integrated Containers Engine as the only Docker host results in the errorcertificate signed by unknown authority.Workarounds: Specify the vSphere Integrated Containers Registry port when you set the
vic-machine create--insecure-registryoption, or provide a CA certificate in the--registry-caoption.
-
vic-machineand VCH do not support creation of resources within inventory folders. #3619
This capability will be added in a future release. -
Image store is in the wrong directory if the datastore already has a directory with the same name. #3365
If the datastore already has a directory with the same name as the VCH, and the directory does not have a VM, vic-machine creates the VCH correctly names the folder a slightly different name. Example, folder "test_1" with vch named "test". The kvstore is located in "test_1" folder correctly, but image files are still in the "test" directory. -
Deployment with static IP takes a long time. #3436
If you deploy a VCH with a static IP, the deployment might take longer than expected, resulting in timeouts.
Workaround: Increase the timeout for the deployment when using static IP. -
Firewall status delayed on vCenter Server. #3139
If you update the firewall rules on an ESXi host to allow access from specific IP addresses, and if that host is managed by vCenter Server, there might be a delay before vCenter Server takes the updated firewall rule into account. In this case, vCenter Server continues to use the old configuration for an indeterminate amount of time after you have made the update.vic-machine createcan successfully deploy a VCH with an address that you have blocked, or else fail when you deploy a VCH with an address that you have permitted.Workaround: Wait a few minutes and run
vic-machine createagain.
-
When you pull a large sized image from Harbor into a virtual container host, you get an error that the /tmp partition reached capacity. #3624
docker: Failed to fetch image blob: weblogic/test_domain/sha256:3bf21a5a3fdf6586732efc8c64581ae1b4c75e342b210c1b6f799a64bffd7924 returned download failed: write /tmp/3bf21a5a3fdf346188145: no space left on device.
Workaround: Deploy the virtual container host with--endpoint-memory=4096which increases the appliance memory configuration. -
Pulling all tagged images in a repository is not supported. #2724
vSphere Integrated Containers only attempts to pull the latest tagged images.
-
Container VM fails to start on VIC backed by a VVOL datastore. #2242
VVOL datastores are not supported in this release. -
Attaching the same container from multiple terminals causes problems. #2214
-
--net=none is not supported. #2108
-
VCH restarts if required process cannot be restarted. #2099
The system attempts to restart a finite number of times, then reports an error, leaving the VCH up and running to download logs. Instead, VCH immediately reboots. -
vic-machine incorrectly assumes conf.ImageStores[0] is the appliance datastore. #1884
-
When some of the hosts in the cluster are not attached to the dVS and do not have access to the bridge network, the error message is not easily readable. #1647
-
Image manifest validation for pulled images is not supported. #1331
-
Setting up overlay networks is not supported. #1222
Error response from daemon: scope type not supported -
vic-machine can connect to the target but the VCH appliance cannot. #3479
The VCH cannot get an IP address on the management network or does not have a route to the specified target. -
Adding folder options to vic-machine is not yet implemented. #773
-
Adding mapped vSphere networks to running containers is not yet implemented. #745
-
Adding bridge networks to running containers is not yet implemented. #743
-
Mapping an existing vSphere level network into the Docker network to explicitly provide a container with a route not through the VCH appliance is not yet implemented. #441
docker pullresults an "already exists" error #1409
If a context deadline exceeded error occurs on the port layer while performing an image pull, it causes an inconsistent state for the image. Pulls can also take a very long time with a slow network connection.vic-machine createvalidation fails if a dvSwitch exists on an ESXi target #729
See also the known issues for each of the vSphere Integrated Containers components. There are no changes to vSphere Integrated Containers Registry or Management portal in this release, so the known issues from version 1.3.0 apply for those components.
- vSphere Integrated Containers Appliance
- vSphere Integrated Containers Management Portal
- vSphere Integrated Containers Registry
- Known Issues in vSphere Integrated Containers Plug-In for vSphere Client
Download Binaries
- Official VMware vSphere Integated Containers 1.3.1 release: http://www.vmware.com/go/download-vic
- Open-source vSphere Integrated Containers Engine project: https://storage.googleapis.com/vic-engine-releases/vic_v1.3.1.tar.gz
Installation & Upgrade
- For instructions about how to deploy a vSphere Integrated Containers Engine virtual container host, see Using vic-machine to Deploy Virtual Container Hosts.
- For instructions about how to upgrade virtual container hosts, see Upgrade Virtual Container Hosts.
Using vSphere Integrated Containers Engine
For more details on using vSphere Integrated Containers Engine see the end user documentation at https://vmware.github.io/vic-product/#documentation.
Open Source Components
The copyright statements and licenses applicable to the open source software components distributed in vSphere Integrated Containers Engine are available in the LICENSE file.