1. 19 Apr, 2024 3 commits
    • Jérome Perrin's avatar
      software/grafana: include a telegraf plugin to get slapos process metrics · 71278574
      Jérome Perrin authored
      For now this still have to be enabled with a config like this in a .conf
      file in srv/telegraf/extra-config/  :
      
          [[inputs.execd]]
            name_override = "slapos"
            # this needs sudo when using can not access supervisor socket, like when being installed in root slapos
            command = ["/usr/bin/sudo", "$SOFTWARE_DIR/go.work/bin/telegraf-input-slapos", "-config", "/path/to/slapos.conf"]
      
      /path/to/slapos.conf would contain something like this:
      
          [[inputs.slapos]]
            ## Folder where partitions are located
            instance_root = "/srv/slapgrid/"
      
            ## filepath.Glob pattern to look for recursive instances
            recursive_instance_glob_pattern = "*/srv/runner/inst*/"
      
            ## Path of supervisor socket, relative to instance root
            socket_name = "sv.sock"
      71278574
    • Jérome Perrin's avatar
      software/grafana: version up telegraf v1.20.2 · 408b0a2e
      Jérome Perrin authored
      This version has a new sql input, that can be used to get metrics from sql
      queries.
      408b0a2e
    • Jérome Perrin's avatar
      344a42b4
  2. 10 Apr, 2024 1 commit
  3. 09 Apr, 2024 4 commits
  4. 08 Apr, 2024 12 commits
  5. 07 Apr, 2024 1 commit
  6. 05 Apr, 2024 3 commits
  7. 04 Apr, 2024 2 commits
  8. 03 Apr, 2024 5 commits
  9. 28 Mar, 2024 3 commits
  10. 26 Mar, 2024 6 commits
    • Rafael Monnerat's avatar
      erp5: backend apache must not handle Remote-User · 1bd75eee
      Rafael Monnerat authored
        The backend haproxy must not handle the arbitrary variable Remote-User from headers.
      
      It isn't implemented authentication on this backend, so this setting is irrelevant by default.
      
      The proper way to handle authentication is use a trustfull frontend that will set this variable after properly authenticate the certificate and extract the user.
      1bd75eee
    • Rafael Monnerat's avatar
      slapos-master: Use ERP5 SR directly · 3d63cd39
      Rafael Monnerat authored
        For now the only exception is slapos_configurator only
      3d63cd39
    • Jérome Perrin's avatar
      component/golang: clear user cache after build · 5a70227c
      Jérome Perrin authored
      While running tests using all.bash, `$HOME/.cache/go-build/` is
      populated with data referencing the build folder. This is problematic
      when using shared parts and installing a not pinned software release
      multiple times, like it is the case on test node.
      
      A scenario like this can happen:
      
       - a first succesful build install in `<shared>/golang1.21/<HASH1>`
       - golang1.21 section is changed in a the software release
       - golang1.21 is installed in `<shared>/golang1.21/<HASH2>`, running
         test fails because the cache `<software_folder>/.cache/go-build/` in
         references paths from `<shared>/golang1.21/<HASH1>/.build/go/src`,
         that was used when building the first build and have been removed
         while installing.
      
      This is visible with errors like this:
      
          2024-03-21 20:52:37,214 INFO     slapgrid_sr: 2024-03-21 20:52:37 slapos[23849] INFO vet: can't parse raw cgo file: open ../../../../a984f246a1b2789081965ab5c05674a8/.build/go/src/net/cgo_linux.go: no such file or directory
      5a70227c
    • Ivan Tyagov's avatar
      Fix gcc coupler · 25439fae
      Ivan Tyagov authored
      See merge request nexedi/slapos!1551
      25439fae
    • Ivan Tyagov's avatar
      Fix gcc coupler · efa0b4b1
      Ivan Tyagov authored
      efa0b4b1
    • Ivan Tyagov's avatar
      Fix gcc · 64c4c052
      Ivan Tyagov authored
      See merge request nexedi/slapos!1548
      64c4c052