Skip to content

Releases: microsoft/hcsshim

v0.8.21

26 Aug 23:28
54f80fb
Compare
Choose a tag to compare

Packages

  • Adjusted behavior in the github.com/microsoft/hcsshim/hcn package where logs were being generated on every invocation of any of the hcn.XSupported methods or hcn.GetSupportedFeatures. There's now only one log printed on the first invocation of any of the methods.
  • Add a new GetCachedSupportedFeatures to the github.com/microsoft/hcsshim/hcn package. This optimizes for scenarios where multiple calls are made to check if certain features are supported by caching the very first result from HCN.
  • Add a new GetHNSEndpointStats function to the github.com/microsoft/hcsshim/ package. This allows statistics about the hns endpoint to be queried.

Bug Fixes/Misc.

  • Add a best effort fix to remedy some errors seen during container layer setup on RS5 (Windows Server 2019). See #919

v0.8.20

08 Jul 23:27
3ad51c7
Compare
Choose a tag to compare

Packages

  • Fixed an issue in the github.com/Microsoft/hcsshim package where IsAlreadyStopped and IsNotExist would erroneously return true for ERROR_PROC_NOT_FOUND (#1065).

v0.8.18

30 Jun 23:05
a14fe37
Compare
Choose a tag to compare

Shim

  • Fix behavior when the shim is invoked with the "delete" command line argument. Previously we would try and delete the bundle directory ourselves as well as shutdown a sandbox container for a pod in the delete path. This unveiled an issue where if delete was called on an application container in a pod, it would bring down the whole pod.

v0.8.17

14 May 23:58
407147a
Compare
Choose a tag to compare

Shim

  • Fix an issue where a goroutine could be leaked if using the binary cmd option (Thanks @hex0punk!)
  • Optimize osversion.Build() and Get() to only get invoked once and cache the result. (Thanks @thaJeztah!)
  • Fixed a bug in the tar2ext4 code to correctly handle unordered tars not starting with a root folder. (Thanks @estebanreyl!)
  • Add support for assigning a Utility VM to a cpu group at creation time of the VM on supported builds.
  • Support passing in propagation flags for SCSI mounts for LCOW.
  • Close individual stdio IO relay pipes when the relay is finished. This fixes some unwanted behavior if the shim's IO relay is severed on the write end.

Hns/Hcn

  • Add the definition for VmEndpointRequest
  • Add Ipv6 flag to HCN OutBoundNatPolicySetting
  • Add proxy exceptions to L4WFP Proxy Policy
  • Fix the supported version range for HNS Ipv6 Dual Stack support (HNS 11.10+).
  • Add support for the TierAclPolicy.

Internal

  • Move around HCS schema and resource path definitions to all be collocated under the hcs package.
  • Add a new ttrpc service to facilitate talking to other virt stacks to launch hypervisor isolated containers.
  • Revert grpc and genproto libraries to a prior version to avoid a panic in ttrpc.
  • Add new vm package to abstract away direct HCS interactions to assist in talking to other virtstacks.
  • Change from a hcsshim:: prefix to hcs:: in the internal/hcs packages logging to make log messages clearer in where the logs are originating from.
  • Add a utility function to execute a command in a Utility VM for the cri-containerd test suite.

v0.8.16

07 Apr 21:18
e811ee7
Compare
Choose a tag to compare

Shim

  • add implementation of network configuration proxy (ncproxy)
  • support modifying device IOV settings for ncproxy
  • add implementation of job containers (host process containers)
  • remove "extra info" from error logs
  • fix issue in tar2ext4 when a file is listed before its parent directory

Repository

  • switch CI to Github Actions
  • switch from deprecated gometalinter to golangci/golangci-lint-action in CI

v0.8.15

02 Mar 23:54
75535b9
Compare
Choose a tag to compare

Shim

  • Added support for containerd logging binaries
  • Stats calls no longer return an error when the container does not exist or when querying stats fails due to permissions
  • Resolve mount source path before passing it to HCS (fixes containerd/containerd#4915)
  • When the shim is called with delete action, it will look for and log panic.log in the bundle directory

Packages

  • Added pkg/ociwclayer package with support for working with Windows container layers

v0.8.14

19 Dec 00:54
d3e5deb
Compare
Choose a tag to compare

New Features

  • shim: Add ability to share files from the host into a Utility VM

Misc.

  • Convert to LF line endings everywhere

v0.8.13

17 Dec 20:17
fae98bb
Compare
Choose a tag to compare

New Features

  • shim: Add ability to update the cpu limits for a UVM.
  • shim: Add ability to assign a UVM to a cpu group after start.

Bug fixes

  • shim: Fix nil pointer dereference when creating a task with no shim options were passed.

v0.8.12

17 Dec 09:59
e8a2e45
Compare
Choose a tag to compare

New Features

  • hcn package: Updated L4WfpProxyPolicy struct to include specifying an inbound and outbound port.
  • computestorage package: Added helper functions to make setting up a container/uvm layer easier.
  • shim - Add UVM call to update cpu limits for the vm.

Bug Fixes

  • shim: Fix panic that would occur for LCOW if no network namespace was specified.

v0.8.11

08 Dec 23:26
2010d9a
Compare
Choose a tag to compare

New Features

  • shim: Add option to scale Windows container CPU limit based on UVM CPUs via toml override.
  • shim: Add SetJobCompartmentId binding and expose CompartmentId on hns Namespace object.
  • shim: Added support for GMSA in HCS schema v2 hypervisor-isolated Windows containers.
  • shim: Add new diagnostic function to execute a command on the host system.
  • shim: Add a high level job object wrapper.
  • hcn package: Updating the supported version ranges for the Network L4proxy policy
  • computestorage package: Add computestorage.dll bindings. Allows finer grained control over Windows layer creation.

Bug Fixes/Misc.

  • shim: Improve logging for LCOW layer operations
  • shim: Add registry key for WCOW to deal with containment for a GNS.dll change in 20H1 container images.
  • shim: Force disable VSMB direct map when the volume does not support it. This fixes an issue seen on certain versions of Windows where instead of falling back to non-direct map when FileIdInfo is not supported, VSMB will just return errors when files are accessed on the share.
  • shim: Revendor go-winio at d1ffc52c73318019ce58aaa5282588c52df029b7
  • shim: Remove support for automanaged vhd functionality