1. 06 Nov, 2014 2 commits
    • Christos Stavrakakis's avatar
      Set required umask for snf-manage commands · 2b9213a6
      Christos Stavrakakis authored
      In order to communicate with Archipelago, Pithos backend needs to create
      named pipes (under '/var/run/shm/posixfd') that can be read/written by the
      group that Archipelago is running. This is achieved by using 'setgid' in the
      specified directory combined with a proper 'umask'. For Gunicorn workers, the
      umask is set by gunicorn-hooks. However, snf-manage commands did not set the
      needed umask which resulted in wrong permissions.
      
      This commits includes an ugly workaround to bypass this issue by setting
      the needed umask in 'SynnefoManagementUtility' for subcommands that are
      handling images, snapshots and files and for subcommands that define
      the 'umask' class attribute.
      2b9213a6
    • Christos Stavrakakis's avatar
      cyclades: Remove hard coded state · 6df3d40a
      Christos Stavrakakis authored
      6df3d40a
  2. 05 Nov, 2014 2 commits
  3. 04 Nov, 2014 1 commit
  4. 31 Oct, 2014 1 commit
  5. 23 Oct, 2014 1 commit
    • Stratos Psomadakis's avatar
      collectd: Read only the first line of the pid file · e30db96d
      Stratos Psomadakis authored
      Since qemu doesn't truncate the pid file when it opens / creates it,
      there's a chance that the pid file will contain more than one lines,
      with truncated older PIDs. Read only the first line of the pid file, to
      avoid an exception in the cpustats collectd plugin.
      e30db96d
  6. 21 Oct, 2014 2 commits
  7. 20 Oct, 2014 3 commits
  8. 17 Oct, 2014 2 commits
  9. 15 Oct, 2014 6 commits
  10. 14 Oct, 2014 14 commits
  11. 13 Oct, 2014 1 commit
  12. 12 Oct, 2014 1 commit
  13. 10 Oct, 2014 3 commits
  14. 08 Oct, 2014 1 commit
    • Christos Stavrakakis's avatar
      cyclades: Get Pithos objects by their UUID · b7ee9e3d
      Christos Stavrakakis authored
      Use the newly introduced 'get_object_by_uuid' method to get a Pithos
      object by its UUID, instead of mapping a UUID to a (account, container,
      name) tuple.
      
      Also, remove the '--user' and '--public' options from 'image-show' and
      'snapshot-show' management commands. Instead, use the
      'check_permissions' option to bypass Pithos permission check.
      
      Finally, fix plankton tests to mock the 'get_object_by_uuid' method.
      b7ee9e3d