1. 27 Dec, 2018 2 commits
    • Jérome Perrin's avatar
      Implement Software Destruction in slapos proxy · f01afc72
      Jérome Perrin authored
      Slapos proxy was not really deleting the software, just removing it from its database but not telling the node that requester requested deletion.
      
      As a result, node was not destroying the software and leaving the software folder around.
      
      These changes are about telling the node that requester wanted destruction of software, so that node really delete the folder.
      
      /reviewed-on nexedi/slapos.core!76
      f01afc72
    • Jérome Perrin's avatar
      tests/slapproxy: give more time to slapproxy to start · a92ef82b
      Jérome Perrin authored
      Tests are sometimes failing with:
      
      ```
      ======================================================================
      FAIL: testForwardToMasterInList (slapos.tests.slapproxy.TestMultiMasterSupport)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/srv/slapgrid/slappart9/srv/testnode/byq/inst/test0-0/parts/slapos.core/slapos/tests/slapproxy/__init__.py", line 1003, in setUp
          self.startExternalProxy()
        File "/srv/slapgrid/slappart9/srv/testnode/byq/inst/test0-0/parts/slapos.core/slapos/tests/slapproxy/__init__.py", line 1050, in startExternalProxy
          self.fail('Could not start external proxy.')
      AssertionError: Could not start external proxy.
      
      ```
      
      especially on `COMP-2203-3Nodes-ERP5PROJECT2`. I logged on that machine and check the tests, it was really a problem that this slapproxy needs more than the `(20 * .1) = 2` seconds this tests waits before concluding that slap proxy could not start.
      
      Change the waiting loop to wait more each time. With this approach the max waiting time is 20 seconds.
      
      /reviewed-on nexedi/slapos.core!83
      a92ef82b
  2. 26 Dec, 2018 2 commits
  3. 21 Dec, 2018 2 commits
  4. 20 Dec, 2018 5 commits
  5. 17 Dec, 2018 6 commits
  6. 16 Dec, 2018 3 commits
  7. 14 Dec, 2018 5 commits
  8. 13 Dec, 2018 15 commits