1. 02 Feb, 2023 1 commit
  2. 01 Feb, 2023 4 commits
    • Lu Xu's avatar
      a2272d7d
    • Jérome Perrin's avatar
      e2f8d403
    • Jérome Perrin's avatar
      Release slapos.cookbook (1.0.305) · 052c39fa
      Jérome Perrin authored
      052c39fa
    • Jérome Perrin's avatar
      librecipe/execute: fallback to polling when inotify fails · 8b232c01
      Jérome Perrin authored
      When user ran out of inotify watch, starting wrappers using
      wait-for-files is not possible:
      
          AssertionError: Traceback (most recent call last):
            File "/srv/slapgrid/slappart15/tmp/tmpzurwmg4q/wrapper", line 13, in <module>
              sys.exit(slapos.recipe.librecipe.execute.generic_exec(['/bin/echo', 'done'], wait_list=['/srv/slapgrid/slappart15/tmp/tmpzurwmg4q/wait']))
            File "/srv/slapgrid/slappart15/srv/project/slapos-clean/slapos/recipe/librecipe/execute.py", line 100, in generic_exec
              _wait_files_creation(wait_list)
            File "/srv/slapgrid/slappart15/srv/project/slapos-clean/slapos/recipe/librecipe/execute.py", line 30, in _wait_files_creation
              watchdescriptors = {inotify.add_watch(dirname,
            File "/srv/slapgrid/slappart15/srv/project/slapos-clean/slapos/recipe/librecipe/execute.py", line 30, in <dictcomp>
              watchdescriptors = {inotify.add_watch(dirname,
            File "/srv/slapgrid/slappart15/srv/project/venv/lib/python3.9/site-packages/inotify_simple.py", line 110, in add_watch
              return _libc_call(_libc.inotify_add_watch, self.fileno(), fsencode(path), mask)
            File "/srv/slapgrid/slappart15/srv/project/venv/lib/python3.9/site-packages/inotify_simple.py", line 39, in _libc_call
              raise OSError(errno, os.strerror(errno))
          OSError: [Errno 28] No space left on device
      
      This catches inotify errors and fallback to simple polling in that case.
      8b232c01
  3. 31 Jan, 2023 14 commits
  4. 30 Jan, 2023 3 commits
  5. 29 Jan, 2023 1 commit
  6. 27 Jan, 2023 1 commit
  7. 26 Jan, 2023 3 commits
  8. 25 Jan, 2023 6 commits
  9. 24 Jan, 2023 5 commits
  10. 23 Jan, 2023 2 commits