1. 30 Nov, 2023 1 commit
  2. 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
  3. 19 Oct, 2023 1 commit
  4. 18 Oct, 2023 1 commit
  5. 12 Oct, 2023 1 commit
  6. 11 Oct, 2023 5 commits
  7. 10 Oct, 2023 2 commits
  8. 09 Oct, 2023 2 commits
  9. 04 Oct, 2023 6 commits
  10. 28 Sep, 2023 2 commits
  11. 25 Sep, 2023 1 commit
  12. 22 Sep, 2023 1 commit
  13. 14 Sep, 2023 1 commit
  14. 11 Sep, 2023 1 commit
  15. 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
  16. 05 Sep, 2023 1 commit
  17. 04 Sep, 2023 1 commit
  18. 01 Sep, 2023 5 commits
  19. 30 Aug, 2023 5 commits