1. 07 Sep, 2020 4 commits
  2. 31 Aug, 2020 1 commit
  3. 28 Aug, 2020 1 commit
  4. 27 Aug, 2020 1 commit
    • Jérome Perrin's avatar
      Fix installation of slapos.toolbox · aaa2564a
      Jérome Perrin authored
      Since f3613b91 (version up slapos.toolbox 0.110, 2020-08-21) slapos.toolbox needs lzma, which should always be installed with slapos component, because letting buildout install the egg from pypi would build against system libzma library (or fail if not present).
      This introduce `*-dependencies` sections for eggs that have some dependencies that needs to be installed by slapos and use it, especially in section which install eggs from git for testing.
      
      See merge request nexedi/slapos!804
      aaa2564a
  5. 26 Aug, 2020 6 commits
  6. 25 Aug, 2020 4 commits
    • Jérome Perrin's avatar
      version up: slapos.core 1.6.1 · efc0ad41
      Jérome Perrin authored
      efc0ad41
    • Jérome Perrin's avatar
      Fix erp5 slow queries logs · 5c33d3d4
      Jérome Perrin authored
      ERP5 software release has some support for mariadb slow queries:
       - run `pt-query-digest` daily
       - check that the number of slow queries and the slowest slow query do not exceed some thresholds defined as instance parameters
      
      but this had issues:
       - the daily `pt-query-digest` reports where kept as not-compressed text files, which over time takes quite a lot of disk space
       - the threshold detection was not working, since strings and floats were compared - see nexedi/slapos.toolbox!83
      
      This uses new techniques in software release testing from nexedi/slapos.core!245, we use [faketime] to simulate running crontabs and promises at a specific time in the future, so that we can assert the exact expected behaviour of crontab scripts.
      
      [faketime]: https://github.com/wolfcw/libfaketime
      
      See merge request nexedi/slapos!801
      5c33d3d4
    • Łukasz Nowak's avatar
      caddy-frontend: Prepare next release · 81c14ca3
      Łukasz Nowak authored
      81c14ca3
    • Jérome Perrin's avatar
      version up slapos.toolbox 0.110 · f3613b91
      Jérome Perrin authored
      Since this version introduces a dependency on backports.lzma we had to
      explicitly install backports.lzma in a slapos compliant way before installing
      slapos.toolbox, because installing the egg needs xz-utils.
      
      For slapos-sr-testing it's also a version up of backports.lzma to 0.14.0
      f3613b91
  7. 24 Aug, 2020 5 commits
  8. 21 Aug, 2020 5 commits
  9. 20 Aug, 2020 1 commit
  10. 19 Aug, 2020 2 commits
  11. 18 Aug, 2020 1 commit
  12. 14 Aug, 2020 7 commits
    • Łukasz Nowak's avatar
      component/h2o: Fix compilation · 89e1b378
      Łukasz Nowak authored
      The development of this component happened in environment which had a lot
      of libraries available.
      89e1b378
    • Jérome Perrin's avatar
      software/powerdns: use shorter path for socket · b3e3a3f0
      Jérome Perrin authored
      powerdns uses a socket named pdns.controlsocket in socket-dir (
      https://doc.powerdns.com/authoritative/running.html#control-socket )
      We sometimes see errors on test nodes that this path is too long:
      
           Aug 13 20:54:10 Unable to open controlsocket, path '/srv/slapgrid/slappart13/srv/testnode/cvr/inst/test0-0/tmp/inst/pdns1/var/run/pdns-socket/pdns.controlsocket' is not a valid UNIX socket path.
      
      Instead of using "var/run/pdns-socket", put the socket in "var/run",
      which should be short enough.
      b3e3a3f0
    • Łukasz Nowak's avatar
      software/kvm: Set cpu-max-count and ram-max-size defaults correctly · a5bdb631
      Łukasz Nowak authored
      As cpu-count and ram-size can be setup freely by the user, the cpu-max-count
      and ram-max-size shall follow it.
      
      Otherwise it generates hard to track issues with starting VMs.
      a5bdb631
    • Łukasz Nowak's avatar
      software/kvm: Enable downloadable images in cluster · 6d287f3a
      Łukasz Nowak authored
      The image-url-list parameter is passed-thru only if it's present in the
      original request, as the default instance differentiates correctly between
      parameter existence or emptiness (or being None).
      6d287f3a
    • Łukasz Nowak's avatar
      software/kvm: Implement downloadable images · 0d3e8749
      Łukasz Nowak authored
      Downloadable images are enabled when key image-url-list (described in
      instance-kvm-input-schema.json) is present.
      
      Images are downloaded outside of partition processing, as this can take a lot
      of time by template/image-download-controller.py
      
      Configuration is checked and cleaned up by
      template/image-download-config-creator.py
      
      Promises are used for:
      
       * checking if the current configuration from the request has been processed
       * checking status of configuration generation, image download process and
         checksum validity
      
      Details about errors are exposed by using monitor stack provided HTTP server,
      so that user is able to take informed decision about how to fix the problem.
      0d3e8749
    • Łukasz Nowak's avatar
      Improve "software/kvm/test: Wait long when big images are downloaded" · 413d8aef
      Łukasz Nowak authored
      Wait even longer, as in some environments downloading big files takes a lot
      of time which can lead to unstable test results.
      
      Note: On fast environments the max won't be reached, so in such case the test
            speed won't be affected.
      413d8aef
    • Łukasz Nowak's avatar
      component/h2o: Safe enable MRUBY · 709bcaa6
      Łukasz Nowak authored
      709bcaa6
  13. 13 Aug, 2020 2 commits