1. 06 Nov, 2014 4 commits
  2. 15 Oct, 2014 2 commits
    • Dimitris Aragiorgis's avatar
      deploy: Remove pithos_dir references · 1df27925
      Dimitris Aragiorgis authored
      
      
      Since archipelago is the pithos backend, the NFS dir /srv/pithos
      is useless. Cleanup everything related to it.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      1df27925
    • Dimitris Aragiorgis's avatar
      deploy: Do not run archipelago as root · 3a9cca82
      Dimitris Aragiorgis authored
      
      
      Since 0.4~rc2, archipelago creates archipelago user and group
      upon package installation. In order not to run as root we
      have to:
      
       - chown and chmod /srv/archip dirs and file
       - let gunicorn run as www-data.archipelago
       - chown /etc/synnefo and /var/log/gunicorn
      
      Additionally archipelago introduces an new dir to store locks.
      Create this dir on the nfs node.
      
      NOTE: In case of a multinode setup using NFS as archipelago
      backend, the archipelago user must have a common group id across
      all nodes. Currently snf-deploy does not take that into account
      since it practically setups a single node installation.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      3a9cca82
  3. 14 Oct, 2014 1 commit
  4. 22 Sep, 2014 3 commits
  5. 16 Sep, 2014 1 commit
  6. 15 Sep, 2014 1 commit
  7. 10 Sep, 2014 1 commit
    • Dionysis Grigoropoulos's avatar
      deploy: Remove obsolete UI_MEDIA_URL setting · 76b2ea74
      Dionysis Grigoropoulos authored
      Deploy used to set UI_MEDIA_URL to point to the IP of the host
      instead of its FQDN, to work around issues with the Java-based VNC
      client and self-signed certificates. Synnefo v0.16 has obsoleted
      the Java VNC console, so we may safely remove this setting.
      76b2ea74
  8. 01 Sep, 2014 1 commit
  9. 14 Jul, 2014 1 commit
  10. 08 Jul, 2014 4 commits
  11. 02 Jun, 2014 1 commit
    • Dimitris Aragiorgis's avatar
      deploy: Add missing cyclades options for ext · c1282636
      Dimitris Aragiorgis authored
      
      
      The ext disk template needs some extra parameters that are defined
      in cyclades settings. Add those missing settings.
      
      Additionally remove any hardcoded references to /srv/ganeti since this
      is configurable.
      
      Change mails found in cyclades.conf to examples (e.g
      user@synnefo.org).
      
      Add shared-filer ext provider too (by installing ExtStorage
      component too).
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      c1282636
  12. 20 May, 2014 3 commits
  13. 02 May, 2014 1 commit
  14. 28 Apr, 2014 1 commit
  15. 14 Apr, 2014 1 commit
    • Vangelis Koukis's avatar
      Switch license to GPLv3 · 02071b96
      Vangelis Koukis authored
      According to the decision of the GRNET Board of Directors,
      switch license to GPLv3.
      
      This commit will be propagated to the release
      and master branches based on git flow, and the next
      release will be licensed as GPLv3.
      02071b96
  16. 03 Apr, 2014 1 commit
    • Chrysostomos Nanakos's avatar
      snf-deploy: Disable direct I/O in Archipelago · 98838c30
      Chrysostomos Nanakos authored
      When writing Pithos+ mapfiles with direct I/O enabled Archipelago takes
      care to use properly aligned and sized I/O based on the basic block unit,
      which is 512 bytes. The result is to pad the file with zeros and finally
      produce the wrong mapfile.
      98838c30
  17. 31 Mar, 2014 3 commits
  18. 29 Jan, 2014 4 commits
  19. 27 Jan, 2014 1 commit
  20. 20 Jan, 2014 1 commit
  21. 09 Jan, 2014 1 commit
  22. 08 Jan, 2014 1 commit
    • Dimitris Aragiorgis's avatar
      Huuuuge snf-deploy refactor · df284363
      Dimitris Aragiorgis authored
      
      
      Introduce the concept of Roles and Components.
      
      Roles are ns, mq, db, nfs, astakos, cyclades, pithos, cms, stats,
      ganeti, master, and client.
      
      Each role consists of various SynnefoComponents which  should define:
      
      * commands to check installation prerequisites (check)
      * packages to install (REQUIRED_PACKAGES)
      * commands to prepare installation (prepare)
      * configuration templates (configure)
      * reload commands (restart)
      * initialization commands (initialize)
      * test commands (test)
      
      SynnefoComponents are unaware of fabric environment. They
      get initialized with a Host object and a Env object.
      
      Host includes all the necessary info for the installation node
      (ip, hostname, alias, fqdn..) and Env includes all the configuration info
      (created after parsing config files)
      
      After defining components, fabfile should just do the following:
      
      @roles("somerole")
      def setup_somerole_role():
        SetupSynnefoRole("SomeRole")
      
      In case you want to run a component's specific method just run
      
      RunComponentMethod(SomeComponent, "method_name", *args, **kwargs)
      
      During a role setup you might have to retrieve info from other
      components already installed (user token, backend id, etc.) Use
      'execute' fabric method and fill env object with required info.
      
      Make deployment re-entrant.
      
      Check if specific component is already installed and if yes then skip it.
      
      Currently this is done on node/component level. The component's
      status on a target node is either ok or nothing.
      
      Introduce conflicting components.
      
      Two components might not be able/or should not coexist in the same
      node, e.g. NFS and Mount. These conflicts are defined in CONFLICTS
      dict in roles.py.
      
      Sync ci and deploy conf files.
      
      ci: Change node's password in nodes.conf
      
      Always enable CSRF. Install CMS only if it resides on different
      node than pithos, cyclades and astakos.
      
      Add copyright headers.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      df284363
  23. 18 Dec, 2013 1 commit
  24. 04 Dec, 2013 1 commit