1. 15 Sep, 2015 2 commits
    • WIP: Make admin node a web-app · 10d8f0ce
      The goal is to get rid off the neoctl command-line tool, and to manage the
      cluster via a web browser, or tools like 'wget'. Then, it will be possible to
      provide an web user interface to connect to the underlying DB of any storage
      node, usually a SQL client.
      
      The design of admin app is finished:
      - it's threaded like client's
      - it's a WSGI app
      
      I also hacked a HTTP API as quickly as possible to make all tests pass.
      
      TODO:
      - define a better HTTP API
      - there's no UI at all yet
      - remove all unused packets from the protocol (those that were only used
        between neoctl and admin node)
      
      There's currently no UI implemented.
      
      There are a few dead files (not deleted yet) in case that they contain a few
      pieces of useful code:
       neo/neoctl/app.py
       neo/neoctl/handler.py
       neo/scripts/neoctl.py
      Julien Muchembled committed
    • Simplify polling thread in threaded apps · 3e1ed6a4
      It's been a long time that the polling thread never ends and don't need to be
      restarted. On the other side, there will be a need for the admin to define a
      different polling loop, hence the move from threaded_poll to threaded_app.
      Julien Muchembled committed
  2. 14 Aug, 2015 2 commits
  3. 12 Aug, 2015 7 commits
  4. 24 Jun, 2015 2 commits
  5. 21 May, 2015 1 commit
  6. 07 Jan, 2014 1 commit
  7. 17 Dec, 2013 1 commit
  8. 08 Nov, 2013 2 commits
  9. 12 Aug, 2012 1 commit
    • master: check backup master behaves properly when upstream master is unreachable · f49bf829
      This fixes the following assertion failure:
      
      PACKET #0x021d Ping                           > M1 (10.0.114.64:14001)
      INFO   timeout for #0x0000021d with <ClientConnection(uuid=M1, address=10.0.114.64:14001, closed=0, handler=BackupHandler) at 2955590>
      DEBUG  connection closed for <ClientConnection(uuid=M1, address=10.0.114.64:14001, closed=1, handler=BackupHandler) at 2955590>
      ERROR  upstream master is down: connection lost
      ERROR  Pre-mortem data:
      ERROR  Traceback (most recent call last):
      ERROR    File "neo/master/app.py", line 134, in run
      ERROR      self._run()
      ERROR    File "neo/master/app.py", line 154, in _run
      ERROR      self.playPrimaryRole()
      ERROR    File "neo/master/app.py", line 344, in playPrimaryRole
      ERROR      self.backup_app.provideService()
      ERROR    File "neo/master/backup_app.py", line 129, in provideService
      ERROR      conn.close()
      ERROR    File "neo/lib/connection.py", line 541, in close
      ERROR      assert not self.isPending()
      ERROR  AssertionError
      Julien Muchembled committed
  10. 08 Aug, 2012 1 commit
  11. 18 Jul, 2012 1 commit
  12. 13 Jul, 2012 1 commit
  13. 21 Mar, 2012 1 commit
  14. 20 Mar, 2012 3 commits
  15. 15 Mar, 2012 1 commit
  16. 14 Mar, 2012 1 commit
  17. 13 Mar, 2012 1 commit
  18. 01 Mar, 2012 2 commits
  19. 29 Feb, 2012 3 commits
  20. 20 Feb, 2012 2 commits
  21. 15 Feb, 2012 2 commits
  22. 14 Feb, 2012 1 commit
  23. 17 Jan, 2012 1 commit