1. 20 Nov, 2017 1 commit
    • Łukasz Nowak's avatar
      deploy-test: Cover deploy-script-controller · da34e846
      Łukasz Nowak authored
      As deploy-script-controller is run inside of the VM and is fragile, it
      is tested.
      
      Note: In order to simplify root-run bash script testing the TEST_PREFIX
      is added in deploy-script-controller, as solutions like proot seem
      overkill.
      da34e846
  2. 15 Nov, 2017 1 commit
  3. 14 Nov, 2017 7 commits
  4. 13 Nov, 2017 3 commits
  5. 10 Nov, 2017 4 commits
    • Julien Muchembled's avatar
      9c672830
    • Julien Muchembled's avatar
      9cfa3a6c
    • Julien Muchembled's avatar
      aa5a0991
    • Jérome Perrin's avatar
      slaprunner: provide pidfile in config file for slapos node · 7ead3646
      Jérome Perrin authored
      Thanks to nexedi/slapos!158 , in a slaprunner we can use slapos command:
      ```
      $ slapos supply https://lab.nexedi.com/nexedi/slapos/raw/1.0.19/software/erp5/software.cfg slaprunner
      ```
      works fine to supply a software to "current" webrunner, but building this software with `slapos node software` fails with:
      ```
      $ slapos node software
      2017-10-03 02:46:33 slapos[29536] CRITICAL slapgrid could not write pidfile /opt/slapos/slapgrid-sr.pid
      2017-10-03 02:46:33 slapos[29536] ERROR [Errno 13] Permission denied: '/opt/slapos/slapgrid-sr.pid'
      Traceback (most recent call last):
        File "/opt/slapgrid/f496eadc03f1ac5a0ab1e4ae60bbe972/eggs/slapos.core-1.4.1-py2.7.egg/slapos/cli/entry.py", line 300, in run_subcommand
          result = cmd.run(parsed_args)
        File "/opt/slapgrid/f496eadc03f1ac5a0ab1e4ae60bbe972/eggs/slapos.core-1.4.1-py2.7.egg/slapos/cli/command.py", line 50, in run
          return self.take_action(parsed_args)
        File "/opt/slapgrid/f496eadc03f1ac5a0ab1e4ae60bbe972/eggs/slapos.core-1.4.1-py2.7.egg/slapos/cli/slapgrid.py", line 116, in take_action
          setRunning(logger=self.app.log, pidfile=pidfile)
        File "/opt/slapgrid/f496eadc03f1ac5a0ab1e4ae60bbe972/eggs/slapos.core-1.4.1-py2.7.egg/slapos/grid/utils.py", line 155, in setRunning
          write_pid(logger, pidfile)
        File "/opt/slapgrid/f496eadc03f1ac5a0ab1e4ae60bbe972/eggs/slapos.core-1.4.1-py2.7.egg/slapos/grid/utils.py", line 167, in write_pid
          with open(pidfile, 'w') as fout:
      IOError: [Errno 13] Permission denied: '/opt/slapos/slapgrid-sr.pid'
      ```
      
      because slaprunner's web interface also runs software, it's better both `slapos node software` command and the one from slaprunner web interface uses the same pid file so that they do not run in parallel.
      
      This depends on nexedi/slapos.core!29
      
      /reviewed-on nexedi/slapos!235
      7ead3646
  6. 09 Nov, 2017 3 commits
  7. 08 Nov, 2017 2 commits
  8. 07 Nov, 2017 9 commits
  9. 06 Nov, 2017 1 commit
  10. 05 Nov, 2017 3 commits
  11. 04 Nov, 2017 2 commits
  12. 03 Nov, 2017 4 commits