Skip to content
Snippets Groups Projects
  1. Jan 10, 2011
  2. Jan 07, 2011
  3. Jan 06, 2011
  4. Jan 05, 2011
  5. Dec 15, 2010
  6. Dec 13, 2010
  7. Dec 10, 2010
  8. Dec 08, 2010
  9. Dec 01, 2010
  10. Nov 29, 2010
  11. Nov 25, 2010
  12. Nov 23, 2010
  13. Nov 19, 2010
  14. Nov 15, 2010
  15. Nov 12, 2010
  16. Nov 04, 2010
  17. Oct 29, 2010
  18. Oct 28, 2010
  19. Oct 27, 2010
  20. Oct 26, 2010
  21. Oct 15, 2010
  22. 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
  23. Oct 05, 2010
Loading