An error occurred fetching the project authors.
  1. 02 Sep, 2024 2 commits
  2. 17 Jul, 2024 1 commit
  3. 29 May, 2024 1 commit
  4. 26 May, 2024 1 commit
  5. 16 May, 2024 2 commits
  6. 05 May, 2024 1 commit
    • Julien Muchembled's avatar
      Clean up SoftwareReleaseSchema · 2b80692d
      Julien Muchembled authored
      This is mainly about error handling, simpler and more useful.
      
      - Always warn when a valid SR can't be loaded, with a message that
        contains the original exception (for example, compared to before
        this commit, it will tell if a JSON file can't be found,
        or where JSON has syntax errors).
      
      - Same as previous point if serialisation type is invalid or missing.
        If the caller needs it to transform parameters (parameters file),
        it will raise with the original exception. Otherwise, it falls back
        on json-in-xml. In some places, such fallback is a change of
        behaviour and I have no opinion about it except that at least
        it's now consistent throughout slapos.core.
      
      - Remove warning about RootSoftwareInstance/default: meaningless
        because contradicted the comment, and useless because the transition
        to 'default' is already complete for SR schemas. There are still 3
        lines of backward compatibility code for the rest of slapos.core.
      
      - Don't read the same file several times. Note however that this
        performance fix is only for the SoftwareReleaseSchema class:
        the caller should be fixed to not instanciate several times with
        the same parameters (from do_request & _requestComputerPartition).
      
      See merge request nexedi/slapos.core!621
      2b80692d
  7. 22 Mar, 2024 1 commit
  8. 08 Mar, 2024 1 commit
  9. 06 Mar, 2024 3 commits
  10. 17 Jan, 2024 1 commit
  11. 16 Jan, 2024 1 commit
  12. 15 Jan, 2024 1 commit
  13. 09 Jan, 2024 1 commit
    • Titouan Soulard's avatar
      format: do not remove user from groups · 09d2ca06
      Titouan Soulard authored
      When an user belonged to a group before running slapformat, the user was previously
      removed from that group. This commit avoids it by simply appending SlapOS
      additional groups.
      09d2ca06
  14. 20 Dec, 2023 1 commit
  15. 14 Dec, 2023 2 commits
    • Lu Xu's avatar
      Release 1.10.8 · de93cf62
      Lu Xu authored
      de93cf62
    • Lu Xu's avatar
      slapos/testing: add e2e.py · d7455453
      Lu Xu authored
      e2e.py, used for slapos/software/end-to-end-testing, can be given to a
      testnode to run end-to-end-tests by requesting real instances.
      d7455453
  16. 04 Dec, 2023 2 commits
  17. 30 Nov, 2023 3 commits
  18. 29 Nov, 2023 2 commits
    • Xavier Thompson's avatar
      format: Normalize netmask of computer address · dc37c0cb
      Xavier Thompson authored
      Currently computer netmask looks like 'ffff::/16' in slapos.xml.
      With this commit, this netmask will be cleaned up to just 'ffff::'.
      dc37c0cb
    • Xavier Thompson's avatar
      format: Support partition capabilities · db0afb58
      Xavier Thompson authored
      Computer definition file (slapformat-configuration.cfg) may now have:
      
      ```
      [partition_0]
      ...
      capability_list =
        fast-network
        more_disk_space
        yet another capability
      
      ...
      ```
      
      Capabilities are line-separated and may otherwise contain whitespace.
      Whitespace at the beginning and end of each line is stripped.
      db0afb58
  19. 24 Nov, 2023 2 commits
    • Thomas Gambier's avatar
      Release 1.10.5 · 5eebfe3b
      Thomas Gambier authored
      5eebfe3b
    • Xavier Thompson's avatar
      SlapObject: Fix supervisord config generation · 91335049
      Xavier Thompson authored
      Previous code matched way too many files as belonging to the current
      partition and wrongly removed them as obsolete: e.g. when processing
      slappart1, all the configuration files belonging to slappart10 would
      systematically be deleted, as if they belonged to slappart1 and were
      now out-of-date. Same for all partitions starting with 'slappart1',
      such as slappart11, slappart12, etc.
      
      This resulted in all services in slappart1X being stopped and started
      repeatedly and very often: stopped during processing of slappart1 and
      started during processing of slappart1X, with potentially several
      minutes of downtime, and a high percentage of downtime.
      
      This is a fixup of db98a521.
      91335049
  20. 23 Nov, 2023 2 commits
  21. 12 Oct, 2023 1 commit
  22. 10 Oct, 2023 1 commit
  23. 09 Oct, 2023 1 commit
  24. 28 Sep, 2023 1 commit
  25. 07 Sep, 2023 1 commit
    • Xavier Thompson's avatar
      slapgrid: Fix an upgrade bug in offline processing · c9b394c1
      Xavier Thompson authored
      When upgrading from a version of slapos.core that does not support
      processing instances without a connection to master to one that does,
      the following edgecase could occur:
      
      1. some partition is stopped and processed with old version
      2. slapos.core is upgraded
      3. connection to master is lost
      4. offline processing wrongly starts the services of stopped partition
      
      This was because the new version removes the supervisord file for a
      partition when the partition is stopped (in online mode) so that the
      offline mode can just start all the existing supervisord files. But
      since the partitions was never processed in online mode with the new
      version, this file was never removed.
      
      To fix this, we use the (now no longer used ) .requested_state file
      of the previous version to determine the state of the partition in
      offline mode, then we remove both the .requested_state file and the
      supervisord file, fixing the discrepancy.
      c9b394c1
  26. 05 Sep, 2023 1 commit
  27. 18 Aug, 2023 1 commit
    • Yusei Tahara's avatar
      cli/slapgrid: Create slapgrid object after checking pidfile. · 8e6500e2
      Yusei Tahara authored
      Slapgrid object makes a connection to master node immediately,
      thus if you create a slapgrid object without checking pidfile and if
      master node responds very slowly, you may get tons of stucked slapgrid
      processes by cron and system may become unusable.
      8e6500e2
  28. 16 Aug, 2023 2 commits