1. 14 May, 2020 4 commits
    • Rafael Monnerat's avatar
      slapos_subscription_request: Refactor Subscription Request workflow · e95da4ac
      Rafael Monnerat authored
        Modifies the Workflows meaning for Support Request Workflow
      
          Draft: Reservation isn't Payed, Person is created
          Planned: Reservation is Payed, User is going to be Notified
          Ordered: First month isn't payed, Hosting Subscription is created
                   (started), user is notified about the payment to be done.
      
          Confirmed: Hosting Subscription is stopped until the payment
                     is done. Once it done, instance is started and
                     user is Notified.
      
          Started: User is available for this user.
      
          Stopped/Delivered aren't implemented.
      
        Nothing is implemented inside the workflow itself, alarms calls the
        scripts which changes the transitions once everything is ready to move
        foward.
      
        Allocation aoccur when if subscription request is in ordered state. We
        allocate earlier to reserve the space until the payment is done.
      e95da4ac
    • Rafael Monnerat's avatar
      slapos_subscription_request: Accelerate generation of the invoice · 549de9c2
      Rafael Monnerat authored
      Call the API rather them wait for the alarm hourly alarm. This might update simulation as soon as possible once the Hosting Subscription is created.
      549de9c2
    • Rafael Monnerat's avatar
      Fix page_slap_intent.js and add zh_html.html · cacfb8e0
      Rafael Monnerat authored
      See merge request !221
      cacfb8e0
    • Lu Xu's avatar
      slapos: fix page_slap_intent.js and add zh_html · 95e11701
      Lu Xu authored
      95e11701
  2. 12 May, 2020 4 commits
  3. 08 May, 2020 6 commits
    • Jérome Perrin's avatar
      Repair tests and other fixes · 34d7fb60
      Jérome Perrin authored
      revert accidentally pushed commit and fix test failures introduced by !192
      
      See merge request !216
      34d7fb60
    • Jérome Perrin's avatar
      grid/distribution: fix linter warnings · 11afbd15
      Jérome Perrin authored
      11afbd15
    • Jérome Perrin's avatar
      grid: Fix OS detection · c4902375
      Jérome Perrin authored
      fixup 31864c5c to make test pass
      c4902375
    • Jérome Perrin's avatar
      Revert "WIP log" · df0f1bd1
      Jérome Perrin authored
      This reverts commit 3160c589.
      
      pushed by mistake. This is unfinished but it was wrong because we copy
      this log file to snapshot directory before we are done writing to it.
      df0f1bd1
    • Jérome Perrin's avatar
      prune: tolerate all forms of broken slapos.cfg in instance · 7d0f70aa
      Jérome Perrin authored
      When we recurse in instance to find nested slapos that might be using
      parts from ourselves, we check all files named slapos.cfg but we may
      encounter some slapos.cfg that are not actual slapos config files, for
      example in testnodes we have a working copy of slapos repository which
      contains a stack/slapos.cfg which is completly different.
      
      This was breaking prune with an error like this:
      
          2020-04-29 20:07:28 slapos[2097] DEBUG Reading config at /srv/slapgrid/slappart9/srv/testnode/czp/slapos-repository/stack/slapos.cfg
          2020-04-29 20:07:28 slapos[2097] ERROR No section: 'slapos'
      
      See merge request !211
      7d0f70aa
    • Jérome Perrin's avatar
      collect: disable FolderSizeSnapshot for now · 2f726fab
      Jérome Perrin authored
      `FolderSizeSnapshot` is too slow and cause some "Database is locked" errors when running software instance tests.
      
      See merge request !206
      2f726fab
  4. 07 May, 2020 2 commits
  5. 06 May, 2020 2 commits
  6. 05 May, 2020 4 commits
  7. 04 May, 2020 2 commits
  8. 01 May, 2020 1 commit
  9. 30 Apr, 2020 4 commits
  10. 29 Apr, 2020 6 commits
  11. 28 Apr, 2020 3 commits
  12. 27 Apr, 2020 2 commits
    • Jérome Perrin's avatar
      testing/testcase: ignore gfortran.so in ldd check · 8a3c8aa3
      Jérome Perrin authored
      the rpath we set in LDFLAGS is not honored here, but we can ignore this
      as rpath is needed on executables and not important on shared objects.
      
      libgfortran.so is a shared object that happens to be executable, so it
      appears in our ldd check, but we are not executing it directly so it
      should be OK.
      8a3c8aa3
    • Jérome Perrin's avatar
      prune: prune dependencies recursively · 9ee14cb4
      Jérome Perrin authored
      prune was not recursive when checking dependencies, for example when we
      have for example a shared part for openssl that is used only by a shared
      part for curl that is not used, we had to run prune twice, the first
      iteration would remove curl and only the second iteration would see that
      openssl is not used.
      
      This prune in a loop until nothing is pruned by the last iteration. To
      support dry-run, we added a ignored_shared_parts parameter to ignore the
      parts that are supposed to be deleted.
      
      See merge request !205
      9ee14cb4