1. 22 Nov, 2021 1 commit
  2. 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
  3. 12 Nov, 2021 3 commits
  4. 11 Nov, 2021 1 commit
  5. 10 Nov, 2021 3 commits
  6. 08 Nov, 2021 1 commit
  7. 06 Nov, 2021 2 commits
  8. 05 Nov, 2021 2 commits
  9. 04 Nov, 2021 1 commit
  10. 29 Oct, 2021 1 commit
  11. 25 Oct, 2021 1 commit
  12. 23 Oct, 2021 3 commits
  13. 22 Oct, 2021 7 commits
  14. 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
  15. 18 Oct, 2021 1 commit
  16. 15 Oct, 2021 5 commits
  17. 14 Oct, 2021 1 commit
  18. 12 Oct, 2021 1 commit
    • Łukasz Nowak's avatar
      standalone: Expose specific exceptions · dc559dad
      Łukasz Nowak authored
      Thanks to more specific exceptions the caller is able to understand what
      exactly happened during processing, especially useful in case of the caller
      uses testcase, and can sneak into real problems during setUpClass.
      dc559dad
  19. 11 Oct, 2021 2 commits
    • Łukasz Nowak's avatar
      testing/testcase: Simplify setUpClass override · 9a7d24ae
      Łukasz Nowak authored
      Some advanced tests setting up clusters need to being able to come in half of
      the setup process to do some actions on the cluster in order to have its setup
      finished, thus allow to override extracted _setUpClass and separated
      waitForInstance, so that those actions can be executed.
      9a7d24ae
    • Łukasz Nowak's avatar
      testing/testcase: Allow to skip software checks and rebuilds · cf39b7f0
      Łukasz Nowak authored
      The SLAPOS_TEST_SKIP_SOFTWARE_REBUILD changes the default to rebuild always
      the software by setting install_all to true.
      
      The SLAPOS_TEST_SKIP_SOFTWARE_CHECK allow to skip software checks, if not
      wanted by the developer.
      cf39b7f0