1. 29 Oct, 2013 1 commit
    • Ilias Tsitsimpis's avatar
      snf-cyclades-app: Use the new AstakosClient · 625bd291
      Ilias Tsitsimpis authored
      Change AstakosClient to use ASTAKOS_AUTH_URL as entry point to the
      Astakos service, instead of ASTAKOS_BASE_URL it was using until now.
      Remove ASTAKOS_BASE_URL from Cyclades settings, replace it with
      ASTAKOS_AUTH_URL. Modify Cyclades to determine ASTAKOS_ACCOUNT_URL and
      ASTAKOS_UI_URL with calls to astakosclient.
  2. 18 Sep, 2013 1 commit
  3. 17 Sep, 2013 1 commit
  4. 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
  5. 18 Jun, 2013 1 commit
  6. 14 Jun, 2013 2 commits
  7. 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)
  8. 27 May, 2013 1 commit
  9. 09 May, 2013 1 commit
  10. 30 Apr, 2013 1 commit
  11. 08 Apr, 2013 1 commit
  12. 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.
  13. 26 Mar, 2013 1 commit
  14. 20 Mar, 2013 2 commits
  15. 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
  16. 31 Oct, 2012 1 commit
  17. 09 Aug, 2012 1 commit
    • Kostas Papadimitriou's avatar
      Helpdesk application improvements · 0f0faad3
      Kostas Papadimitriou authored
      - Additional setting HELPDESK_ENABLED to be able to enable/disable
        helpdesk views.
      - Fix fixtures to play along with new network models
      - Include helpdesk default settings module
  18. 01 Aug, 2012 1 commit
    • Kostas Papadimitriou's avatar
      Support ip to account lookup · c5a90748
      Kostas Papadimitriou authored
      as an alternative method to helpdesk details view. If network interface
      exists with the passed ip, the details of the owner of the machine linked to
      the network interface will be displayed.
  19. 06 Jul, 2012 1 commit
    • Olga Brani's avatar
      Helpdesk improvements · 0c361f06
      Olga Brani authored
      - Display vm os
      - DIsplay network connected vms
      - Short view of user info
      - Other minor styling improvements
  20. 26 Jun, 2012 1 commit
  21. 25 Jun, 2012 1 commit
    • Kostas Papadimitriou's avatar
      Helpdesk improvements · 476af05e
      Kostas Papadimitriou authored
      - New json view to return a list of existing users with a prefix ending
        with "@" to be used for autocompletion in helpdesk account name input.
      - Proper non existing account handling. If no vms or private networks exist
        for the specified account notify helpdesk user that the account
        doesn't seem to exist instead of displaying empty lists of vms/nets.
  22. 13 Jun, 2012 2 commits
  23. 18 May, 2012 2 commits