1. 28 Aug, 2020 1 commit
  2. 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
  3. 26 Aug, 2020 6 commits
  4. 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 slapos.toolbox!83
      
      This uses new techniques in software release testing from 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 !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
  5. 24 Aug, 2020 5 commits
  6. 21 Aug, 2020 5 commits
  7. 20 Aug, 2020 1 commit
  8. 19 Aug, 2020 2 commits
  9. 18 Aug, 2020 1 commit
  10. 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
  11. 13 Aug, 2020 2 commits
  12. 12 Aug, 2020 1 commit
  13. 11 Aug, 2020 1 commit
  14. 10 Aug, 2020 1 commit
  15. 07 Aug, 2020 2 commits