1. 24 Jan, 2022 22 commits
  2. 22 Jan, 2022 6 commits
    • Jérome Perrin's avatar
      software/grafana: include a telegraf plugin to get slapos process metrics · 52f9a6d5
      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"
      52f9a6d5
    • Jérome Perrin's avatar
      software/grafana: version up telegraf v1.21.2 · d42544bf
      Jérome Perrin authored
      One notable change since previous version is that a new sql input,
      that can be used to get metrics from sql queries.
      d42544bf
    • Jérome Perrin's avatar
      6308bc71
    • Jérome Perrin's avatar
      wip use my erp5 branch · 5bcea991
      Jérome Perrin authored
      5bcea991
    • Jérome Perrin's avatar
    • Aurel's avatar
      aurel patches squashed · 2264cf75
      Aurel authored
      build on zope4
      
      wip : patches
      
      update patches
      
      reactivatee some patches & egg and remove dep to old ZSQLMEthod
      
      fix zope patch
      
      add Sessions product
      
      reintroduce reStructuredText
      
      use ExternalEditor compatible with Zope4
      
      reinstroduce the config of _Z2PORT and _Z2HOST for testing
      
      fix patch ?
      
      add CMFDefault
      
      Revert "add CMFDefault"
      
      This reverts commit 3e3545ebd02fa188f4265301bbbf6b6b0f0dad9b.
      
      pin eggs version
      
      jerome: stop allowing version picking and pin versions
      2264cf75
  3. 18 Jan, 2022 1 commit
  4. 17 Jan, 2022 2 commits
  5. 14 Jan, 2022 3 commits
  6. 12 Jan, 2022 3 commits
  7. 11 Jan, 2022 2 commits
    • Julien Muchembled's avatar
      version up: CMake 3.22.1 · 35e4d094
      Julien Muchembled authored
      35e4d094
    • Jérome Perrin's avatar
      component/userhosts: use github.com/figiel/hosts for compatibility with recent libc · b1acdb0a
      Jérome Perrin authored
      In ubuntu 21.04 (libc6 2.33-0ubuntu5) or current debian testing
      (libc6 2.32-5) no longer use open to open /etc/hosts, but what appears
      as "openat" in strace output - but can not be replaced by defining an
      openat function.
      
      This uses https://github.com/figiel/hosts which uses another approach
      of replacing getaddrinfo, gethostbyname* and inet_aton.
      
      Users have been updated a bit, because there are some small differences:
       - the /etc/hosts replacement file is defined by HOSTS_FILE environment
         variable, not HOSTS
       - the library name is libuserhosts.so, not userhosts.so
      
      Other notable differences, for which we did not need code change are:
       - the new library also try to load a file when HOSTS_FILE is not set
       - the new library still use original /etc/hosts file
       - the new library supports aliases to hostnames, not only ip addresses
      b1acdb0a
  8. 07 Jan, 2022 1 commit
    • Jérome Perrin's avatar
      software/erp5/upgrade_test: backport new fixes in old software · e0262aaf
      Jérome Perrin authored
      on debian 11, old software does not compile with an error like:
      
          ERROR: ld.so: object '/srv/slapgrid/slappart47/t/dcm/i/0/tmp/shared/userhosts/e880bfd75804e2ec50f297b173a4ae9a__compile__/userhosts-1d3b463e7856db6e674a06258c0840206e6a7b72-1d3b463e7856db6e674a06258c0840206e6a7b72/userhosts' from LD_PRELOAD cannot be preloaded (cannot dynamically load position-independent executable): ignored.
      
      the fixes have been backported to a new 1.0.167.5 tag
      e0262aaf