1. 01 Sep, 2014 1 commit
    • Buildbot's avatar
      cyclades: Add GANETI_DISKS_WAIT_FOR_SYNC option · d70e2040
      Buildbot authored
      Add new setting to denote whether Ganeti will wait for the disk mirror to
      sync (DRBD). This setting is used when creating a new instance or adding
      a new disk to an existing Ganeti instance.
      d70e2040
  2. 29 Aug, 2014 1 commit
    • Sofia Papagiannaki's avatar
      plankton: Handle limit exceptions. · 19a4651b
      Sofia Papagiannaki authored
      Pithos backend enforces limits on the number of the resource metadata.
      If these limits are exceeded a LimitExceeded exception is raised.
      Plankton should catch these exceptions and fail with BADREQUEST (400).
      19a4651b
  3. 14 Jul, 2014 2 commits
  4. 08 Jul, 2014 2 commits
  5. 03 Jul, 2014 1 commit
  6. 02 Jul, 2014 1 commit
    • Kostas Papadimitriou's avatar
      ui: UI improvements · fb998b14
      Kostas Papadimitriou authored
      - New setting ``UI_SNAPSHOTS_ENABLED`` added, The setting can be
        used to disable/enable snapshot specific actions/views in UI.
      - Common font style in resource item list item views
      - Use input tag to display FQDN/vm password info to ease double click
        mouse selection.
      - Imrpoved form validator error styles. Style input field border.
      - Five step volume create wizard.
      - Several wording fixes.
      - Display project name under resource name in list resource views.
      - Enrich volume/ip status. Include vm status to improve resource
        status comprehension.
      - Common style for project select views (use select2 widget for
        enhanced option styling).
      - Other minor fixes/improvements
      fb998b14
  7. 27 Jun, 2014 1 commit
  8. 26 Jun, 2014 2 commits
    • Christos Stavrakakis's avatar
      cyclades: Add option to disable snapshots API · 45c605f8
      Christos Stavrakakis authored
      Add 'CYCLADES_SNAPSHOTS_ENABLED' setting to denote whether Cyclades
      will expose the '/snapshots' API URL of the 'volume' app.
      In case this setting is set to False:
      * we disable the '/snapshots' API URL
      * return 501 if the 'source_snapshot_id' attribute is used in a request
        for a new volume
      * Remove 'snapshot' from the supported sources of a new volume in the
        create server request
      
      Note: Creation and handling of snapshots can still be performed via
      'snf-manage' commands. The setting affects only the exposed API.
      45c605f8
    • Christos Stavrakakis's avatar
      cyclades: Add setting for maximum volume size · 420f3d4a
      Christos Stavrakakis authored
      Add 'CYCLADES_VOLUME_MAX_SIZE' setting to denote the maximum allowed
      size for a Cyclades volume.
      420f3d4a
  9. 09 Apr, 2014 1 commit
  10. 31 Mar, 2014 1 commit
  11. 10 Jan, 2014 1 commit
  12. 08 Jan, 2014 2 commits
  13. 12 Dec, 2013 1 commit
  14. 10 Dec, 2013 3 commits
    • Christos Stavrakakis's avatar
      cyclades: Add setting for Ganeti clone providers · af7fe40b
      Christos Stavrakakis authored
      Add new 'GANETI_CLONE_PROVIDERS' setting to containg the list of
      ExtStorage providers that support cloning. For these providers the
      hashmap of the image is passed as an ExtStorage parameter('origin').
      Also, since the disk is already filled with data, snf-image performs
      only customization and no data copying.
      af7fe40b
    • Christos Stavrakakis's avatar
      cyclades: Pass arbitrary params to ext providers · 77b7f1ae
      Christos Stavrakakis authored
      Add 'GANETI_DISK_PROVIDER_KWARGS' setting, which contains a dictionary
      of arbitrary parameters for each of Ganeti's ExtStorage providers and
      which will be passed to the 'disks' option of CreateInstance Ganeti job.
      77b7f1ae
    • Christos Stavrakakis's avatar
      cyclades: Setting for max NICs per Ganeti instance · 38730188
      Christos Stavrakakis authored
      Add new 'GANETI_MAX_NICS_PER_INSTANCE' setting which represents the
      maximum number of NICs that is allowed for each Ganeti instance. The
      value of this setting must be less than 'max:nic-count` option of
      Ganeti's ipolicy.
      38730188
  15. 09 Dec, 2013 1 commit
  16. 04 Dec, 2013 2 commits
  17. 02 Dec, 2013 2 commits
  18. 29 Nov, 2013 1 commit
  19. 28 Nov, 2013 1 commit
  20. 27 Nov, 2013 1 commit
    • Christos Stavrakakis's avatar
      cyclades: Change behaviour of servers fqdn · ddaf8b1d
      Christos Stavrakakis authored
      Change behaviour of 'CYCLADES_SERVERS_FQDN' setting:
        * If this setting is set to 'None', do not fall back to the public IP
          address of the machine.
        * Return the value of the setting even if the machine has no public
          IP address.
      ddaf8b1d
  21. 21 Nov, 2013 2 commits
    • Kostas Papadimitriou's avatar
      ui: Remove UI_VM_HOSTNAME_FORMAT setting · f00910dd
      Kostas Papadimitriou authored
      no longer needed since compute api responses contain the fqdn vm attribute.
      
      Setting ``UI_NO_FQDN_MESSAGE`` setting added. Setting value will be displayed
      when fqdn vm attribute is empty.
      f00910dd
    • Christos Stavrakakis's avatar
      cyclades: Export Cyclades detailed stats from API · 2566bfd7
      Christos Stavrakakis authored
      Add '/admin/stats/detail' API endpoint to export basic statistics about
      Cyclades. Access to this view is only allowed to the users that belong
      to specific Astakos groups, as specified in the new setting
      'ADMIN_STATS_PERMITTED_GROUPS.' Also, added the new 'user_in_groups' API
      view decorator to snf_django that can be used for such checks.
      2566bfd7
  22. 11 Nov, 2013 1 commit
    • Christos Stavrakakis's avatar
      cyclades: Retry failed instance creation · 4e3b9527
      Christos Stavrakakis authored
      Handle special case where an OP_INSTANCE_CREATE job which uses the
      opportunistic locking feature fails. This failure is probably due to the
      fact that all nodes may be already locked. In this case, make
      snf-dispatcher retry the failed job with opportunistic locking turned
      off. Also, make snf-ganeti-eventd include in the message the input of
      the failed job.
      
      Finally, add setting 'GANETI_USE_OPPORTUNISTIC_LOCKING' to turn on/off
      the use of opportunistic locking feature.
      4e3b9527
  23. 05 Nov, 2013 1 commit
    • Christos Stavrakakis's avatar
      cyclades: Fix default/forced server networking · 056eee6c
      Christos Stavrakakis authored
      Fix the default behaviour for networking of servers that are being
      created. There are two settings controlling this behaviour:
      
      * CYCLADES_DEFAULT_SERVER_NETWORKS: This setting contains list of
        networks to connect a newly created server to, if the user has not
        specified them explicitly in the POST /server API call. Each member of
        the list may be a network UUID, a tuple of network UUIDs,
        "SNF:ANY_PUBLIC_IPV4" [any public network with an IPv4 subnet
        defined], "SNF:ANY_PUBLIC_IPV6 [any public network with only an IPV6 subnet
        defined],  or "SNF:ANY_PUBLIC" [any public network].
      
        Access control and quota policy are enforced, just as if the user had
        specified the value of CYCLADES_DEFAULT_SERVER_NETWORKS in the content
        of the POST /call, after processing of "SNF:*" directives.
      
        Default value: ["SNF:ANY_PUBLIC"]
      
      * CYCLADES_FORCED_SERVER_NETWORKS: This setting contains a list of
        networks which every new server will be forced to connect to,
        regardless of the contents of the POST /servers call, or the value of
        CYCLADES_DEFAULT_SERVER_NETWORKS.  Its format is identical to that of
        CYCLADES_DEFAULT_SERVER_NETWORKS.
      
       No access control or quota policy are enforced.  The server will get
       all IPv4/IPv6 addresses needed to connect to the networks specified in
       CYCLADES_FORCED_SERVER_NETWORKS, regardless of the state of the
       floating IP pool of the user, and without allocating any floating IPs.
      
       Default value: ["SNF:ANY_PUBLIC_IPV6"]
      
      Also this commit changes how API handles requests that specify a public
      network without specifying a floating IP address: If the request does
      not contain the 'fixed_ip' attribute, the server will try to
      automatically use one of the free floating IP addresses of the user
      that are allocated from the specified network.
      056eee6c
  24. 29 Oct, 2013 2 commits
  25. 09 Oct, 2013 1 commit
  26. 01 Oct, 2013 1 commit
    • Christos Stavrakakis's avatar
      Allocate VMs based on enabled disk-templates · 3bf3920a
      Christos Stavrakakis authored
      Remove the ARCHIPELAGO_BACKENDS setting. Instead allocate VMs based on
      the disk-templates that are enabled and allowed in ipolicy for each
      backend. The command 'snf-manage backend-update-status' can be used to
      update the list of enabled disk templates for each backend.
      3bf3920a
  27. 07 Aug, 2013 2 commits
    • Christos Stavrakakis's avatar
      cyclades: extend VM info with 'port_forwarding' · 05d32a11
      Christos Stavrakakis authored
      Extend servers info API response with 'SNF:port_forwarding' attribute,
      describing port fowarding rules (DNAT) that are applied to vms. The
      description of such rules is done via the new CYCLADES_PORT_FORWARDING
      setting. This setting can be either a dictionary mapping to ports to
      tuples of (host, port), or a callable object that must return such a
      tuple.   The caller will pass to the callable the following positional
      arguments, in the following order:
      * server_id: The ID of the VM in the DB
      * ip_address: The IPv4 address of the public VM NIC
      * fqdn: The FQDN of the VM
      * user: The UUID of the owner of the VM
      05d32a11
    • Christos Stavrakakis's avatar
      cyclades: Extend servers info with fqdn attribute · 22948bca
      Christos Stavrakakis authored
      Extend the servers info API response with the 'SNF:fqdn' attribute,
      containg the vm's domain name in a DNS. This attribue is configurable by
      the 'CYCLADES_SERVERS_FQDN' setting. If this setting is set to None,
      then then the first public IPv4 or IPv6 address is returned.
      22948bca
  28. 24 Jul, 2013 1 commit
    • Christos Stavrakakis's avatar
      cyclades: Set firewall profile per NIC · b35254cf
      Christos Stavrakakis authored
      Set firewall profile per NIC, because since Floating IPs an instance can
      have more than one NICs in a public network. Extend the API call to take
      the NIC index as argument, and modify the Ganeti instance tags to be
      formated with the NIC index.
      b35254cf
  29. 16 Jul, 2013 1 commit