1. 16 Jun, 2022 2 commits
    • Jérome Perrin's avatar
      kvm: remove a sleep in promise · d69a93dc
      Jérome Perrin authored
      This makes slapos node instance slower, especially when there are many
      kvm partitions on the node.
      
      We don't really need to sleep because if qemu is not ready, promise will
      fail and succeed on next run.
      d69a93dc
    • Jérome Perrin's avatar
      ERP5: enable publisher-timeout by default · c67f8ece
      Jérome Perrin authored
       - enable publisher-timeout by default, after 300s like haproxy used to do
       - make haproxy use similar timeout as publisher-timeout
       - small fixes to json schemas
      
      See merge request nexedi/slapos!1192
      c67f8ece
  2. 15 Jun, 2022 7 commits
  3. 14 Jun, 2022 2 commits
  4. 13 Jun, 2022 5 commits
  5. 10 Jun, 2022 6 commits
    • Julien Muchembled's avatar
    • Jérome Perrin's avatar
    • Jérome Perrin's avatar
    • Jérome Perrin's avatar
      software/theia: fix typo in schemas · d1ae46a6
      Jérome Perrin authored
      d1ae46a6
    • Jérome Perrin's avatar
      software/{kvm,theia}: fix $ref in json schema · 0c3f66a0
      Jérome Perrin authored
      Fixes this warning when running test:
      
          UserWarning: Error validating request parameters against schema definition:
          RefResolutionError unknown url type: 'instance-input-schema.json'
      
      jsonschema (the python library) support this kind of refs when using
      version draft-06 but not when using draft-04.
      
      json-language-features (from theia text editor) does not understands
      file.json#/ references, it complains:
      
          $ref '/' in 'file://...' can not be resolved.(768)
      
      but not using the trailing / works fine
      0c3f66a0
    • Jérome Perrin's avatar
      software/theia: fix instance error when instance is not ASCII · faaebbf3
      Jérome Perrin authored
      b'💥' is a SyntaxError in python.
      
      Instead, switch to accessing options from option variable and apply
      this to other options from this part.
      
      This fixes this issue:
      
          While:
            Installing switch-softwaretype.
            Installing favicon.ico.
      
          An internal error occurred due to a bug in either zc.buildout or in a
          recipe being used:
          Traceback (most recent call last):
            File "zc.buildout-2.7.1+slapos019-py3.7.egg/zc/buildout/buildout.py", line 2360, in main
              getattr(buildout, command)(args)
            File "zc.buildout-2.7.1+slapos019-py3.7.egg/zc/buildout/buildout.py", line 640, in install
              self._install_parts(install_args)
            File "zc.buildout-2.7.1+slapos019-py3.7.egg/zc/buildout/buildout.py", line 820, in _install_parts
              installed_files = self[part]._call(recipe.install)
            File "zc.buildout-2.7.1+slapos019-py3.7.egg/zc/buildout/buildout.py", line 1668, in _call
              return f()
            File "slapos.cookbook-1.0.244-py3.7.egg/slapos/recipe/switch_softwaretype.py", line 108, in install
              sub_buildout.install([])
            File "zc.buildout-2.7.1+slapos019-py3.7.egg/zc/buildout/buildout.py", line 640, in install
              self._install_parts(install_args)
            File "zc.buildout-2.7.1+slapos019-py3.7.egg/zc/buildout/buildout.py", line 820, in _install_parts
              installed_files = self[part]._call(recipe.install)
            File "zc.buildout-2.7.1+slapos019-py3.7.egg/zc/buildout/buildout.py", line 1668, in _call
              return f()
            File "slapos.recipe.build-0.54-py3.7.egg/slapos/recipe/build/__init__.py", line 268, in install
              return self._shared.install(self.__install)
            File "slapos.recipe.build-0.54-py3.7.egg/slapos/recipe/__init__.py", line 150, in install
              install()
            File "slapos.recipe.build-0.54-py3.7.egg/slapos/recipe/build/__init__.py", line 278, in __install
              self._exec(self._install)
            File "slapos.recipe.build-0.54-py3.7.egg/slapos/recipe/build/__init__.py", line 261, in _exec
              code = compile(script, self.name, 'exec')
            File "favicon.ico", line 6
          SyntaxError: bytes can only contain ASCII literal characters.
      faaebbf3
  6. 09 Jun, 2022 1 commit
  7. 08 Jun, 2022 5 commits
  8. 06 Jun, 2022 1 commit
  9. 05 Jun, 2022 1 commit
  10. 02 Jun, 2022 1 commit
  11. 01 Jun, 2022 3 commits
  12. 31 May, 2022 3 commits
  13. 27 May, 2022 3 commits