1. 03 Dec, 2021 1 commit
    • Xavier Thompson's avatar
      standalone: Avoid overwriting slapformat config · fe342cb8
      Xavier Thompson authored
      Some configuration in `slapos.cfg` and `slapformat-definition.cfg`
      is updated by calling the `format` method, but was initialised to
      hardcoded and even invalid values in the constructor. This meant
      that calling the constructor again would overwrite the valid config.
      fe342cb8
  2. 02 Dec, 2021 1 commit
    • Julien Muchembled's avatar
      slapos.cfg.example: clean up [networkcache] · 3ed62713
      Julien Muchembled authored
      When using HTTPS, slapos.libnetworkcache uses exclusively the client certificate
      (which must be configured) so https://*.nxdcdn.com can't work from slapos.libnetworkcache
      
      And without download-dir-url, download-cache-url is quite useless.
      
      Reorder options to clarify the difference between upload & https.
      3ed62713
  3. 25 Nov, 2021 1 commit
  4. 24 Nov, 2021 1 commit
  5. 23 Nov, 2021 1 commit
  6. 22 Nov, 2021 2 commits
  7. 19 Nov, 2021 1 commit
    • Jérome Perrin's avatar
      Fix promise output when falling back to SR python · e2cebc0c
      Jérome Perrin authored
      On python3 slapos.core for python2 software release, the output was bytes:
      
      ```
      2021-11-05 17:28:39 slapos[12654] INFO Error with promises for the following partitions:
      2021-11-05 17:28:39 slapos[12654] INFO   slappart7[balancer]: b'Promise \'check-apachedex-result.py\' failed with output: ERROR \'"/srv/slapgrid/slappart3/srv/runner/software/cc0326f0dcb093f56c01291c300c8481/bin/check-apachedex-result" --apachedex_path "/srv/slapgrid/slappart3/srv/runner/instance/slappart7/srv/monitor/private/apachedex" --status_file /srv/slapgrid/slappart3/srv/runner/instance/slappart7/srv/monitor/private/apachedex.report.json --threshold "70"\' run with failure, output: \'Score too low: 0% - Threshold: 70.0%\\n\''
      ```
      
      See merge request nexedi/slapos.core!344
      e2cebc0c
  8. 12 Nov, 2021 3 commits
  9. 11 Nov, 2021 1 commit
  10. 10 Nov, 2021 3 commits
  11. 08 Nov, 2021 1 commit
  12. 06 Nov, 2021 2 commits
  13. 05 Nov, 2021 2 commits
  14. 04 Nov, 2021 1 commit
  15. 29 Oct, 2021 1 commit
  16. 25 Oct, 2021 1 commit
  17. 23 Oct, 2021 3 commits
  18. 22 Oct, 2021 7 commits
  19. 19 Oct, 2021 3 commits
    • Rafael Monnerat's avatar
      slapos_mysql_innodb_catalog: Index consistency_error · 1822be3b
      Rafael Monnerat authored
          We index now for very few portal types the bool(checkConsistency()) in order to search inconsistent documents.
      
          The indexation is limited to the scope we must monitor rather them all documents for 2 major reasons:
      
              - Too much useless constrants on erp5 code base, not applicable for our project (ie.: On person)
              - Performance on indexation is penalized from this extra cost, specially when index large trees (Deliveries or open orders)**
      
          ** Not so much, however, on a scale of millions of documents it can make a major difference, so this commits keeps up to the minimal implementation.
      1822be3b
    • Rafael Monnerat's avatar
      slapos_accounting: Skip garbage from the report · 9661e882
      Rafael Monnerat authored
         If partition is None, it means the computer was reformated and there is garbage on it. It is meaningless to process this.
      9661e882
    • Xavier Thompson's avatar
      slapproxy: Fix software URL migration · 23f35307
      Xavier Thompson authored
      The `local-software-release-url` option allows migrating the software
      URLs which are local paths by rebasing them on the path provided by
      the option.
      
      Do not migrate software release URLs if the old root path and the
      new root path are subpaths or superpaths one of the other.
      
      In addition, do not migrate an URL if the old one refers to an
      existing file and the new one doesn't.
      
      Also, create a backup of the database before migrating.
      
      See merge request !338
      23f35307
  20. 18 Oct, 2021 1 commit
  21. 15 Oct, 2021 3 commits