Skip to content

Releases: sonm-io/core

v0.4.31

15 May 11:58
Compare
Choose a tag to compare

Added

  • allow to specify pwd in secexec (#1901).
    Also the usage of "secexec" has been slightly changed: now the executable and
    its arguments must be specified after "--".
    For example: secexec /etc/secexec -- /bin/ls -lith.
  • watch for keystore in sysinit.

Fixed

  • more nvidia related .so files for volumes (#1907).
    Found out that we're skipping a lot of useful nvidia's .so files.
    This PR adds all of them to the docker volume.
    Based on the content of NVIDIA-Linux-x86_64-440.82.
    To keep the list up-to-date in the future:
    1. download the latest version on drivers;
    2. unpack them without installing: "./NVIDIA-Linux-x86_64-XXX.YY.run
      --extract-only";
    3. list .so and update the list in "insonmnia/worker/gpu/nvidia_tuner.go";
      Don't forget to remove versions and .0 from file names;
    4. ???
    5. Congratulation, you're awesome open-source contributor;
  • dwh tests (#1908).
    This PR fixes behavior with dwh test suite:
    • add required for run "POSTGRES_PASSWORD" environment
    • returns an error when Postgres not started any times, not null
    • format touched file imports
  • check for mount required before mounting.
  • weaken errors while constructing secsh banner.
  • allow to start QOS without secsh.
  • traverse children while looking for a device (#1898).

v0.4.30

02 Aug 13:31
Compare
Choose a tag to compare

Added

  • Remote secure shell (#1895).
    This commit allows exposing a server on a host, which act as a remote secure shell, executing allowed commands within the security policy.
  • Add bid and ask tags to dwh deal (#1896).
  • Worker now waits until Docker starts (#1894).

Fixed

  • Wrong streaming authorization check (#1897).
    Previously streaming gRPC authorization always ignored the first chunk for the incoming stream and checked for others. This is wrong for methods which stream only back because the entire authorization mechanism is suppressed at all. This commit fixes such behavior by forcing the auth routing to check for the first incoming message.

v0.4.29

19 Jul 08:54
Compare
Choose a tag to compare

Added

  • Sys init capability for QoS service (#1891).
  • Multiple gRPC compressions (#1889).
    Before the only gzip compression was always used, which caused troubles with gRPC clients without compression support. This commit allows selecting how to compress the response depending on request compression type.
  • Memory limit for Optimus (#1883).

Fixed

  • Sometimes zero worker price in Optimus (#1892).
  • Proper create/remove plans logs in Optimus (#1887).
  • Temp fix for "alien" deals bound to ask-plans (#1884).
    Under Sanya's approve thou shall commit this PR.

v0.4.28

24 May 10:53
Compare
Choose a tag to compare

Fixed

  • Restore order duration after execution in Optimus.
  • Optimus should no longer ignore forward deals.
  • Stop ignoring filters in Optimus (#1881).
    Stop ignoring filters in Optimus in entire machine lease mode.

v0.4.27

22 May 12:50
Compare
Choose a tag to compare

Fixed

  • Properly decode plan policy from config in Optimus.

v0.4.26

21 May 13:27
cee70b6
Compare
Choose a tag to compare

Added

  • Lease the entire machine mode in Optimus (#1878).
  • Task OOM notification (#1879).

v0.4.25

30 Apr 06:43
dd5be50
Compare
Choose a tag to compare

Added

  • Track worker's identity level in Optimus (#1874).
    This change activates a new filter in Optimus that is capable of filtering orders with identity requirements greater than a Worker have.

Fixed

  • Make go.mod great again (#1875).
  • Save proper IFB link while configuring shaping (#1871).
  • Update infura's projectID (#1870).
  • Proper temporary errors handling in connor (#1861).
  • Replace TaskManagementClient with WorkerClient in Connor (#1862).
  • Use new WTM API to obtain price for orders (#1863).

v0.4.24

20 Mar 10:31
Compare
Choose a tag to compare

Fixed

  • Reduce brute-force threshold for predictor (#1865).
    6!=720, which is not so big as 16!=20 922 789 888 000.
  • Avoid duplicated driver volumes for GPUs (#1864).
    Now we're storing whole information required to mount single GPU into a container inside the "sonm.GPUDevice" structure. and now we can turn up into a situation, when we're trying to mount more than one GPU with the same type. The Tuner will try to attach more than one (absolutely same) volume to the container. In that case, it will lead to the container' start failure. This PR fixes that behavior by collecting proposed mount points into the set, and then applying only non-repeated ones.

v0.4.23

12 Mar 08:42
Compare
Choose a tag to compare

Added

  • Benchmark support for GPU type (#1857).
    this PR adds benchmarks for GPU type - NVidia or Radeon only, which is useful when specific card type is required.
  • Remote GPU tuner (#1853).

Fixed

  • Fix already fixed streaming auth (#1859).
  • Proper version for go-reuseport (#1860).
  • Use LinkOrCopyStrategy to provision nvidia volumes (#1855).
    Now we're hardlinking .so files and other nvidia related stuff into the volume. This way isn't working when /var is present in another partition, we must fallback to Copy in such case.
  • Preventing division by zero panics in the sonm-mon (#1852).
    Closes #1851.

v0.4.22

01 Feb 19:37
7ca6c9c
Compare
Choose a tag to compare

Added

  • Worker config command (#1849).
    Exposed an ability to watch Worker's config for its admin, master and inspection subjects.

Fixed

  • Revert per-chunk stream authorization (#1848).
    It was implemented for inspection service, but no longer required, since it has a more convenient way to subscribe for authorization change events. Fixes inability to use "TaskLogs" handle.
  • Proper error type in ErrorOrNil (#1847).
    Fixed bug with task cancellation:
    • Process ask-plan which are pending for deletion in a usual pipeline to update order info in case ask-plan cannot be deleted right now.
    • Return proper type from ErrorOrNil function to fix this https://golang.org/doc/faq#nil_error behavior.
  • Do not terminate on default (empty) QoS URI (#1846).
  • Add missing method for the worker management ACL (#1845).
  • Accept URI as remote QoS endpoint for consistency (#1843).
    Previously we can only specify ip:port OR unix:///path, but not tcp://ip:port. Now, the scheme prefix is required and correctly parsed.
  • Flush IFB on demand when using remote service (#1844).