1. 06 Nov, 2014 1 commit
    • Dimitris Aragiorgis's avatar
      deploy: Do not override default file of snf-image · c0364c49
      Dimitris Aragiorgis authored
      
      
      Up until now, snf-deploy used /etc/default/snf-image as a template with
      default snf-image settings commented. These settings were never
      updated and as a result they were different from the ones the package is
      shipped with. This patch, after package installation, moves original
      /etc/default/snf-image to snf-image.orig and then overwrites it with
      the template that includes only the settings that deploy wants to
      change.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      c0364c49
  2. 15 Oct, 2014 4 commits
    • Dimitris Aragiorgis's avatar
      deploy: chown -R root:archipelago /etc/synnefo · f73ca203
      Dimitris Aragiorgis authored
      
      
      Pithos and Cyclades components require ArchipSynnefo which makes
      gunicorn run as root:archipelago.
      
      Currently all snf-* packages install their conf files as
      root:www-data. Note that the g+s mode in /etc/synnefo does is not
      enough since debian uses mv and not copy to put the conf files in
      the proper dir.
      
      Thus we have to manually change the owner of conf files after
      package installation.
      
      Do this in GTools and Admin components too.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      f73ca203
    • Dimitris Aragiorgis's avatar
      deploy: Add archipelago user and group manually · cf165739
      Dimitris Aragiorgis authored
      
      
      In NFS and Mount components add archipelago user manually. For NFS
      permissions to work properly across all nodes, the group owner of
      the exported directory must exist on all nodes and have a common
      gid. Thus, prior adduser, we create archipelago group with high gid
      (200) to avoid conflicts.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      cf165739
    • 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. 29 Sep, 2014 1 commit
  5. 25 Sep, 2014 1 commit
  6. 15 Sep, 2014 1 commit
  7. 08 Sep, 2014 1 commit
  8. 01 Sep, 2014 1 commit
  9. 08 Jul, 2014 2 commits
  10. 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
  11. 30 May, 2014 8 commits
  12. 23 May, 2014 1 commit
  13. 22 May, 2014 2 commits
  14. 20 May, 2014 15 commits