Skip to content
Snippets Groups Projects
  1. Mar 28, 2011
  2. Mar 11, 2011
  3. Mar 10, 2011
  4. Mar 08, 2011
    • Michael Hanselmann's avatar
      cfgupgrade: Fix critical bug overwriting RAPI users file · 87c80992
      Michael Hanselmann authored
      
      The cfgupgrade tool was designed to be idempotent, that means it could
      be run several times and still give produce the correct result. Ganeti
      2.4 moved the file containing the RAPI users to a separate directory
      (…/lib/ganeti/rapi/users). If it exists, cfgupgrade would automatically
      move an existing file from …/lib/ganeti/rapi_users and replace it with a
      symlink.
      
      Unfortunately one of the checks for this was incorrect and, when run
      multiple times, replaces the users file at the new location with a
      symlink created during a previous run.
      
      In addition the “--dry-run” parameter to cfgupgrade was not respected.
      Unittests are updated for all these cases.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      87c80992
  5. Mar 02, 2011
  6. Feb 18, 2011
  7. Feb 17, 2011
  8. Feb 16, 2011
  9. Feb 14, 2011
  10. Feb 09, 2011
  11. Feb 04, 2011
  12. Feb 02, 2011
  13. Feb 01, 2011
  14. Jan 31, 2011
  15. Jan 27, 2011
  16. Jan 26, 2011
  17. Jan 20, 2011
  18. Jan 18, 2011
Loading