1. 10 Jan, 2014 2 commits
  2. 09 Dec, 2013 1 commit
  3. 06 Dec, 2013 2 commits
  4. 29 Nov, 2013 1 commit
  5. 28 Nov, 2013 1 commit
  6. 15 Nov, 2013 3 commits
  7. 29 Oct, 2013 3 commits
  8. 10 Oct, 2013 1 commit
  9. 01 Oct, 2013 2 commits
  10. 27 Sep, 2013 2 commits
  11. 24 Sep, 2013 1 commit
  12. 18 Sep, 2013 1 commit
  13. 17 Sep, 2013 1 commit
  14. 09 Jul, 2013 1 commit
  15. 02 Jul, 2013 1 commit
    • Christos Stavrakakis's avatar
      cyclades: Major refactor to api and logic apps · d15f509c
      Christos Stavrakakis authored
      Major refactor to cyclades api and logic apps that removes most code
      from the api views and moves it to logic app, so that the same logic
      code can be used by different apps (e.g. EC2 API). Code is moved into
      This commit also introduces the VirtualMachine.task attribute
      which contains the last issued action to a server. This attribute is set
      when the corresponding job is sent to Ganeti, and is cleared upon
      completion of the corresponding job (task_job_id attribute). Until the
      task is completed, no other action is allowed on the VM. The only
      exception is 'DESTROY' action which is always allowed. Actions on VMs
      with uncompleted tasks results in a bad request fault.  Also, some
      actions are not allowed if the operating state of the VM is not correct.
      For example, it is not allowed to start or resize a running VM.  The
      running task is also exposed to the API (SNF:task_state), and the
      available states are:
      * BUILDING
      * STARTING
      * STOPPING
      * RESIZING
      Also, this commit introduces two quotable resources, the 'active_ram'
      and 'active_cpu' representing the ram and cpu of running instances,
      specifically the instances in 'STARTED', 'BUILD' and 'ERROR' operstate.
      In order to count quotas for these resources, commissioning is needed
      when starting, stopping and rebooting instances. Also, the destroy
      commissioning is different if the vm is running or is stopped.
      Finally this commit changes the way commissioning is used in
      snf-dispatcher. Until now dispatcher only accepted or rejected
      commissions issued by the API. This commit introduces extra logic in
      dispatcher, to issue commissions for every quotable change, if a
      commission for this change has not already been issued by the API. This
      enables the administrator to do whatever action in the Ganeti backend
      without resulting in unsynced quotas. If a new commission is required,
      the previous commission for the VM by the API (if existing) will be
      rejected, since this commission will reflect a different change in the
  16. 18 Jun, 2013 1 commit
  17. 14 Jun, 2013 2 commits
  18. 03 Jun, 2013 1 commit
    • Georgios D. Tsoukalas's avatar
      make synnefo URLs consistent and configurable · 79f2ca3b
      Georgios D. Tsoukalas authored
      |___________________________________| |__________| |________| |_______|
                   BASE_HOST                  BASE_PATH    PREFIX    Hardcoded
      - Introduce <SERVICE>_BASE_URL setting, and <API>_PREFIX constants
        for all services. Extract BASE_HOST, BASE_PATH from the setting.
      - Use settings and constants to construct top-level patterns
        (base-path/api-prefix) in services' urls.py
      - Refactor/extend proxy() to be compatible with the above.
      - Change URLs passed around (ui, e-mails) to be compatible.
        (needs more work)
      This configuration REQUIRES that any rewriting and proxying on the
      front-end must eventually result in the application server (gunicorn)
      getting the original path of the request, otherwise the view-generated
      URLs will be different.
      - set top-level urlpatterns from <SERVICE>_BASE_URL
      - rename setting: APP_INSTALL_URL to CYCLADES_BASE_URL
      - rename setting: ASTAKOS_URL to ASTAKOS_BASE_URL everywhere
      - introduce setting: PITHOS_BASE_URL
      - update shipped .confs, quick install admin guide, upgrade guide
      - fix urls/views/reverse()/other that were broken
      - (more not listed)
  19. 27 May, 2013 1 commit
  20. 21 May, 2013 1 commit
  21. 16 May, 2013 1 commit
  22. 09 May, 2013 1 commit
  23. 30 Apr, 2013 1 commit
  24. 08 Apr, 2013 1 commit
  25. 02 Apr, 2013 1 commit
    • Kostas Papadimitriou's avatar
      Allow helpdesk users to shutdown/start vms · 7c3e721f
      Kostas Papadimitriou authored
      Include an additional action to helpdesk view. Based on the current
      status of the virtual machine helpdesk user is allowed to start it or
      shut it down.
      This comes handy since in most cases vm suspension needs to be
      followed up with some kind of network cut off of the corresponding
      machine. Since no such option is currently available from the
      software, machine shutdown is provided as an alternative.
  26. 26 Mar, 2013 2 commits
  27. 20 Mar, 2013 3 commits
  28. 05 Mar, 2013 1 commit
    • Kostas Papadimitriou's avatar
      Helpdesk app fixes · bdcea810
      Kostas Papadimitriou authored
      - Do not use autocomplete feature (usernames are now stored in astakos
      - Translate provided username to retrieve user uuid
      - UI: Display network operstate in as badge. Hide deleted vms in nics