1. 04 Nov, 2020 2 commits
  2. 20 Oct, 2020 1 commit
    • Kirill Smelkov's avatar
      *: Factor-out NumPy version into component/numpy/ · eacc0038
      Kirill Smelkov authored
      Move `numpy=1.16.4` from all over the place into component/numpy.
      Don't move if a different numpy version is used, or it looks like a
      software cares to use exactly particular version.
      Downgrade pygolang/test.cfg from numpy=1.16.6 to numpy=1.16.4 and use
      common numpy component version - using numpy=1.16.6 is not required for
      pygolang testing and so this downgrade is acceptable. It will be better
      to upgrade NumPy to latest in component/numpy/ as a future separate step.
      
      See previous patch where it was decided and explained that version for
      component <X> lives in component/X/.
      eacc0038
  3. 15 Oct, 2020 1 commit
  4. 16 Sep, 2020 1 commit
  5. 15 Sep, 2020 8 commits
  6. 26 Aug, 2020 2 commits
  7. 14 Aug, 2020 4 commits
    • Ł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
  8. 13 Aug, 2020 1 commit
  9. 06 Aug, 2020 1 commit
  10. 05 Aug, 2020 1 commit
  11. 02 Jul, 2020 1 commit
  12. 18 May, 2020 1 commit
    • Nicolas Wavrant's avatar
      software/kvm: keep old recipe eggs otherwise instance can't be upgraded · d08e5fe6
      Nicolas Wavrant authored
      As we have kvm with a section deployed using
      collective.recipe.shelloutput, if collective.recipe.shelloutput isn't in
      the SR folder anymore this section can't be uninstalled (as the
      uninstall method is defined in the egg).
      
      The output of buildout for this error was :
      
      Installing switch_softwaretype.
      Uninstalling frontend-port.
      While:
        Installing.
        Uninstalling frontend-port.
        Installing recipe collective.recipe.shelloutput.
        Getting distribution for 'collective.recipe.shelloutput'.
      Error: We don't have a distribution for collective.recipe.shelloutput
      and can't install one in offline (no-install) mode.
      
      The cause was a7a36453
      d08e5fe6
  13. 13 May, 2020 1 commit
  14. 12 May, 2020 2 commits
  15. 11 May, 2020 2 commits
  16. 10 May, 2020 1 commit
  17. 07 May, 2020 5 commits
  18. 05 May, 2020 1 commit
  19. 30 Apr, 2020 1 commit
    • Thomas Gambier's avatar
      software/kvm: python-with-eggs needs slapos.toolbox · 73c19b03
      Thomas Gambier authored
      kvm_controller_raw uses slapos.qemuqmpclient from slapos.toolbox
      
      See the following error without this patch:
      
      slapuser61@COMP-202:~/srv/runner/instance/slappart0$ /srv/slapgrid/slappart61/srv/runner/instance/slappart0/bin/kvm_controller_raw
      Traceback (most recent call last):
        File "/srv/slapgrid/slappart61/srv/runner/software/1adf3dca589722a5eeac686fd4870ad0/bin/python-with-eggs", line 76, in <module>
          exec(compile(__file__f.read(), __file__, "exec"))
        File "/srv/slapgrid/slappart61/srv/runner/instance/slappart0/bin/kvm_controller_raw", line 9, in <module>
          from slapos.qemuqmpclient import QemuQMPWrapper, getInitialQemuResourceDict
      ImportError: No module named qemuqmpclient
      73c19b03
  20. 29 Apr, 2020 1 commit
    • Thomas Gambier's avatar
      software/kvm: correctly setup network inside of the VM · 22608e02
      Thomas Gambier authored
      don't add automatic route when adding IP address on interface because
      the automatic route doesn't add "via XXXXXX" gateway option.
      
      In KVM setup, the host machine is the gateway. We need to go through the
      gateway because we can't reach directly the other VM running on
      different slaptap interfaces.
      22608e02
  21. 27 Apr, 2020 1 commit
  22. 24 Apr, 2020 1 commit