1. 24 Sep, 2019 5 commits
    • Jérome Perrin's avatar
      nextcloud/test: use slapos.testing · 2d3683fa
      Jérome Perrin authored
      also drop test_nextcloud_promises as promises are now checked by
      framework.
      2d3683fa
    • Jérome Perrin's avatar
      nextcloud: add missing monitor-htpasswd section · a47e6133
      Jérome Perrin authored
      this seems to cause:
        Installing Computer Partition TestNextCloudParameters-0...
        Falling back to default buildout '/tmp/slaps/soft/8d7d1f38e7c55201a8be65b75e827d7b/bin/buildout'
        Uninstalling dynamic-template-lamp.
        Uninstalling slap-configuration.
        Installing slap-configuration.
        Installing dynamic-template-lamp.
        Installing switch_softwaretype.
        While:
          Installing.
          Getting section publish-connection-information.
          Initializing section publish-connection-information.
          Getting option publish-connection-information:monitor-setup-url.
          Getting section monitor-publish-parameters.
          Initializing section monitor-publish-parameters.
          Getting option monitor-publish-parameters:monitor-base-url.
          Getting section monitor-base.
          Initializing section monitor-base.
          Getting option monitor-base:base-url.
          Getting section monitor-conf-parameters.
          Initializing section monitor-conf-parameters.
          Getting option monitor-conf-parameters:base-url.
          Getting section monitor-instance-parameter.
          Initializing section monitor-instance-parameter.
          Getting option monitor-instance-parameter:monitor-base-url.
          Getting section monitor-frontend-promise.
          Initializing section monitor-frontend-promise.
          Getting option monitor-frontend-promise:config-url.
          Getting option monitor-frontend-promise:url.
          Getting section monitor-frontend.
          Initializing section monitor-frontend.
          Getting option monitor-frontend:config-url.
          Getting section monitor-httpd-conf-parameter.
          Initializing section monitor-httpd-conf-parameter.
          Getting option monitor-httpd-conf-parameter:htpasswd-file.
          Getting section httpd-monitor-htpasswd.
          Initializing section httpd-monitor-htpasswd.
          Getting option httpd-monitor-htpasswd:command.
          Getting option monitor-instance-parameter:password.
        Error: Referenced option does not exist: monitor-htpasswd passwd
        While:
          Installing switch_softwaretype
      a47e6133
    • Jérome Perrin's avatar
      turnserver/test: use slapos.testing · 0a283acc
      Jérome Perrin authored
      also drop test_turnserver_promises as promises are now checked by
      framework.
      0a283acc
    • Jérome Perrin's avatar
      turnserver: workaround zero-knowledge.read limitation · 9210aec1
      Jérome Perrin authored
      slapos.cookbook:zero-knowledge.read has this limitation that because it
      reads the secret file on __init__, ie. before any other parts are
      installed, the value cannot be read the first time.
      On first slapos node instance run, the generated turnserver-config has
      an empty secret, it's only after the second execution that the secret is
      generated. What happens is:
       - first run:
         - read-secret __init__ cannot find the file and does not override
           secret
         - turnserver-config uses the default ${read-secret:secret} (empty
           string)
         - gen-secret install creates the secret file
       - second run
         - read-secret __init__ finds the file and override secret with the
           value read from the file.
         - turnserver-config uses the overriden ${read-secret:secret} (good
           secret)
      
      This was not a problem before, because some frontend promise were
      always failing, so we processed this partition several time, but now it
      is succesfully processed the first time.
      
      To workadound this, we prevent turnserver from starting if secret is
      empty, then promise will fail, instance will be processed a second time
      and then turnserver will run with a secret.
      9210aec1
    • Jérome Perrin's avatar
      04990d9c
  2. 19 Sep, 2019 13 commits
  3. 17 Sep, 2019 3 commits
  4. 16 Sep, 2019 1 commit
  5. 13 Sep, 2019 4 commits
  6. 12 Sep, 2019 5 commits
  7. 11 Sep, 2019 2 commits
  8. 09 Sep, 2019 4 commits
  9. 05 Sep, 2019 1 commit
  10. 04 Sep, 2019 2 commits