Skip to content
Snippets Groups Projects
  1. Oct 15, 2010
  2. Oct 13, 2010
    • Michael Hanselmann's avatar
      ganeti-rapi: Watch directory, not file for user file changes · 073c31a5
      Michael Hanselmann authored
      
      We noticed several issues when just watching the file, among them race
      conditions upon replacing the file using rename(2) (the new watcher
      would be created too soon). By just watching the directory for events on
      the rapi_users file, this can be avoided.
      
      A nice side-effect is that now the users file is also reloaded if it
      didn't exist upon ganeti-rapi's start (see the documentation update).
      
      Since ganeti-rapi now becomes active for virtually every change in the
      configuration directory (…/lib/ganeti), moving the rapi_users file to a
      separate directory will be considered. It doesn't have to happen in or
      before this patch, though.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      073c31a5
  3. Oct 05, 2010
  4. Sep 30, 2010
  5. Sep 24, 2010
  6. Sep 13, 2010
  7. Sep 07, 2010
  8. Aug 26, 2010
  9. Aug 25, 2010
  10. Aug 24, 2010
  11. Aug 20, 2010
  12. Aug 18, 2010
  13. Aug 17, 2010
  14. Aug 10, 2010
  15. Jul 29, 2010
  16. Jul 28, 2010
  17. Jul 21, 2010
  18. Jul 12, 2010
  19. Jul 01, 2010
  20. Jun 30, 2010
  21. Jun 23, 2010
  22. Jun 14, 2010
  23. Jun 09, 2010
  24. Jun 02, 2010
  25. Jun 01, 2010
Loading