An error occurred fetching the project authors.
  1. 30 Oct, 2019 6 commits
    • Jérome Perrin's avatar
      slaprunner: support shared parts · 1a5df533
      Jérome Perrin authored
      If slaprunner itself was installed on a slapos which had shared parts
      enabled, these shared parts will also be used while installing softwares
      inside the slaprunner.
      
      Because ${buildout:shared-part-list} is a multi line property, it was
      not possible to generate .cfg files (which needs special handling of
      multi-line strings) directly from software buildout (where jinja
      templates are not yet available), so we use a trick of generating a
      plain text file in software and parsing it during instance.
      1a5df533
    • Jérome Perrin's avatar
      slaprunner: publish a ssh:// url · 95c05120
      Jérome Perrin authored
      Instead of having to copy and paste the "ssh command", having a
      clickable link is more user friendly. This integrates seamlessly with
      ChromeOS secure shell app (eventhough the app does not do anything with
      fingerprint as per version 0.19)
      95c05120
    • Jérome Perrin's avatar
      slaprunner: ~/bin/slapos: don't override SLAPOS_CONFIGURATION · 2118a01c
      Jérome Perrin authored
      Because this slapos often is executed when just running `slapos` at is
      in the $PATH, we should also consider special cases where users want to
      call this script with another $SLAPOS_CONFIGURATION.
      
      When $SLAPOS_CONFIGURATION is already set, ~/bin/slapos will not change
      it, it will only set it when not set.
      2118a01c
    • Jérome Perrin's avatar
      slaprunner: set $HOME · 06c1f15d
      Jérome Perrin authored
      Because slaprunner might be instanciated in a different directory than
      the shell user $HOME (like in recursive SlapOS), it's necessary to set
      HOME to the base directory. For "bare metal" SlapOS, this would not make
      any difference.
      06c1f15d
    • Jérome Perrin's avatar
      slaprunner: set $TERMINFO in bash profile · d74eb583
      Jérome Perrin authored
      so that terminal uses terminfo from the same curses library.
      d74eb583
    • Jérome Perrin's avatar
  2. 04 Oct, 2019 1 commit
    • Thomas Gambier's avatar
      do not create two wrappers for the same executable if hash change · ed707d3b
      Thomas Gambier authored
      Prevent creating 2 wrapper for the same service if hash changed. Here, one service is exited because port is used by the firt to service to start:
      
          slappart6:runner-sshd-4248650e36a9a26a6481df1baffd9f58-on-watch                RUNNING   pid 27835, uptime 0:03:45
          slappart6:runner-sshd-b3b68f4278ceb84691ec27521ea229eb-on-watch                EXITED    Mar 06 04:52 PM
      
      To achieve that, update slapos.cookbook and use hash-existing-files option of wrapper recipe
      
      hash-existing-files list all the files used for hash that are not
      handled by buildout. For those files, the hash is calculated as soon as
      the __init__ function so that if there is a change in those files,
      buildout will remove the existing wrapper (it will uninstall the
      section) and replace it with the new wrapper.
      
      /reviewed-on nexedi/slapos!525
      ed707d3b
  3. 09 Sep, 2019 1 commit
    • Julien Muchembled's avatar
      slaprunner: do not force instantiation of all partitions · b1d83628
      Julien Muchembled authored
      This is important for performance and it enables testless promises.
      
      For partitions that are instantiated successfully, let slapos decide
      when there's no parameter change (usually once a day).
      
      Instantiation can be forced on manual action in the UI.
      b1d83628
  4. 11 Jul, 2019 1 commit
  5. 24 Jun, 2019 1 commit
  6. 17 Jun, 2019 1 commit
  7. 26 Mar, 2019 1 commit
  8. 11 Mar, 2019 1 commit
  9. 10 Jan, 2019 1 commit
  10. 07 Jan, 2019 1 commit
  11. 07 Dec, 2018 1 commit
  12. 03 Dec, 2018 1 commit
  13. 14 Nov, 2018 2 commits
  14. 13 Nov, 2018 1 commit
  15. 24 Oct, 2018 1 commit
  16. 12 Oct, 2018 1 commit
    • Nicolas Wavrant's avatar
      slaprunner: correctly patch software release path on import · f5eee79f
      Nicolas Wavrant authored
      usually, the software release path is :
      in a web runner : /srv/slapgrid/slappartXX/srv/runner/project/buildout.cfg
      in a test node : /srv/slapgrid/slappartX/srv/testnode/xx/inst/test0-XX/srv/runner/project/buldout.cfg
      
      the previous regex was replacing in all slappartX and test0-X by the new test0-Y
      which of course would make an existing path : /srv/slapgrid/test0-Y/.../test0-Y/...
      
      This commit only replace the latest occurence in order to have
      compatible code in the "normal" case, and in the test nodes
      f5eee79f
  17. 05 Oct, 2018 2 commits
    • Alain Takoudjou's avatar
      slaprunner: exclude backup.signature while checking if file changed during export · 746d98d9
      Alain Takoudjou authored
      Runner exporter failed with this message while checking if file changed during backup of instances files:
      
          < 3226bab4cd318d30cfbde18e6530435dcae3205f94103384ce266c3c73d1afeb  ./runner/instance/slappart2/srv/backup/pbs/slaprunner-slappart1-runner-1/backup.signature
          < 3226bab4cd318d30cfbde18e6530435dcae3205f94103384ce266c3c73d1afeb  ./runner/instance/slappart3/srv/backup/runner/backup.signature
          < 3226bab4cd318d30cfbde18e6530435dcae3205f94103384ce266c3c73d1afeb  ./runner/instance/slappart5/srv/backup/runner/backup.signature
          5248d5244
          < bb3d96876d1d6cecee9878d835e7515215fc5d2a6ae6b647d0e7915c36700b54  ./runner/instance/slappart4/srv/backup/runner/backup.signature
          ERROR: Some backups are not consistent, exporter should be re-run.
      
      This is because instance in webrunner has also backup.signature the file is excluded while doing sha256sum on backup file:
      
          find -type f ! -name backup.signature -print0 | xargs -0 sha256sum | sort -k 66 > backup.signature
      
      A fix is to exclude backup.signature in `find`.
      746d98d9
    • Alain Takoudjou's avatar
      slaprunner: do not try to chdir if not a directory while building exclude list · 220411a0
      Alain Takoudjou authored
      If instance/slappartXX is not a folder but file, skip chdir else import/export fail with a message like:
      
          /srv/slapgrid/slappart18/bin/runner-exporter run at : Thu Oct  4 04:30:03 CEST 2018
          Traceback (most recent call last):
            File "<stdin>", line 17, in <module>
          OSError: [Errno 20] Not a directory: '/srv/slapgrid/slappart18/srv//runner/instance/slappart5-mariadb.dump.sql.gz'
      220411a0
  18. 03 Oct, 2018 2 commits
  19. 28 Sep, 2018 1 commit
  20. 13 Sep, 2018 1 commit
  21. 29 Aug, 2018 1 commit
  22. 17 Aug, 2018 1 commit
  23. 03 Aug, 2018 1 commit
    • Alain Takoudjou's avatar
      correctly propagate password to requested instances · 8d4b5445
      Alain Takoudjou authored
      the recipe slapos.cookbook:generate.password will install the password only after the [request-xx] was called for the first time. Then the second run of buildout the password can change as it was not stored yet. We use publish-early to make it persistent on master and avoid inconsistency between published password and stored one.
      
      /reviewed-on nexedi/slapos!370
      8d4b5445
  24. 30 Jul, 2018 2 commits
  25. 25 Jul, 2018 1 commit
  26. 24 Jul, 2018 1 commit
  27. 18 Jul, 2018 1 commit
  28. 22 Jun, 2018 2 commits
  29. 12 Apr, 2018 2 commits